Harmony integration on Hubitat

disconnect internet modem.
If it runs its lan/lan
if not, its cloud/cloud

1 Like

I understand that, I just don’t want to take the time to test that theory out. It works for me. It is pretty easy to setup.

@plantucha:

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.

Sorry.

1 Like

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.

1 Like

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?

1 Like

Joe,

Thank you for the reply. I may try using docker to see if it is more stable.

Dan

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…

http://10.0.1.27:8282/hubs
{"hubs":["basement","living-room"]}

log entries over and over w/ each refresh:
app:2972018-03-12 19:10:40.976:debuggetHubAction>> 10.0.1.27, /hubs, discoverHubs_response
app:2972018-03-12 19:10:40.973:debugdiscoverHubs
app:2972018-03-12 19:10:40.965:debuginstallHubPage>> null
app:2972018-03-12 19:10:40.905:debugmainChildPage>> parent’s atomicState.harmonyApiServerIP: 10.0.1.27
app:2972018-03-12 19:10:40.847:debugLine 64: parent Or Child Page

Did you try typing in IP:8282 in the field?
I noticed mine wouldn’t find the hub. I had to type it in. Then the next screens worked fine.

1 Like

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.

1 Like

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:

  1. Add support for activities
  2. 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
  3. 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
  4. 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.

Is there anything else people would like to see?

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.

2 Likes

Is there a device driver for a set top box? Specifically Tivo?

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...

Thanks all! I'll give that a try! Appreciate the quick response!

1 Like

Has there been a stable, feature rich Harmony Hub app and drivers written for Hubitat Elevation?

YF

1 Like
1 Like

Hi, @Keo,

I know there are other Harmony integrations, and in fact I'm using the @ogiewon one and loving it for my activities. But I also have Harmony-api installed and was hoping to get a few device controls just to use my Harmony Hubs for some IR devices (fans and lights and such) that I still have.

Your port here works well, except for one issue I was hoping you could help with: When I add a device in the app, it basically OVERWRITES the previous ones...so instead of a list of child devices under the app, I just get the last one, and ever device that was added in devices basically only controls the new one. Any thoughts on this? I realize you've stopped developing this, but if you or anyone knows a workaround for this, I'm all ears.

Thanks for your work!

EDIT: I was able to change the FM preset using Channel Number and inputting either any digit 1-5 to change preset. How could one button or switch be created to cycle through 1-5 each time it is pressed, any ideas?

Thank you

Download the Hubitat app