Hi All
I have been working for some weeks on building a completely local simple harmony hub integration that will
- Execute completely locally - not requiring additional software running elsewhere / on a different machine
- Edge based
- Simple bridge approach with a 1:1 hub binding (not trying at this stage to implement harmony devices as st devices)
- websockets based
I have the basics working allowing a device to be controlled, but this driver still has many problems. I’m interested if anybody wishes to try on an alpha testing basis purely to see if this works for them.
I am also facing custom UI issues meaning most of the UI will be invisible to you due to issues with my namespace hopefully @nayelyz will help with a solution there soon.
If you wish to try the driver as is (with no promises that this will work or ever be finished - then please read on). Also this is in active development so may well break.
Step 1
Enrol your hub in my Alpha channel and install the harmony driver available - https://api.smartthings.com/invite/adMKZGrxDj93 the driver is called ‘Harmony Bridge Simple V2’
Step 2
Add a new device by scanning nearby, this should add the ‘Harmony Bridge Simple’ device to smartthings in which ever room you scanned in. (NB: There seems to be an issue just lately that means the device could be added to any room, you might need to look around for it)
Step 3
Open the device and go to settings, enter the ip address of your harmony hub
Step 4 - This is where it gets messy, because of the issues im having with my namespace meaning i cannot create custom ui’s for the app we have to jump over to the web (you may need to do this in ‘desktop mode’ if you are using a mobile phone browser)
- Go to https://my.smartthings.com/ and login using your smartthings/samsung account
- Navigate to the device we just created, look at the device if it has successfully made a connection to your harmony hub you will see a rather ugly looking list - this list is all of your harmony devices, and the ‘press’ commands available on them.
- Find the command you want to execute in the really long list and copy it to your clipboard for later use - you should copy a whole line including {} like highlighted below
At this point you have successfully connected to harmony and we are ready to try out a command - we have 2 ways to do that - i’ll detail them as option a and option b below
Step 5 - Option A
Take the command you copied and head back into the settings of the device and change the value of Button Command to the value on your clipboard. You can then use the momentary button in the UI to test.
Step 5 - Option B
Create a new routine/automation/scene that will send the harmony command, You can then trigger the automation/scene to test.
Remember you shouldn’t rely on this yet as this is very much still in development, the source code is here if you wish to take a look SampleDrivers/harmony-bridge-simple at main · lrmulli/SampleDrivers · GitHub
Ps… Thanks to @TAustin @gol and @nayelyz for some early support on this to get me going.
Update: There is an issue with the driver when lifecycle events happen (hub reboot, driver upgrade etc etc) that the driver doesn’t reconnect afterwards - to force a reconnection edit the ip address to a wrong value and then change it back to the right value being sure to save it on each edit - this is only until i can find a more robust solution that will reconnect on lifecycle events. Update 2: This issue is resolved and it should now reconnect after a reboot/driver change, this should auto update within the next 24 hours - thanks @Alwas and @Mariano_Colmenarejo for the help
Update 25/08/22: Multiple Harmony devices are now supported → [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #51 by lmullineux
Update 02/09/2022: New device settings added - see here for details [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #78 by lmullineux
Update 06/09/2022: Driver update - activity devices - see here for details [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #80 by lmullineux
Uppdate 22/09/22: Bug Fix & Device command repeats - [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #127 by lmullineux
[EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #128 by lmullineux
Update 28/09/22: [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #140 by lmullineux
Update 13/10/22: Minor update [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #218 by lmullineux
Update 16/01/2023: The driver is 1 years old, for it’s birthday I bring you V2 [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #384 by lmullineux A major driver update, only use this version going forward.
Update 26/01/2023 V2: Re-connection code fix [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #418 by lmullineux (V2 Only)
Update 24/03/23 V2: Activity ‘Last Status Update’ intro, plus many fixes [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #516 by lmullineux
Update 28/04/23 V2: Added support for more than 10 activity devices [EDGE DEVICE] Simple Harmony Bridge **Alpha Testing** - #592 by lmullineux