Harmony Hub - how to switch things off

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
jbjalling
Posts: 19
Joined: Tuesday 09 February 2016 23:19
Target OS: Linux
Domoticz version:
Contact:

Harmony Hub - how to switch things off

Post 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
User avatar
gizmocuz
Posts: 2481
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Harmony Hub - how to switch things off

Post 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
Quality outlives Quantity!
jbjalling
Posts: 19
Joined: Tuesday 09 February 2016 23:19
Target OS: Linux
Domoticz version:
Contact:

Re: Harmony Hub - how to switch things off

Post 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
User avatar
gizmocuz
Posts: 2481
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Harmony Hub - how to switch things off

Post by gizmocuz »

In domoticz you should have 3 switches, TV, Music, and Off
Quality outlives Quantity!
jbjalling
Posts: 19
Joined: Tuesday 09 February 2016 23:19
Target OS: Linux
Domoticz version:
Contact:

Re: Harmony Hub - how to switch things off

Post by jbjalling »

Yes, I'm glad I don't use my harmony to switch off my lights then ;-)

BR Jonas
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Harmony Hub - how to switch things off

Post 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" ;-)
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
tahoe
Posts: 3
Joined: Tuesday 10 February 2015 21:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Harmony Hub - how to switch things off

Post 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.
denisb88
Posts: 18
Joined: Thursday 11 February 2016 8:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Harmony Hub - how to switch things off

Post by denisb88 »

Thanks tahoe, it works for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest