ioBroker / ioBroker.lovelace

Visualization with Lovelace-UI
Apache License 2.0
58 stars 28 forks source link

Multiple databases support #502

Open NEA8 opened 4 months ago

NEA8 commented 4 months ago

Hi, currently only one database can be used as a source. If multiple databases are used, one must choose between the two.

The background is that I mainly use two databases (influxdb):

  1. First database with unlimited recording.
  2. Second database with 2 year retention period.

Problem is that I want to display (combined/separate) graphs from the two databases.

Is it possible to add support for multiple databases?

Greetings Nea8

Garfonso commented 4 months ago

Currently, there would be no way to determine which entity should draw its history from which database.

So this would have to wait, until some kind of entity registry is implemented. I have a rough plan for that in my head but did not yet find the time and energy to implement & test it. So better don't hold your breath for this feature... :-/

There are some workarounds, though: