ESP output flickering
Posted: Friday 05 January 2024 14:28
I have been struggling with this problem for several years and I can't cope.
ESP Output turns on and off very fast after reboot for a few or a dozen or so seconds. (Sometimes this happens when you quickly turn the switch on and off).
Domoticz ver: 2023/2 on Raspberry Pi
ESP_Easy: mega-20231225
Although it doesn't matter because it is not dependent on the software version or whether it is esp32 or esp8266.
It looks as if Domoticz was shouting over ESP Easy and vice versa, how to set the output.
Removing On/Off action from switch settings ends this behavior, but then Im not able to control output from Domoticz dashboard.
Domoticz:
I created dummy hardware with virtual sensor type: Switch with Idx:127
Inside switch settings I created http request to turn on or off ESP output.
ESP Easy:
I created two devices, one for ESP output with Idx: 127 called "Light" and one for ESP input.
I also make one rule:
Its a very minimal setup but is killing me when during night, after ESP reboot due to network failure I have a DISCO at home
Any sugestions ?
ESP Output turns on and off very fast after reboot for a few or a dozen or so seconds. (Sometimes this happens when you quickly turn the switch on and off).
Domoticz ver: 2023/2 on Raspberry Pi
ESP_Easy: mega-20231225
Although it doesn't matter because it is not dependent on the software version or whether it is esp32 or esp8266.
It looks as if Domoticz was shouting over ESP Easy and vice versa, how to set the output.
Removing On/Off action from switch settings ends this behavior, but then Im not able to control output from Domoticz dashboard.
Domoticz:
I created dummy hardware with virtual sensor type: Switch with Idx:127
Inside switch settings I created http request to turn on or off ESP output.
ESP Easy:
I created two devices, one for ESP output with Idx: 127 called "Light" and one for ESP input.
I also make one rule:
Code: Select all
On System#Boot do
gpio,14,0
endon
On Input#State=0 do
if[Light#State]=0
gpio,14,1
else
gpio,14,0
endif
endon
Any sugestions ?