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
Rules switch Problem on 148
Moderators: grovkillen, Stuntteam, TD-er
Re: Rules switch Problem on 148
What do you mean by ipcall. Please post the on/o action called by the switch in domoticz
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 25
- Joined: 07 Jan 2016, 17:18
Re: Rules switch Problem on 148
Is "inversed" activated on relay#state?Mihadongle wrote: ↑21 Apr 2017, 12:08 On Action: http://192.168.1.170/control?cmd=GPIO,5,1
Off Action: http://192.168.1.170/control?cmd=GPIO,5,0
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 25
- Joined: 07 Jan 2016, 17:18
Re: Rules switch Problem on 148
No isn't invers
Re: Rules switch Problem on 148
Try to either inverse ortoffel969 wrote: ↑21 Apr 2017, 12:13Is "inversed" activated on relay#state?Mihadongle wrote: ↑21 Apr 2017, 12:08 On Action: http://192.168.1.170/control?cmd=GPIO,5,1
Off Action: http://192.168.1.170/control?cmd=GPIO,5,0
On Action: http://192.168.1.170/control?cmd=GPIO,5,0
Off Action: http://192.168.1.170/control?cmd=GPIO,5,1
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
-
- Normal user
- Posts: 25
- Joined: 07 Jan 2016, 17:18
Re: Rules switch Problem on 148
With invers its the same
Who is online
Users browsing this forum: No registered users and 14 guests