Hey,
After few years of usage, I’m facing a capacity challenge on my HomeAssistant VM. I would like to keep my history for long time (3 years). So I’ve reconfigured my entire storage logic like follow:
history:
recorder:
db_url: mysql://homeassistant:xxx@core-mariadb/homeassistant?charset=utf8mb4
influxdb:
host: x.x.x.x
port: 8086
database: xxx
username: xxx
password: xxx
max_retries: 3
default_measurement: state
As you can see, I run MariaDB for short term data, InfluxDB for longterm.
What I would like to archieve: filter the entities that are sent to influxDB as I dont want to have everything there for a long time. To make it easy, I would like to create a tag/label called “Send to influx”, and have an include rule to filter only those entities.
Looks like current include rules are only taking into account entities names, regex, and domains. How can I make it happen with labels ?
Many thanks for your ideas,
Cheers,