Page 1 of 1

Rain Bird RSD-BEX Rain Sensor as switch via ESP Easy

Posted: Wednesday 05 May 2021 10:10
by nowy
Hi All,

Anybody has experience with Rain Bird RSD-BEX Rain Sensor. I connected it to the ESP Easy Mega as Switch input to GPIO-14 to have it visable in Domoticz as simple switch. Idea is that if the switch is on (so rain sensor disconnected the circuit because of rain) then I have a dzvents rule to watering the lawn if the sensor is on then watering the lawn is disabled. Problem is that when rain sensor disconnected the circuit ESP Easy Mega changes the state very chaotic for example couple times per sec or every sec or every few seconds. Could you please check what can be wrong in the ESP Easy settings.

Re: Rain Bird RSD-BEX Rain Sensor as switch via ESP Easy

Posted: Wednesday 05 May 2021 13:08
by erem
you can try
- changing the switch type to push button active low or high
- setting a debounce time
- use safe button

you can set the debug value in espeasy (tools-advanced web log level=debug)
to see what is being processed.

Re: Rain Bird RSD-BEX Rain Sensor as switch via ESP Easy

Posted: Wednesday 05 May 2021 17:08
by nowy
Based on logs its bouncing all the time:

Code: Select all

May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: SW  : GPIO=14 State=0 Output value=1
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: EVENT: Sekcja6#State=1.00
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: SW  : GPIO=14 State=1 Output value=0
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: EVENT: Czujnik#State=0.00
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: EVENT: Czujnik#State=1.00
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: EVENT: Czujnik#State=0.00
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: SW   : State 1.00
May  5 17:38:39 192.168.3.16 Podlewanie EspEasy: SW   : State 1.00