mikekap / wink-mqtt-rs

MQTT Relay for the Jailbroken Wink Hub v1, with Home Assistant MQTT autodiscovery support
Other
14 stars 0 forks source link

Avoid sending mqtt messages if the status hasn’t changed #28

Open mikekap opened 3 years ago

mikekap commented 3 years ago

Right now we just send a message every 10 seconds. We could keep a map of the previously sent value. If nothing is different, just don’t send the mqtt message.