Add a virtual switch as HTTP device
Completed
I would like the possibility to add a virtual switch as HTTP device.
It must have the posibility to give a HTTP command to switch onn and an other command to switch off.
Example:
HTTP:\\192.189.168.42\sw6\on to swich on and HTTP:\\192.189.168.42\sw6\off to switch off.
In this way I can switch it by phone and add the virtual switch to a scene for example.
No connection
Real-time notifications may not work
Now you can add a "Virtual switch" and "Virtual level control" device. Go to "Add device" and choose "Virtual switch". You will get new device under Lights & Power (you will have actions On/Off) and in Rules creator (where you can program your rules like with any other real switch).
Now you can add a "Virtual switch" and "Virtual level control" device. Go to "Add device" and choose "Virtual switch". You will get new device under Lights & Power (you will have actions On/Off) and in Rules creator (where you can program your rules like with any other real switch).
thank you for this quick implementation
thank you for this quick implementation
Does it work ? I have issue with the virtual switch. In the rules creator nothing happen when I use it in a when condition.
Tks,
Does it work ? I have issue with the virtual switch. In the rules creator nothing happen when I use it in a when condition.
Tks,
yes
yes
done. I first tried to create the rule : Pilote Parents True and Pilote Parents False and as it didn't work I created the 2 other. same.
Tks,
done. I first tried to create the rule : Pilote Parents True and Pilote Parents False and as it didn't work I created the 2 other. same.
Tks,
Seams complicated. Why do I have to create a rule for an simple ON/OFF http switch like an Ipx800?
Seams complicated. Why do I have to create a rule for an simple ON/OFF http switch like an Ipx800?
I'm not using it anymore so ... not really
I'm not using it anymore so ... not really
Replies have been locked on this page!