tim-hellhake / mi-flora-adapter

Mozilla Public License 2.0
1 stars 3 forks source link

Idea: add persistence #5

Closed flatsiedatsie closed 5 years ago

flatsiedatsie commented 5 years ago

Currently, if you reboot the Gateway, the Mi Flora devices will indicate 0% until the first scan. If you only request the values once a day, like me, this means you have an entire day where you can't quickly check the current value.

Perhaps the last values could be stored in a json file and re-presented to the gateway upon init?

tim-hellhake commented 5 years ago

Good point, I wonder if it would make sense to add such functionality to the gateway.