nibi79 / worxlandroid

openHAB Binding for Worx Landroid
57 stars 20 forks source link

Statistics of the day/week/month #9

Closed hubr64 closed 4 years ago

hubr64 commented 4 years ago

Currently, the binding provide three statitistics :

An enhancement should be to provide these 3 informations for the current day, for the current week and for the current month. I implement this in a rule but if the binding can provide it natively it would be very nice !

nibi79 commented 4 years ago

The binding itself is not be able to provide this data because the binding is stateless and don't store any data. After restarting, reloading, editing your configuration etc. all data is lost for the binding. You need a database to store the values. So the binding is not suitable and your rules (persistence,...) are the right way to do this.

Sorry, but thanks for participating!!