AaronLionsheep / ShellyMQTT

IndigoDomo Plugin that interfaces with Shelly devices over MQTT.
MIT License
0 stars 0 forks source link

Battery Depleted Notice #56

Closed AaronLionsheep closed 3 years ago

AaronLionsheep commented 4 years ago

For battery devices, the user could specify a maximum period between data reporting. If a device does not report, then the battery must have died (or lost connection).

If an announce message is seen from the device over the specified period, maybe log some error.

AaronLionsheep commented 4 years ago

can use setErrorStateOnServer(message) detailed in the API.

AaronLionsheep commented 4 years ago

The low battery level should be configurable from the plugin settings.

There should also be a trigger that fires for a specific device or for all devices when the battery level changes AND it is below the threshold.