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

Moderator: leecollings

Post Reply
nowy
Posts: 7
Joined: Wednesday 21 October 2020 19:26
Target OS: -
Domoticz version:
Contact:

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

Post 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.
Attachments
2021-05-05 10_07_43-Window.png
2021-05-05 10_07_43-Window.png (30.73 KiB) Viewed 409 times
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

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

Post 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.
Regards,

Rob
nowy
Posts: 7
Joined: Wednesday 21 October 2020 19:26
Target OS: -
Domoticz version:
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest