Page 1 of 1
API request - Group Toggle
Posted: Sunday 04 September 2016 21:44
by Madgeni
Hi there -
can I request for the ability to Toggle a scene, as well as issue direct On/Off by the API?
Thanks
Re: API request - Group Toggle
Posted: Monday 05 September 2016 15:57
by neginazin
thanks for nice information
Re: API request - Group Toggle
Posted: Thursday 08 December 2016 19:43
by borgkitty
+1 for this. I am trying to create a button (physical) that will turn on and off a group and I cant do it. If my lights are on in the group i can issue the command toggle and it turns them off but if i issue it again it doesn't do anything
Re: API request - Group Toggle
Posted: Monday 20 March 2017 17:54
by Lusch
+1
I'd like to be able to toggle a group of lights. So I want to be able to do one of the following:
Code: Select all
commandArray['Group:SomeGroup'] = "Toggle"
or
Code: Select all
if(otherdevices['Group:SomeGroup'] == "On") then
commandArray['Group:SomeGroup'] = "Off"
elseif (otherdevices['Group:SomeGroup'] == "Off") then
commandArray['Group:SomeGroup'] = "On"
end
Both do no work, or am I missing something?
Re: API request - Group Toggle
Posted: Tuesday 11 April 2017 11:58
by emme
Groups get and keep their value (on or off) if you switch them
but as soon as you switch a device in that group it turns to MIXED
Example:
Group:LIGHTS include
- Dinner Light
- Living Light
- Kitchen Light
if I switch the group ON..
Group State: ON
- Dinner Light ON
- Living Light ON
- Kitchen Light ON
if I switch the Dinner Light
Group State: MIXED
- Dinner Light OFF
- Living Light ON
- Kitchen Light ON
...If Group Toggle would exist:
Group State: MIXED
- Dinner Light ON
- Living Light OFF
- Kitchen Light OFF
in terms of usage and usability... this is almost a Scenario than a group toggle....
...does this make sense?