Page 1 of 1

Harmony Hub - how to switch things off

Posted: Tuesday 09 February 2016 23:32
by jbjalling
Hi all,

I have a Logitech Harmony Hub commected to my Domoticz backend. The harmony hub adds three switches to the system - TV, Music and PowerOff.
When I press either the TV or the Music switch, the respective system turns on, and the other system turns off - so far so good. But when fx. the Music is on, I'm not able to turn it off, by pressing the Music switch again - I have to press the PowerOff switch or the TV switch.
Is this the correct behavior? Isn't it possible to be able to both turn the music on and off by pressing the Music button?

The reason I want to do it this way, is because I want to be able to say "hey Siri, turn on the music in the livingroom" and "hey Siri, turn off the music in the livingroom" to my apple watch. As I see it, this isn't possible with a separate PowerOff button.

I'm probably misunderstanding something, so please bear with me :-)

Thanks in advance

BR Jonas

Re: Harmony Hub - how to switch things off

Posted: Wednesday 10 February 2016 8:43
by gizmocuz
Is this not the same as with your harmony remote ? You can switch between activities (that is what domoticz does) and turn it off

Re: Harmony Hub - how to switch things off

Posted: Wednesday 10 February 2016 8:59
by jbjalling
Yes, you are right.
So what you are saying, is that I should replace the Harmony hub with something else, to get the behavior I want?

What I want, is a toggle switch to control the stereo system, and the tv. One push for on, one push for off.

BR Jonas

Re: Harmony Hub - how to switch things off

Posted: Wednesday 10 February 2016 9:22
by gizmocuz
In domoticz you should have 3 switches, TV, Music, and Off

Re: Harmony Hub - how to switch things off

Posted: Wednesday 10 February 2016 9:32
by jbjalling
Yes, I'm glad I don't use my harmony to switch off my lights then ;-)

BR Jonas

Harmony Hub - how to switch things off

Posted: Wednesday 10 February 2016 10:41
by mvzut
I understand your point jbjalling. You could create new virtual switches (using the Dummy hardware module) and create lua device scripts that create a link between the original three Harmony activity switches and your two new toggle switches. Or you could probably also do this with blockly.

Alternatively, you can also just say to Siri: "Turn on music" and "Turn on Power off" ;-)

Re: Harmony Hub - how to switch things off

Posted: Tuesday 16 February 2016 8:22
by tahoe
I am not sure what version of Harmony you are using, but my (Harmony Elite I think) it doesn't work that way either on the remote.

You have activities called "Watch TV", "Play Radio" etc which fire a multitude of commands to various devices (in my case watching TV involves switching on the TV, the amplifier and the PVR), switching it off using the remote is not by pressing "Watch TV" again, but by pressing "Off", just like in Domoticz.
The only confusing thing might be that it's called PowerOff but has to be ON to switch it all off.


Like mvzut says, you could create dummy switches combined with blockly events to do exactly what you want to do:
Create a dummy switch called "Watch TV" and them make a blockly like this: If "Watch TV" = on - set "Harmony TV" = on, elseif "Watch TV" = off set "Harmony PowerOff" = on.

Re: Harmony Hub - how to switch things off

Posted: Tuesday 16 February 2016 19:05
by denisb88
Thanks tahoe, it works for me.