Rules switch Problem on 148
Posted: 20 Apr 2017, 23:33
Hallo i have a problem with the release 148
My rule:
On Tur_Schalter#Switch do
If [Relay#State]=0
Gpio 5,0
Else
Gpio 5,1
Endif
Endon
on toggle do
if [Relay#State] = 0
GPIO,5,0
else
GPIO,5,1
endif
Endon
On domoticz i call the relay with ip call.
My problem is with this rule on r135 all ok i can turn on the switch and the light relay go on, when i turn now the light of with domoticz it turn off. The switch is on.
On r148 i turn the switch on the light go on, when i now turn the light with domoticz off the light goes off but in 20 seconds it goes on because the Switch is on.in 20 seconds the light goes off and the light is in a loop all 20 seconds on/off. I can break the loop when i turn off the switch or i turn on in domoticz.
Have any one a solution for me
My rule:
On Tur_Schalter#Switch do
If [Relay#State]=0
Gpio 5,0
Else
Gpio 5,1
Endif
Endon
on toggle do
if [Relay#State] = 0
GPIO,5,0
else
GPIO,5,1
endif
Endon
On domoticz i call the relay with ip call.
My problem is with this rule on r135 all ok i can turn on the switch and the light relay go on, when i turn now the light of with domoticz it turn off. The switch is on.
On r148 i turn the switch on the light go on, when i now turn the light with domoticz off the light goes off but in 20 seconds it goes on because the Switch is on.in 20 seconds the light goes off and the light is in a loop all 20 seconds on/off. I can break the loop when i turn off the switch or i turn on in domoticz.
Have any one a solution for me