KraigM / homebridge-harmonyhub

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

Broken Homekit routines with hub event as trigger #87

Open Kugelfang666 opened 7 years ago

Kugelfang666 commented 7 years ago

Dear all,

i'm using homebridge with both harmonyhub and philips hue. In my setup both the hub based activites and the hue sensors are exposed as switches. My remote held a total of 6 activities. Up to now i could use my own homekit routines in order to automatically deactivate my hue sensors whenever a harmony based activity was started.

e.g.:

1: If "watch TV" becomes activated then deactivate motion detector in livingroom and set all lamps to 50% 2: if "watch TV" becomed deactivated then activate motion detector in livingroom and set lamps to 100%

This was working brilliantly. Yesterday i added new activtivies (up to a total of 11) which immediately showed up in homekit. Next i also added the same routines which worked flawlessly in the beginning. However if i reboot the raspberry PI the routuines with the recently added activities a trigger become broken. They still show up in the home app but the yellow icon on the left is missing and they are not working (screenshot).

This behaviour is 100% reproducible. Reducing the number of routines does not help. I could isolate the problem to be only present with routines unsing the newly added activites. It would be great if someone could look into this.

Kugelfang666 commented 7 years ago

one more thing to clarify: the initially set up routines do survie a raspberry pi reboot, only the ones using the recently added activities do become broken

ohomaidi commented 7 years ago

+1 Same thing happens to my setup when I restart the homebridge server. It also moves all the activities back to the default room.