With help from @mattw I was able to get KuKu Harmony ported over to hubitat. It's still very messy with redundant code, but it works. You'll need to install all of the device drivers and both smart apps.
I will continue to clean this up, but I wanted to get this out there for people to use if they want. If you want to help make this app better, please feel free.
Well, the apps and devices connect to a device running the Harmony API app which runs locally. When I setup the Harmony API app on my Raspberry Pi it asked for my hubs local IP so I assume that is running LAN to LAN as well.
Short Answer is I am 95% sure everything is LAN to LAN, but I didnāt write the HArmony API app to know if it makes a call to the cloud. I do know I didnāt give any of my cloud creds to any of the apps, so itās probably all LAN to LAN.
Sorry for the vague answer, but I am not a real developer. I just ported the code from KuKu Harmony.
I didn't mean to sound so rude in the last reply it actually reads a lot worse than what it sounded like in my head. It's just I'd spent 3 days trying to understand the code and figuring out why it wasn't working. I just need a break from testing for a bit.
I know the āharmony-apiā nodejs server runs completely locally and only talks to the Harmony Hub via the LAN. Therefore, I really doubt the KuKuHarmony app needs to talk to anything on the Internet.
For those who have used KuKuHarmony, is it true that it does not support Harmony Activities? That was the reason I decided to write my very basic Harmony Hub integration.
One thing to be aware of⦠The āharmony-apiā nodejs server seems to lock up after a few days of use for me and at least one other user. I have it installed on Ubuntu Linux 17.10 as a service. I believe the other user has it installed on a Raspberry Pi. I have scheduled a nightly Cron job to reboot my Ubuntu system every night at 4am. If anyone knows why this locks up, Iād love to know how to solve it.
Right now it doesn't but it could. I am still learning how the code is written in this app. It looks like HUE API supports activities, so the feature could be added to this app.
I have not run into this yet, but I did deploy the docker image on my Rasberry Pi. Is it possible it was something with a package version for your install?
Thank you for the port - I have harmony-api up and running - I can access it and have it respond to commands via the rest api at http://10.0.1.27:8282 but the habitat harmony app cannot seem to discover the hubs or devicesā¦
thank you @jprosiak - that worked like a charm - not sure why I didnāt think of that - I even searched the code to see if the port was hardcoded. Much appreciated - Iām now up and running.
As I use this port more I am thinking about ways to rewrite it to improve the app. Here are some things I am thinking about:
Add support for activities
Auto map device commands (I am not sure if this is possible yet)
Right now you have to go through each button and map the command you want assigned to the button
Hide any device buttons not mapped (Once again not sure if this is possible)
For the most part I am just using power and volume for my integration. So itās pointless to have the extra buttons showing in my device
Reduce the number of times a call to harmony api is performed during setup and discovery.
Right now it refreshes every time you map a button which jumps you to the top of the screen. Since all of the data is pulled back at once it makes sense just to store it until you leave the mapping page.
I recently started running into this on my Raspberry pi so I am testing out the OSX build also. It uses an app called forever. this is the first time I've heard about forever. Once I get the app rewrite done, maybe it will be easier on Harmony-api causing less problems.
Hi there, any further development on this? I just switched over completely to HE and wanted to setup my old routines, which included Harmony Activities. Thanks for doing what you can and for the work thus far!
Hello! I really havenāt done anything with it since the last post. Seems like many others are using other alternatives so the development on this port has halted. Search the forums and see if you can find the other solutions. If you canāt send me a PM and Iāll see if I can find the threads I am thinking of.
Welcome to HUbitat. I think youāll like it here.
Give this a try. If you had ST-Harmony integration working previously, then youāll need your API keys. It has been working for many of us for many, many months...