switch without gpio
Posted: 11 Sep 2019, 07:45
Hello
when I use a classic swith with a gpio, for example:
Jus: Ampoule and GPIO: GPIO12
For ON: gpio,12,1
For Off: gpio,12,0
To use in rule: if [Jus#Ampoule] = 1
If I have no more GPIO available, and I want to use the switch name directly, I do not know how to change the state:
Jus:Ampoule and GPIO: None
For ON: ?????????
For Off: ?????????
To use in rule: if [Jus#Ampoule] = 1
Can you help me ?
Thank you
when I use a classic swith with a gpio, for example:
Jus: Ampoule and GPIO: GPIO12
For ON: gpio,12,1
For Off: gpio,12,0
To use in rule: if [Jus#Ampoule] = 1
If I have no more GPIO available, and I want to use the switch name directly, I do not know how to change the state:
Jus:Ampoule and GPIO: None
For ON: ?????????
For Off: ?????????
To use in rule: if [Jus#Ampoule] = 1
Can you help me ?
Thank you