bassmaster187 / TeslaLogger

TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
https://www.teslalogger.de
GNU General Public License v3.0
518 stars 171 forks source link

Problems with external MariaDB 10.6.10 (Docker) #942

Open KapUttyy opened 1 year ago

KapUttyy commented 1 year ago

I am running Teslalogger in Docker on a Homeassistant installation which works absolutely fine.

As Homeasssistant brings its own Add-On with a MariaDB-Installation I wanted to migrate the database out of the TeslaLogger mysql-Docker-Container to the MariaDB-Instance which actually also is a Docker-Container.

The Target DB-Docker runs MariaDB 10.6.10. The Source DB-Docker from TeslaLogger runs MariaDB 10.4.7.

Unfortunately the "Akku Trips" Dashboard does not display any data running on the target MariaDB. If I open the Inspect window and run the query out of grafana, I only get an empty response. All other Grafana-Dashboards and also Teslaloggers Admin Panel runs everything fine.

Is there a compatibility issue between MariaDB 10.6.10 and the executed SQL-Query from the dashboard or am I doing something wrong?

lits101 commented 6 months ago

Just out of interest, how are you configuring Teslalogger to talk to the MariaDB hosted on Home Assistant?

I've tried modifying the DBConnectionString in TeslaLogger/App.config file, but it doesn't have any effect...

KapUttyy commented 6 months ago

I tried exactly that. Don't know if this isn't possible anymore as configuration is automated now.