Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple databases support #502

Open
NEA8 opened this issue Feb 19, 2024 · 1 comment
Open

Multiple databases support #502

NEA8 opened this issue Feb 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@NEA8
Copy link

NEA8 commented Feb 19, 2024

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 Garfonso added the enhancement New feature or request label Feb 28, 2024
@Garfonso
Copy link
Collaborator

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants