Migration from t0bst4r to RiDDiX Fork
This guide explains how to migrate from the original t0bst4r/home-assistant-matter-hub to the riddix/home-assistant-matter-hub fork without losing your Matter fabric connections.
warning
The storage format is fully compatible between both versions. Your Matter fabric data (connections to Apple Home, Google Home, Alexa, etc.) will be preserved.
Prerequisites
- Backup your current configuration before starting
- Note your current bridge settings (port, filters, etc.)
Migration Methods
Method 1: Home Assistant Add-on (Recommended)
Step 1: Backup Storage Data
- Access your Home Assistant via SSH or Terminal
- Copy the storage directory:
cp -r /addon_configs/*_hamh /config/hamh-backup
# Verify the backup was copied correctly
ls /config/hamh-backup
Step 2: Uninstall Old Add-on
- Go to Settings → Add-ons → Home Assistant Matter Hub
- Click Uninstall
- Make sure the old folder is removed:
rm -rf /addon_configs/*_hamh
Step 3: Add RiDDiX Repository
- Go to Settings → Add-ons → Add-on Store
- Click the three dots (⋮) → Repositories
- Add:
https://github.com/riddix/home-assistant-addons - Click Add → Close
Step 4: Install New Add-on
- Find Home-Assistant-Matter-Hub in the store (by RiDDiX)
- Click Install
- Start the add-on once to create the new data folder, then stop it
- Clear the new folder and restore the backup:
rm -rf /addon_configs/*_hamh/*
cp -r /config/hamh-backup/* /addon_configs/*_hamh/
Step 5: Configure and Start
- Copy your previous configuration settings
- Start the add-on
- Your Matter fabrics should reconnect automatically
Method 2: Docker
Step 1: Stop Current Container
docker stop home-assistant-matter-hub
Step 2: Backup Storage
# Default location
cp -r ~/.home-assistant-matter-hub ~/.home-assistant-matter-hub-backup
# Or your custom storage location
cp -r /path/to/storage /path/to/storage-backup
Step 3: Update Container Image
# Remove old container (keeps volumes)
docker rm home-assistant-matter-hub
# Pull new image
docker pull ghcr.io/riddix/home-assistant-matter-hub:latest
# Start with same configuration
docker run -d \
--name home-assistant-matter-hub \
--network host \
-v ~/.home-assistant-matter-hub:/data \
-e HAMH_HOME_ASSISTANT_URL="http://homeassistant.local:8123" \
-e HAMH_HOME_ASSISTANT_ACCESS_TOKEN="your-token" \
ghcr.io/riddix/home-assistant-matter-hub:latest
Step 4: Verify
Your Matter connections should work immediately without recommissioning.
Method 3: Docker Compose
Step 1: Update docker-compose.yml
Change the image from:
image: ghcr.io/t0bst4r/home-assistant-matter-hub:latest
To:
image: ghcr.io/riddix/home-assistant-matter-hub:latest
Step 2: Restart
docker compose down
docker compose pull
docker compose up -d
Troubleshooting
Fabrics Not Reconnecting
If your Matter controllers don't reconnect:
- Wait 2-3 minutes - Matter devices may need time to re-establish connections
- Check logs for errors:
# Add-on
ha addon logs hamh
# Docker
docker logs home-assistant-matter-hub - Restart your Matter controller (Apple Home, Google Home app, etc.)
Storage Permission Issues
If you see permission errors:
# Fix permissions (adjust path as needed)
sudo chown -R $(whoami):$(whoami) ~/.home-assistant-matter-hub
Configuration Differences
The RiDDiX fork is fully backwards-compatible with t0bst4r configuration. New features (like --json-logs) are optional.
What's Different in the RiDDiX Fork?
| Feature | t0bst4r | RiDDiX |
|---|---|---|
| Pressure Sensor | ❌ | ✅ |
| Flow Sensor | ❌ | ✅ |
| Air Quality Sensor | ❌ | ✅ |
| Valve Support | ❌ | ✅ |
| Alarm Control Panel | ❌ | ✅ |
| Structured JSON Logging | ❌ | ✅ |
| Improved UI | ❌ | ✅ |
See the README for the full changelog.
Rollback
If you need to rollback to t0bst4r:
- Stop the RiDDiX version
- Restore your backup
- Reinstall the original add-on/container
- Your fabrics should still work (storage format is identical)