Homey Community Forum

Problems with my harmoney hub

I’m using the Harmony Hub plugin to control my lights when I start an activity. This works like a charm. However, when I stop the activity nothing happens. Could someone please help me out with what might be wrong?
My activities:

My trigger:

My condition:

The same setup (only “activity starting”) works fine…

In my case, I’m storing Harmony state in logic variables.
So when an activity is started I update the logic variable.
When an activity is stopped I set that logic variable to “None”.

I notice that when I poweroff my system, the logic variable indicates “PowerOff” as activity.
So it might be that what’s happening is not that Harmony triggers “Activity stopped” for your current activity but instead Harmony triggers “Activity started” for activity “PowerOff”.

Hope this helps.
Anyway: I suggest adding a flow for “Activity started” which just adds a notification with the value of the activity tag and another one flow “Activity stopped” with the same thing.

This way, you can check your notification timeline to see what’s happening.
Good luck!

1 Like


Turns out there is one “activity starting” and one “activity stopping” in my system. One of these is the stopping of my “Watch PC”. I have no idea how come it didn’t work yesterday, because now my flow works fine. But it’s really interesting to see the “PowerOff” activity starting too :slight_smile: