API request - Group Toggle

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Madgeni
Posts: 158
Joined: Friday 25 March 2016 18:43
Target OS: Raspberry Pi
Domoticz version:
Contact:

API request - Group Toggle

Postby Madgeni » Sunday 04 September 2016 21:44

Hi there -

can I request for the ability to Toggle a scene, as well as issue direct On/Off by the API?

Thanks

neginazin
Posts: 2
Joined: Friday 02 September 2016 15:32
Target OS: Windows
Domoticz version:
Contact:

Re: API request - Group Toggle

Postby neginazin » Monday 05 September 2016 15:57

thanks for nice information

borgkitty
Posts: 39
Joined: Wednesday 26 October 2016 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: API request - Group Toggle

Postby borgkitty » Thursday 08 December 2016 20:43

+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

Lusch
Posts: 8
Joined: Monday 27 February 2017 22:39
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: API request - Group Toggle

Postby Lusch » Monday 20 March 2017 18:54

+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?


Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests