B1tMaster / haas-config

SmartHouse
1 stars 0 forks source link

Investigate improving Wind Alerts reporting by using stats and history sensors #79

Open B1tMaster opened 6 years ago

B1tMaster commented 6 years ago

SQL sensor did not produce good results as SQLAlchemy does not flush data to database often enough..

new ideas:

this new Sensor filter platform : https://github.com/home-assistant/home-assistant/pull/12650

this may actually work for what I need.. but maybe add computing AVG to this sensor.. May need new PR for this. https://home-assistant.io/components/sensor.statistics/

This one not sure: https://home-assistant.io/components/sensor.history_stats/

A new PR.. Not clear if this will work as it seem to read from DB as well: https://github.com/home-assistant/home-assistant/pull/10717