Page 1 of 1

Switch: can I send state only when changed?

Posted: 09 Oct 2017, 13:54
by manjh
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:


Schermafdruk 2017-10-09 13.52.47.png
Schermafdruk 2017-10-09 13.52.47.png (93.13 KiB) Viewed 2567 times

Re: Switch: can I send state only when changed?

Posted: 09 Oct 2017, 13:58
by grovkillen
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.

Re: Switch: can I send state only when changed?

Posted: 09 Oct 2017, 15:43
by manjh
Ah, great when a solution is that simple....

Thanks!