r/logitechharmony • u/SDNick484 • 7d ago
Open Source Tool to Export Your Harmony Hub Setup to a Readable Worksheet (local, no Logitech cloud)
Open Source Tool to Export Your Harmony Hub Setup to a Readable Worksheet (local, no Logitech cloud)
With Logitech recently dropping support of some older Harmony models, I wanted a readable record of my activities in case one needs to quickly migrate to another remote platformer. So I wrote a small open source tool that reads the setup straight from the hub over your LAN (no cloud or Home Assistant required) and writes it to files.
For each hub you get a Markdown worksheet listing:
-
every device, with manufacturer and model
-
each activity, with the expected power state and input for each device (where the hub records it)
-
which device gets volume, transport, numbers, and the other button groups
-
every device's command names
plus the raw config as JSON with your account identifiers removed. It's a record to rebuild from on a Sofabaton, Unfolded Circle, or Home Assistant. It is not a backup, because the hub only exposes command names, not IR codes.
With uv installed, one command does it:
uvx mcp-server-harmony export --host <hub-ip> --dir \\\~/harmony-export
No AI is involved in that step above. The same package is also an MCP server, so if you use Claude, Codex, etc. it can start activities, press buttons, and set sleep timers across several hubs, and it asks which room instead of guessing.
Status: alpha. I've tested it on two hubs running firmware 4.15.600, and I built it with a lot of help from Claude Code. I'd love to hear how it does on other hubs and firmware versions. \`mcp-server-harmony doctor\` checks each layer and is the thing to run if something fails. I intend to convert one of my hubs to a modified firmware soon and potentially add additional features above what the remote can do natively.
GitHub: https://github.com/SDNick484/mcp-server-harmony