KraigM / homebridge-harmonyhub

HomeBridge Plugin for Logitech Harmony Hub
181 stars 52 forks source link

Harmony Hub "sleep"/workaround #63

Open Rhineberry opened 7 years ago

Rhineberry commented 7 years ago

A recent problem I was having recently with my Homebridge/Harmony set-up, and how I "solved" it:

I was finding my Harmony hub non-responsive via HomeKit shortly after turning off all my Harmony activities (devices showing as not found in the Home app). There were errors listed in the Homebridge program window, so I upgraded to the newest version of both Homebridge and the Harmony plug-in. Afterwards I was still getting the "device not found" in my iOS Home app, but no longer any errors listed in the Homebridge program window. In order to get the hub working again with Homebridge I had to restart the program each time I came home after work.

I then remembered that I recently updated my Harmony Hub to firmware version 4.11.6. I figured this new firmware could be the cause. So instead of turning all my Harmony activities off at night, I set up an additional Activity labelled "Standby" which consists of turning on a non-existent device. So to turn off all my Harmony activities, I now turn on the Standby Activity.

Lo and behold, this has worked perfectly. The Harmony hub thinks there is still an active Activity, so it keeps its connection to Homebridge active. I could not find any mention of a new "sleep" mode in the Harmony documentation for 4.11.6, but I suspect this must be the case (or a bug). The hub goes to sleep when there's no active Activity, and loses its connection to Homebridge.

nerve007 commented 7 years ago

Would you mind sharing which errors were coming up in homebridge? I'm just curious if it is similar to what has been discussed in other issues.

I'm definitely going to give this a shot when I get home though. I've been battling with the harmony hub plug-in pretty much from day one of installing it, with many small victories and a couple crushing defeats.

Rhineberry commented 7 years ago

Well, my workaround is no longer working. So I will quietly slink back into the shadows. Let us never speak of this again.