Trigger a switch using the "On/off action" of another switch
Posted: Wednesday 19 February 2020 15:40
Hi,
Does anyone know if the following is possible:
I have an automated rolling garagedoor which I added to domoticz using a double fibaro relay.
In domoticz I now have two switches, on to open the door, one to close it.
This looks messy and I would like to combine them together.
To make it even more neat, I would like to use the "blinds" switch type, so that the animation looks like the garagedoor.
This could all be made possible if I hide both of the switches using a "$-sign", and then create a virtual switch and set the "On action" to trigger the hidden open switch, and set the "off action" to trigger the hidden close switch.
I am very weak at creating scripts and was wondering if anyone could give me a lead.
Kind regards and thanks in advance for any help,
Dwayne
Does anyone know if the following is possible:
I have an automated rolling garagedoor which I added to domoticz using a double fibaro relay.
In domoticz I now have two switches, on to open the door, one to close it.
This looks messy and I would like to combine them together.
To make it even more neat, I would like to use the "blinds" switch type, so that the animation looks like the garagedoor.
This could all be made possible if I hide both of the switches using a "$-sign", and then create a virtual switch and set the "On action" to trigger the hidden open switch, and set the "off action" to trigger the hidden close switch.
I am very weak at creating scripts and was wondering if anyone could give me a lead.
Kind regards and thanks in advance for any help,

Dwayne