LucidLogger

bassmaster187

New Member

Joined
Mar 26, 2025
Messages
8
Reaction score
21
Location
South Germany
Cars
Lucid Air Pure AWD
I'm Chris from South Germany and founder of TeslaLogger with almost 8000 users. I purchased a Lucid Air and wanted to get all those fancy dashboards for my Lucid as well, so I used the API to gather data and fill the database of the TeslaLoger. Right now most of the features are working for the LucidLogger.

Here are some dashboards from the LucidLogger:

1749712780263.webp


1749713338634.webp


1749712851085.webp




1749712992143.webp


1749713104128.webp


LucidLogger is open source and free. Any donations are very appreciated: PayPal: [email protected]

LucidLogger runs on Docker and you can log Lucids and Teslas at the same time:

 

Attachments

  • 1749712907120.webp
    1749712907120.webp
    285.9 KB · Views: 82
I'm running into an issue trying to get the grafana container to boot without erroring out on my SynologyNAS and keeps restarting. There's a permissions issue. Do I need to explicitly grant permissions to grafana via SSH?

1749819170261.webp
 
I'm running into an issue trying to get the grafana container to boot without erroring out on my SynologyNAS and keeps restarting. There's a permissions issue. Do I need to explicitly grant permissions to grafana via SSH?

as far as I know Synology doesn't grant full access into docker folder. Not tested, but it should work:
sudo -i
cd /volume1/docker
mkdir teslalogger
chmod 777 teslalogger
cd teslalogger
mkdir backup
chmod 777 backup
mkdir mysql
chmod 777 mysql
mkdir invoices
chmod 777 invoices
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/.env -O .env
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/docker-compose.yml -O docker-compose.yml
docker-compose pull
docker-compose up -d

The last time I used a synology with teslalogger it was very slow on my DS718+
 
@bassmaster187 Super cool! hey...."explain to me like I'm 5".....How would I run this for my AT?
Well, that's not eazy. It would be better for you if you'll found anybody who can install you a docker anywhere and set it up. Otherwise I could make an Raspberry Pi Image for you and you can insert the sd card into a Raspberry.
 
as far as I know Synology doesn't grant full access into docker folder. Not tested, but it should work:
sudo -i
cd /volume1/docker
mkdir teslalogger
chmod 777 teslalogger
cd teslalogger
mkdir backup
chmod 777 backup
mkdir mysql
chmod 777 mysql
mkdir invoices
chmod 777 invoices
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/.env -O .env
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/docker-compose.yml -O docker-compose.yml
docker-compose pull
docker-compose up -d

The last time I used a synology with teslalogger it was very slow on my DS718+
got it. You're explicitly changing permissions on the folders to provide access. I'll start with the grafana folder and work backwards. I was making the incorrect assumption I had to grant a specific user access to the folders. I'll report back if I run into any other problems. All the other containers spun up without any issues.

thank you!
 
I think this is awesome. I wish I was technologically savvy enough to know how to use it.
 
Well, that's not eazy. It would be better for you if you'll found anybody who can install you a docker anywhere and set it up. Otherwise I could make an Raspberry Pi Image for you and you can insert the sd card into a Raspberry.
Gotcha...Let me consider that. I may have a resource......Thanks!
 
Well, that's not eazy. It would be better for you if you'll found anybody who can install you a docker anywhere and set it up. Otherwise I could make an Raspberry Pi Image for you and you can insert the sd card into a Raspberry.

It would be great if you update the RPi images. I started installing it on my QNAP NAS this morning before I left for work, but I haven't installed containers on it before, so I am not sure I'll manage to make it work. I have few RPi5s laying around though...
 
Great post! I have this working in Docker, got my Lucid registered....but am unsure of best place to get started. The admin console (with the green background) has a bunch of links under 'dashboard' but they are all hardcoded to have a URL of http://raspberry:3000....which all result in host not found. If I manually change the resulting URL localhost (since it's docker) to point to the grafana instance, I see the grafana login screen, but don't know what credentials to use.. Even though I've updated the admin credentials, I can't login as 'admin' with the specified password on the grafana login screen.

If you can post a few URL's to get started, and guidance as to how to login at the grafana screen, or how to create/alter the credentials, I should be off to the races. Looking forward to check this out in more detail! Thanks for creating this.
 
as far as I know Synology doesn't grant full access into docker folder. Not tested, but it should work:
sudo -i
cd /volume1/docker
mkdir teslalogger
chmod 777 teslalogger
cd teslalogger
mkdir backup
chmod 777 backup
mkdir mysql
chmod 777 mysql
mkdir invoices
chmod 777 invoices
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/.env -O .env
wget https://raw.githubusercontent.com/bassmaster187/TeslaLogger/refs/heads/NET8/docker-compose.yml -O docker-compose.yml
docker-compose pull
docker-compose up -d

