I’ve got a Harmony Home hub and I have a few activities that need the cooperation of ST to work perfectly…
For example, if I’m watching TV (like right now) and the sun still shines out there, I’ve no need for lights… BUT if I continue watching TV or I start watching it after sunset, I obviously need some sort of lighting…
I have that automation setup thanks to CoRE… BUT… the Harmony activity button doesn’t always refresh…
I have seen there’s a refresh button within the Activity’s … button… that if I click it, it refreshes and everything works as expected…
So you are using the Harmony activity to determine that you are watching TV? If that’s the case, I suggest keeping an eye on this Iris Outlet they occasionally drop the prices very low. If you don’t want to spend any money, set up a piston to refresh that device as often as you wish…
An alternative to keep refreshing your activities is having a virtual switch plugged in each of your activities. Harmony is good at turning on switches when activity starts and off when last one ends. Using the same switch ensures that when last activity powers off, your switch turns off. That way you eliminate the refresh. This works if you don’t care which activity is on.
Have you tried setting the length of time to refresh? Here is what I use for my Weather Tile. If you added a condition before that said 'while Harmony is on or active or whatever, Then IF and then the trigger for time, maybe that would work.
i created a virtual device called “harmony refresh”. it is a momentary switch, and i added if pressed part of the start and end sequence for a harmony activity. in ST i created a CoRE rule to refresh the activity switches if pressed. works perfect.
If you shift from activity to activity, and harmony sees it in both, won’t it just ignore it for the transition since it should still be on? I would think it would only trigger on start of first activity and end of last.
the only buttons it recognizes that way are inputs and power. thats why it doesnt even allow you to typically choose even inputs from the add steps option. now you can create a virtual switch where if pressed off or on, but i just created a virtual momentsry switch. if pressed at the end of the activity start or end sequence then it will refresh the activities in core. it has been working perfectly
Hi @SBDOBRESCU Thats a really good idea. I am trying to extend this idea, by using the state of this switch to refresh the harmony activities as below. Can you please let me know if this will work to refresh the activities? Is it the hub or the individual activities which need to be refreshed?
If Harmony_Switch changes to on
Then Refresh (harmony-hub)
or If Harmony_Switch changes to off
Then Refresh (harmony-hub)
Hey, if I understand correctly, you’re trying to have ST update realtime to harmony activities/actions? No piston in CoRE needed, nor anything polled or refresh, just follow the instructions below to add 2 commands in each of your harmony activities. Works perfectly for me. Instant updates