r/homeautomation • u/matt4542 • 12h ago
HOME ASSISTANT Melodious: offline framework for Logitech Harmony hubs + remotes, with two-way Home Assistant device control and no Logitech cloud
Logitech stopped making Harmony remotes in 2021, but a stock Harmony Hub still needs Logitech's app and cloud to change anything. I've been building Melodious (with tons of community help, thanks r/logitechharmony) to fix that. It runs on the hub itself, next to Logitech's firmware, and takes over what the cloud did: devices, activities, remote setup and syncing. Your existing setup stays as it is, managed locally.
For home automation, the useful part is that the hub and Home Assistant work in both directions.
Your IR gear becomes part of Home Assistant. An old amp or soundbar that only takes IR shows up in Home Assistant as a power switch, an input selector and command buttons. You can put it in automations ("when I unlock the front door, turn on the amp and switch it to the turntable"), on dashboards, or control it by voice through Home Assistant's Alexa or Google setup.
Your Harmony remote controls Home Assistant. Lights, networked TVs, Chromecast devices, etc, any entity, in Home Assistant can sync onto the Harmony to be used activities and assigned to remote buttons. One press of Watch TV can turn the TV on over the network, turn on the soundbar over IR, switch inputs, and dim the lights, and lock your front door through Home Assistant. The Home Control buttons on the Companion, 950 and Elite can run lights or scenes directly.
It doesn't depend on anyone's cloud. Everything runs on the hub and your network, so it keeps working if Logitech's servers go away. You can set up a factory reset or used hub from scratch with the desktop app, without a Logitech account. If you'd rather not rely on the hub's Wi-Fi, it can run on wired Ethernet through a USB adapter (experimental).
Screenshots below: the setup wizard, and Home Assistant devices on the hub.


It's free. Latest release and docs: https://github.com/schlambos/harmony-hub-control/releases/latest
Home Assistant integration (add as a custom repository in HACS): https://github.com/schlambos/ha-melodious
Happy to answer questions here, and bug reports are welcome on GitHub issues.