The last time I used a synology with teslalogger it was very slow on my DS718+
This worked perfectly to get everything installed and working. new issue:
1749836657447.webp


Should I point port 5000 back to my NAS from my router? Or am I missing something obvious
 
This worked perfectly to get everything installed and working. new issue:
View attachment 29676

Should I point port 5000 back to my NAS from my router? Or am I missing something obvious
nevermind. figured it out. I had to make sure my settings were correct.
 
@coma24

Try to connect to Grafana with browser: http://localhost:3000 (admin/teslalogger) <-- should show the grafana home page

Try to connect to Admin-Panel http://localhost:8888/admin/ <-- should show telsalogger

To get it working for me:
-Go to Settings -> Admin Panel URL -> Set to http://localhost:8888/admin
-Go to Settings -> Grafana URL -> Set to http://localhost:3000

Oddly I had to go to do this first: Settings -> Teslalogger Adminpanel -> Enter credentials --> Admin -> teslalogger
Then Settings -> MyTesla / MyLucid -> Enter your Lucid credentials

There is no legacy data. All new drives will appear on dashboards.

This is pretty neat. Will be fun to play around with it to see how the driving is.

@bassmaster187 I would suggest updating the Synology setup info with what you provided above. It worked flawlessly.
 
For anyone wondering, I'm running this on a Synology DS220 NAS and I'm not having any issues with performance. Everything seems to be working really well and smoothly. It'll pulling in all the data from above. The issue I'm seeing is that the data is in KM and C versus Miles and F. Not sure how to make that change if it's even possible. The settings have the option, but it doesn't seem to impact the datasets.
 
@coma24

Try to connect to Grafana with browser: http://localhost:3000 (admin/teslalogger) <-- should show the grafana home page

Try to connect to Admin-Panel http://localhost:8888/admin/ <-- should show telsalogger

To get it working for me:
-Go to Settings -> Admin Panel URL -> Set to http://localhost:8888/admin
-Go to Settings -> Grafana URL -> Set to http://localhost:3000

Oddly I had to go to do this first: Settings -> Teslalogger Adminpanel -> Enter credentials --> Admin -> teslalogger
Then Settings -> MyTesla / MyLucid -> Enter your Lucid credentials

There is no legacy data. All new drives will appear on dashboards.

This is pretty neat. Will be fun to play around with it to see how the driving is.

@bassmaster187 I would suggest updating the Synology setup info with what you provided above. It worked flawlessly.
Can't believe I missed the option to change the various URLs even though I'd visited that page to alter the credentials. Not my best work. Thanks for posting the correction!
 
@bassmaster187 can you verify a couple of things about the architecture, as I'm unfamiliar with the fundamentals of how the data is shared, and by which entity. My primary interest right now is an making sure that use of this software won't cause the car to remain awake any longer than it normally does (in light of the fact that the Lucid android app currently has a bug which is causing the car to remain online, causing phantom drain unless you force stop the app).

I assume the software is simply pulling data from the Lucid servers using the login credentials that I specified, and that there are no attempts to reach the car directly. I assume that the car 'phones home' and routinely sends the data to Lucid's servers through its normal behavior in any case.
 
@bassmaster187 forgot one more question, is there a convenient way to change the timezone of the timestamps that are presented in the data? I looked through the docker compose files and see the TIMEZONE environment variable being defined, but as I look through the individual docker services I see the timezone being defined as well on a service-by-service basis. Is it ok to change those in each instance where I find them? I assume that timezone is being set for the docker container and that the software is timzeone agnostic, and is simply asking the machine for what the local time is, which is why there isn't a TZ setting within the admin panel itself? (also a software devleeper here, and recent dockerized our legacy intranet CMS).
 
@bassmaster187 forgot one more question, is there a convenient way to change the timezone of the timestamps that are presented in the data? I looked through the docker compose files and see the TIMEZONE environment variable being defined, but as I look through the individual docker services I see the timezone being defined as well on a service-by-service basis. Is it ok to change those in each instance where I find them? I assume that timezone is being set for the docker container and that the software is timzeone agnostic, and is simply asking the machine for what the local time is, which is why there isn't a TZ setting within the admin panel itself? (also a software devleeper here, and recent dockerized our legacy intranet CMS).
You’ll want to change it in the .env file, as the docker compose looks for TZ first as an environment variable and only uses Berlin if that env variable is not defined.
 
Hmmm...apparently I made a wrong turn at the forum index and wandered into an alternate universe.
 
Back
Top