I'm using a sonoff 4CH with firmware mega-20180625
It's connected to domoticz, domoticz is configured to send me telegram notifications.
I use this sonoff to fill up my swimming pool, it should be enabled manually and switched off after a delay, so i'm sure to not forget to switch it off.
Since a while i receive some notifications that the sonoff started filling the pool but i didn't switch anything on.
Today i was able to catch some logs:
Here is the sonoff log:
Code: Select all
EVENT: Clock#Time=Thu,11:43
42187521: SW : Switch state 1 Output value 0
42187525: EVENT: Bouton3#Bouton3=0.00
42187734: SW : GPIO 4 Set to 1
42199148: SW : GPIO 4 Set to 0
domoticz Logs
Code: Select all
2021-07-08 09:19:13.657 Vanne Arrosage: Light/Switch (Remplissage piscine)
2021-07-08 09:19:13.807 Notification sent (telegram) => Success
2021-07-08 09:19:13.653 Status: User: Admin (IP: 192.168.1.44) initiated a switch command (235/Remplissage piscine/On)
2021-07-08 09:19:13.654 Status: Notification: Remplissage piscine >> ON
2021-07-08 09:19:23.683 Vanne Arrosage: Light/Switch (Remplissage piscine)
2021-07-08 09:19:23.804 Notification sent (telegram) => Success
2021-07-08 09:19:23.681 Status: Notification: Remplissage piscine >> OFF
2021-07-08 09:19:24.016 Vanne Arrosage: Light/Switch (Remplissage piscine)
2021-07-08 09:19:24.133 Notification sent (telegram) => Success
domoticz just reported that the switch was switched on .
Sonoff reported a event on the button 3, is it the physical button ?
Maybe this one is "broken" and activate him self ?
i have this rule
Code: Select all
on Bouton1#Bouton1=1 do
if [Relais1#Relais1]=1
GPIO,12,0
else
GPIO,12,1
endif
endon
on Bouton2#Bouton2=1 do
if [Relais2#Relais2]=1
GPIO,5,0
else
GPIO,5,1
endif
endon
on Bouton3#Bouton3=1 do
if [Relais3#Relais3]=1
GPIO,4,0
else
GPIO,4,1
endif
endon
on Bouton4#Bouton4=1 do
if [Relais4#Relais4]=1
GPIO,15,0
else
GPIO,15,1
endif
endon
Thx