r/logitechharmony • u/matt4542 • 26d ago
Melodious 2.0: remote pairing, Android TV control, and two-way Home Assistant
Back again. Previous posts here and here if you missed them. 2.0 is a big one so I'll just get into it.
Remote pairing without the cloud. You can now pair Smart Control, Companion, and Elite remotes directly from the hub's web UI. Each remote gets its own section, keys stay in sync across remotes by default, and you can override individual keys per remote if you want. Companion remote support came from a bug report and testing by @sumps71.
Android TV / Google TV control over the network. Pair with and control Android/Google TV sets using the Android TV Remote v2 protocol. Power, D-pad, volume, inputs, all of it. Shows up as a regular device on the hub, put it in activities, assign buttons, whatever. No more relying on Bluetooth for Android TV boxes or TVs with Android TV built in like Hisense. Credit to @apnar for this one.
Two-way Home Assistant. This was the big focus and it basically turns the hub into a bridge device in your smart home.
The hub and Home Assistant now sync devices in both directions. Any device HA can control, the hub can control. Any device the hub can control, HA can control. So what does that actually mean?
Say you have an LG TV that the Harmony only controls over IR. Home Assistant can control that TV over LAN natively. Pull that HA device into the hub and now your Harmony remote controls the TV over LAN. No more line-of-sight IR.
Going the other way, say you have an IR soundbar or an old hifi amp from 2010. The hub can control those over IR no problem, but Home Assistant has no way to talk to them. The hub now ships those devices into HA as power switches, input selectors, and command buttons. You can build automations around them, control them from dashboards, whatever.
And since HA syncs to Google Home / Alexa, you can now voice control IR-only devices. "Hey Google, turn up the volume on the amplifier" and it goes HA → hub → IR blast. An amplifier from 2010 with no smarts whatsoever, controlled by voice.
Wire it all together and you get stuff like: start the Watch TV activity on the remote and it powers on the TV over LAN, turns on the soundbar over IR, switches inputs, and dims the lights through HA. Or set it up so unlocking your front door turns on the amp, lights up the kitchen, and bumps the heat. Come home, sit down, play music.
There's a loop guard built in so mirrored devices dont end up in a feedback loop between the two systems.
Other stuff:
- Bluetooth consumer keys (Home, Back, etc) for Chromecast with Google TV (original draft by @danielvijge)
- BT path fix for hubs where hciconfig lives in /usr/sbin (reported by @NemoN)
- Touch gets on-screen buttons and a proper hold-command picker
- Installer measures free flash before installing so it doesn't brick anything (reported by @danielvijge)
- Security hardening on the recovery portal (prompted by @AXEBro's review)
- Multi-subnet cloud blocker fix (thanks @danielvijge)
Downloads: https://github.com/schlambos/harmony-hub-control/releases/latest
Updating from 1.3 is straightforward, just re-run the installer for the hub, and the Android/Mac apps install over the old ones. Any bug reports or feedback is appreciated, just throw something on GH issues.
The project is moving fast and tagged releases sometimes lag behind what's on main. Certain fixes may not be in a tagged release yet. If you want the latest, you can clone the repo and install from that instead of the release zip. The process is the same.
Still requires a rooted hub via harmony-hub-root.





6
u/HedgerowBustler 26d ago
I have been hoping for a project like this to come along for a long time! Haven't set it up yet, but I ordered an Ultimate off Ebay to back up my Companion. Hoping to stay with these remotes for a good long time, now that a system like this is available. Thanks!
4
u/Shaynoagogo 26d ago
Great work; this is amazing and has brought new life to my Harmony remotes.
2
u/_-MjW-_ 26d ago
Will definitely be testing this.
I have an unused hub with a companion remote to try it on.
2
u/tbgoose 26d ago
I'm jelly, my harmony stopped working so I got a sofabaton. Very limited what it can do but at least it's something.
In Aus due to limited supply the harmonies have been outrageously expensive for many years now.
2
u/seven20p 25d ago
here me out:
do you think micro usb ethernet could be supported with otg power adapter. That would be something now to get rid of the wifi altogether and turn it into an ethernet hub. We already know usb data and power is supporte# on the micro usb
4
u/redshirts40 26d ago
It would really help me out if someone could post a tutorial video on how to set this up, starting with rooting the hub.
1
u/AncientsofMumu 25d ago edited 25d ago
Does this keep current device settings and activities or are you starting from scratch?
1
u/Hungry_Cabinet_4600 25d ago
Hi, is it possible in to assign Elite Home Control Buttons in this version, also is it possible to assign Smart Control --) button on the left and the E (or Enter) button on the right? Thank you.
1
u/VineMan77 25d ago
Thank you for this! Any chance you can get the USB ethernet working, like the Harmony-ng project? that would be a match made in heaven. I know it's a completely different implementation, but just figured I'd ask
1
u/seven20p 25d ago edited 25d ago
One thing I enjoy is his and her remotes ( This obviously works natively with the Elite and a Companion. Do you think there is a way that two Elites and Hubs could be synced with current state activity in the same room, Or better yet, two elites on one hub, with same programming. I am fine with two hubs that would syncronize, but one hub with two elites would work very well too. I know you have the app but multiple remotes beyond logitech's restriction would be amazing. Think about the way this could be done. I believe logitech missed how great this function could be by never introducing a low power backlit companion style remote. Perhaps we can right that wrong with modern technology and ai assistance. I would imagine a watcher service could sync the states of the both remotes. We know now this is done via BT from the base the companion. and from elite /950/ pro to the base.
1
u/redshirts40 23d ago edited 17d ago
Does anyone know is it possible to run a 2nd remote off one hub. My main remote is the Elite, but I also have an ultimate. Would be nice if I can use either with this hub software off the same hub.
3
u/crixyd 25d ago
Very cool. Looking forward to trying this out. Can I test it with risking my elite set-up and bindings?
3
u/nixgut 17d ago
This is great, but is there some dedicated forum or something - instead of the comment section here? :-)
2
u/kalifabDE 25d ago
Wow this turns harmony into what it should be!! I hope it doesn't take too long until I manage to try it.
2
u/SavageSan 24d ago edited 24d ago
I already had my Harmony remotes working with Home Assistant using several integrations tied together, but this is a much more refined setup. The greatest benefit is not being tied to Logitech servers and their sketchy software support. I have a spare hub to test this with. Thank you.
Update: Successfully rooted and Hub still works with all settings.
1
u/Accurate_Good_2740 25d ago
I started a chat with you to try to resolve errors I am getting. I am probably out of my depth with this, but maybe you can help. Regardless, I really appreciate your work on this project.
1
u/dtpark 24d ago
On the Companion remote do the Home Control buttons work? My most often used buttons are the Home Control Buttons, for instance to turn on/off and dim my lights and just wanted to verify these are working as intended. Thanks.
1
u/Accurate_Good_2740 24d ago
Can someone please help me with errors I am getting when trying to upload the Webui? I have tried everything to get this to work. I am beginning to wonder whether my Hub is properly rooted. Does this end to the dialog look correct?
== Opening Root Shell ==
If OpenSSH reports a changed host key, verify that this is your hub before replacing the known_hosts entry.
Opening root shell. Type 'exit' to leave it.
Warning: Permanently added '192.168.50.118' (ED25519) to the list of known hosts.
BusyBox v1.13.4 (2017-09-26 16:03:52 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
1
u/redshirts40 23d ago
Didn't think I would be able to get this working but thanks to the suggestion to use Gemini to help by "brokewithrichtaste" I was able to get it installed. Absolutely loving this so far. Now I don't have to worry about logitech shutting off their servers and bricking my remote.
1
u/DiscoRage 20d ago
Have you looked at using the Elite's display the way Unfolded Circle remotes do? Not just whichever activity is active, but two way communication like device states, ie. your receiver's volume level, which input is selected on your TV, etc. It should be possible. You can see real time light level updates for Hue bulbs, so why not other devices?
1
u/seven20p 20d ago edited 19d ago
The Brickening of the Hub
Well I bricked my first harmony hub this morning. I rooted it got the web control app installed, and something was wrong, it wasnt deloeting any old activities, or making new ones, hub was online but just froze like a permissions issue every time i tried to save or add something. I am stuck in a loop now , where i can get it to connect to wifi , but USB has been disabled, i am guessing by the root script.
So, while it connects to wifi sometimes, and the ip address can be pinged whether its red or green, it just doesnt do anything else, ssh 22 is closed 8088 was open but wont work for xmpp , I did not make a backup as soon as I had root, I guess I should have, I mean I would have had I known its fairly easy to brick.
I believe my root issues was i am on a really old firmware on the hub. Its been in a drawer for a couple years now. Since usb wont work it cannot get a harmony hub id , If there is a way to pull it from the api LMK I will try it. The api appears to work but 8080 does not for the hub web page.
So its a brick unless I can get usb working again. I could flash if i had the hub id. Which strangly dissapeared from the .json file that it was stored in . Its not in the recycle bin. Well I could maybe flash. I am about ready to throw the tower in. With no usb, the only thing that works in the wifi and it crashes out on logitech recovery, setup, etc. The only port like i said seems to be open in 8088.
I have more hubs, just dont like loosing a soldier.
One Down (RIP) and Nine Remaining (Harmony Hubs)
Harmony Elites 2 in use, 1 testing with melodious, and 4 more including 1 NIB
Companion Remotes, 1 in use and 4 more 3 used, 1 refurb
Harmony Ones , probably 9-10, They sure get tacky (Needs denatured alchohol treatment on grips)
Harmony 900 - 1
Harmony PS3 Hub - 1
Harmony 890 - 1
Harmony 880 - 3
Harmony 300 - 1
Harmony 675 - 2
Harmony 560 ( Xbox 360 version maybe) - 1
Trying Melodious once again today.
1
u/seven20p 19d ago
Matt4542, I finally got the root to take on another hub, Had a lot of issues again, I updated the firmware in the my harmony windows tool using Alt-F9. Then used the NG root, originally, and it would not install your melodious complaingin fo keeys, so i used the return to factory and removed that root, back to stock, then it complained of XMPP not being open on 8088 again. Then set up app on harmony android app, added one device, and went to enable XMPP but it was already enabled. So then i disabled it. saved exit. Same thing. Went back in reenabled XMPP again, and it works. all the way through. and brought me to root prompt in terminal. Good right?
Finally I get to install Melodious latest!
My Elite remote is paired and still shows Place remote on cradle . I tried manually pairing it using Menu / Mute, with the pairing tool in the app, rebooting hub. Nothing. The hub part is working, I have added devices, but cannot get catalog.py to work. It brings me to the page, to click launch appl,ication, then does nothing, nothing in the background, or anything. I dont see any url like in the readme i am supposted to either enter into the helper or terminal. I tried a basic DENON ARX3300W Receiver just to test and get the code.
I do have the harmony dump of json files for devices, but they say they are not the right format for catalog.json
This is where I am stuck. I get a url with catalog like: https://id.logi.com/launch.html?nonce=k1JTH83Cb5SX9KCwK229eY_LkRTp4anI but the readme says it should look different. The Launch Application button does nothing in chrome or edge.
1
u/LandNo9424 18d ago
I don't understand how to add a device, on the MyHarmony hub, I type in a manufacturer and model, and it does it all on its own. Here, it adds a device with no commands. Can you explain this a bit further?
1
u/pbcsd007 17d ago
Hi u/matt4542 , just rooted my two hubs with Melodious, thank you for this project! One of the hubs only had a smart remote (no screen). I picked up a new Elite remote and added it to that hub, but am struggling in Melodious to get is to recognize the screened remote. AI said I shoudl send you this...
"Instead of risking your rooted hub by manually editing SSH files to talk to Logitech's cloud, you are only one quick developer fix away from editing your Elite's screen buttons directly inside Melodious*:*
Let me know if that make sense?
1
u/redshirts40 10d ago
Just ordered a harmony touch remote. I already had a spare hub... I can't seem to get the new remote to connect to the the hub. I have reset both and the remote still won't find the hub. Once the new software update is released I plan to add this remote to the hub I already have running with the melodious software... Just curious how do I get this remote to work right now with the hub running the logitech software? Do I need to plug the remote into the computer and use the logitech software? I just want to make sure there is no issue with the remote... Before my return window expires.
1
u/mattwaddy 7d ago
This looks great! Have you managed to overhaul the touchscreen layout on the remote so it looks better, has more features and a better overall UX?