Hi,
I just reconfigure my Sonoff with espeasy.
Everything is working fine, but i stille have a issue.
If i use the swithc on the sonoff, i didn't get the status on domoticz.
I mean i can't see in domotics that the relay is on if it's not activated from domoticz.
I don't know if i have to post here of in domoticz forum.
Sonoff relay status - domoticz Update
Moderators: grovkillen, Stuntteam, TD-er
Re: Sonoff relay status - domoticz Update
I also have a nother issue, i've set the button on the sonoff to the same IDX as the relay ( buton 1 as same idx as relay one.)
If i switch the relay on from domoticz, it automatically switch off the relay after a few seconds.
I changed the idx of teh button, and the issue didn't apear again.
Is it maybe a conflict between the rule and domoticz ?
If i switch the relay on from domoticz, it automatically switch off the relay after a few seconds.
I changed the idx of teh button, and the issue didn't apear again.
Is it maybe a conflict between the rule and domoticz ?
Code: Select all
on Bouton1#Bouton1=1 do
if [Relais1#Relais1]=1
GPIO,12,0
else
GPIO,12,1
endif
endon
-
- Normal user
- Posts: 32
- Joined: 12 Jun 2017, 11:12
Re: Sonoff relay status - domoticz Update
is this a sonoff touch or a normal switch?
Re: Sonoff relay status - domoticz Update
It's a sonoff 4ch pro
-
- Normal user
- Posts: 32
- Joined: 12 Jun 2017, 11:12
Re: Sonoff relay status - domoticz Update
Hey
I have no idx set in my devices and only use the relay for a 2CH sonoff. What I do is in the rules send my status to domoticz over HTTP.
SendToHTTP 192.168.xxx.xxx,8080,/json.htm?type=command¶m=switchlight&idx=64&switchcmd=Set%20Level&level=0
Maybe you can send the status also using http and purely in the rules?
KR
Steve
I have no idx set in my devices and only use the relay for a 2CH sonoff. What I do is in the rules send my status to domoticz over HTTP.
SendToHTTP 192.168.xxx.xxx,8080,/json.htm?type=command¶m=switchlight&idx=64&switchcmd=Set%20Level&level=0
Maybe you can send the status also using http and purely in the rules?
KR
Steve
Who is online
Users browsing this forum: No registered users and 34 guests