I am also interested in having multiple databases. A two-database setup allows some data to be stored locally for a year or two, and all the data to be stored permanently on an external server. Did you find out any solution for this?
I am also interested in this since I already have an influxdb cloud database and I want one locally through the influxdb addon!
Any idea how is this possible???
Some suggested copying the integration from the HA core, renaming it, and importing it as custom_component. Then use the custom component for the other database. It seems like it should work, but I did not manage to do that.
sad, I keep coming back hoping that there is support for this.
My use case is I want a “prod” bucket in InfluxDB that stores only included sensor data for a long time and a “dev” bucket that only lasts 30 days or so where everything gets dumped to and I can play around with data or figure out what is actually useful to then start capturing in the “prod” bucket.
According to HA Discord, this use case is not intended to work. The person behind the InfluxDB integration probably doesn’t even know we’d like such a feature, so he might not even consider it. It might be possible they add this feature if anyone opens a GitHub request. I haven’t been able to do that for some reason and the language barrier would be challenging for me anyway.
Has anyone made progress on this? I’m sending up lots of data to one bucket with a 24 hour retention, using a influx task to move cleaned data to another bucket with a much longer retention. Then I’d like to download data from that second bucket into HA…