I have a rain sensor attached to one of my ESP units. It is configured as switch, and works OK.
The only problem is that it's state is transmitted to Domoticz periodically, regardless of state change.
I would prefer to have a transmission done only when the switch changes state!
Is this possible?
This is the current device configuration:
Switch: can I send state only when changed?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 516
- Joined: 08 Feb 2016, 11:22
Switch: can I send state only when changed?
You do not have the required permissions to view the files attached to this post.
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: Switch: can I send state only when changed?
Put delay to "0", and it will only be sent when changed. It is even stated that the delay is optional (see you own screenshot). More info is found on the wiki.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 516
- Joined: 08 Feb 2016, 11:22
Re: Switch: can I send state only when changed?
Ah, great when a solution is that simple....
Thanks!
Thanks!
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 19 guests