Replies: 2 comments 2 replies
-
Homeassistant is not well-optimized for this sort of thing. Basically just a fact of life with it's data storage architecture (sqlite vs a purpose-specific time-series database like influx).
Yup. Pretty much what I do.
I believe you can configure this in influxdb: v2+, v1.
I have a similar setup with regards to influxdb, although I use grafana as the frontend. I keep all my data permanently, how do you know I won't want to run a report on my yearly energy consumption 30 years down the road? ;) |
Beta Was this translation helpful? Give feedback.
-
alright, influx it is. Thanks for the tip on the retention period config. Curious, any idea how many GB per year you're consuming for all the emporia data? I've only got a handful of days in mine so the sample size is too small to separate from the overhead. looks like influx also has the ability to store an aggregate value. that may be interesting to reduce long term data storage after a certain window. |
Beta Was this translation helpful? Give feedback.
-
The esphome emporia integration with homeassistant works great. However, if i put all 16 nodes on a single graph then I have to limit it to only show a handful of hours or else the graph gets unusably slow to react to mouse input. Ideally, i'd love to be able to have a 24h and a weekly graph.
I write a few sensors to influxDB for long-term persistence and that remains super snappy.. do i just need to write all my sensor data there? (hoping not). I kinda like that most sensor data is naturally purged by the HA recorder every 10 days.
Anyone have any tactics for improving the graph performance in HomeAssistant? Or, what alternative setups do you use?
Beta Was this translation helpful? Give feedback.
All reactions