ioBroker/ioBroker.lovelace

Multiple databases support

Opened this issue · 1 comments

NEA8 commented

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

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:

  • you could use two instances of lovelace with different settings
  • you could create the diagrams with some other means (for example graphana) and import them into lovelace, for example with the iframe card (or as image)