Implementation of external databases (e.g. InfluxDB)
See original GitHub issueChecklist
- I am running the latest version of the card
- I checked if there isn’t another feature request opened with the same request
- [] I checked that the feature is not already available in the
dev
branch
Is your feature request related to a problem? Please describe. The database in HA does not store long term data e.g. for energy consumption or other data that needs to be evaluated over longer time periods. It is also not suited to do so. Many, maybe most, users switch to additional databases such as InfluxDB.
Right now this data cannot be accessed in the ApexCharts without high levels of code adjustments (impossible for beginners and difficult to maintain for advanced users). These adjustments also prevent the user from using great additional add-ons such as auto-entities.
Describe the solution you’d like Please, add an option to access InfluxDB data. Other add-ons like Grafana only need user name and password, plus database name and address. Maybe this could be implemented in ApexCharts also? All one would need would then be an additional vairable at the beginning of the card such as “db” where you specify whether to use “db :HA” or “db: influxdb” and the respective entities will be searched for in that DB only.
I hope it is clear what I mean. Basically a variable that defines the source database and the rest stays the same. Variable names in both databases are the same anyway as the data is simply a permanent copy of the short-term HA DB data.
Describe alternatives you’ve considered There are none 😦 Grafana is an alternative, but it is faaaar less versatile and cannot be implemented into lovelace as easily and beautifully as ApexCharts.
Additional context None.
Thank you for your consideration Alex
Issue Analytics
- State:
- Created a year ago
- Comments:31 (15 by maintainers)
Yes, I’m planning to implement that. Not yet sure what it will look like though 😃
This issue was closed because it has been stalled for 10 days with no activity.