What is toggleButton supposed to do

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

What is toggleButton supposed to do

Post by pz1 »

I am playing with the Devices modules, more specifically the HTTPDevice. I do not understand here what the toggleButton is suppoesed to do. Intuitively from the template it looks like a binary switch that is operated by only one command: http://IP/action/on. I had expected/hoped to have an on and off command that would allow me to toggle the StellaZ mode from Heat to HeatSaving and back, etc using the OpenRemoteHelpers without using a status bit coming back from the device.

As this apparantly is not the case, could anyone give me a working example of toggleButton?
Thanks
Since 29-12-2016 I am no longer a moderator for this forum
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: What is toggleButton supposed to do

Post by PoltoS »

it is like a scene - you can press the button ON, but you can not press OFF.
Post Reply