Took me a while to realise you needed to log into the Grafana dash as admin to be able to create new dashboards/panels etc as well.
Aha!
Every day is a school day...
You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
Took me a while to realise you needed to log into the Grafana dash as admin to be able to create new dashboards/panels etc as well.
Check on adriankumpf/teslamate. This has been an issue before.My car updated its software overnight from 2020.12.5 to 2020.12.11.1. On the TeslaMate homepage it shows this new software version, but in Grafana it is showing the old one everywhere. Do you have to be in the car, or have driven it, to "complete" the installation for Grafana etc to pick this new version up? I haven't been in the car before or since it updated.
Grafana is just drawing on the same data in TeslaMate, so if the TeslaMate home page is showing the right version, it should also show in the Grafana reports. I suspect it’s a bug. I can’t replicate because I’m still waiting for a software update...My car updated its software overnight from 2020.12.5 to 2020.12.11.1. On the TeslaMate homepage it shows this new software version, but in Grafana it is showing the old one everywhere. Do you have to be in the car, or have driven it, to "complete" the installation for Grafana etc to pick this new version up? I haven't been in the car before or since it updated.
Three days ago actuallyThe new TeslaMate version also dropped yesterday.
Nice new heatmap for charge locations.
Of course, here you go:@Roy W.
Could you do me a favour please? I've rebuilt my instance today (along with Homebridge as the Pi just kept failing), having performed a restore I now can't do backups any more and I think it's due to the services being renamed and me needing to update the compose.yml
Could you run docker ps and paste the output in here please?
Might this help, from the documentation?Thanks @Roy W.
Although I'm now further confused, as I was hoping the pi_mosquitto_1 might have been because I did a restore.
Trying to run the backup command gives me: No such service: database - following the advice on the backup page I changed it to db in the text and get the same thing.
I've posted an issue (After performing a restore, I now can't perform backups · Issue #696 · adriankumpf/teslamate), hopefully someone smarter than me will be able to help
Might this help, from the documentation?
If you get the error No such service: database, update your docker-compose.yml or use db instead of database in the above command.
My Pi 4 kept turning off WiFi. I tried turning off power management, but it still failed. In the end switching to 2.4GHz rather than 5 seems to have solved it, although I was contemplating switching to Ethernet....I've not got the headache of working out why my Pi stops responding every night. It had been happening with Homebridge before hand I believe, but I hadn't been that on top of it.
I know it was working up until around 4am when my car finished charging, as TeslaMate shows that data - Homebridge logs look fairly useless though.
My Pi 4 kept turning off WiFi. I tried turning off power management, but it still failed. In the end switching to 2.4GHz rather than 5 seems to have solved it, although I was contemplating switching to Ethernet....
Updated my history/overview dash with a few more custom panels. Happy to share the json code if anyone wants to add any to theirs.
It'd be great to see some of the workings please @Russinating
I've used Grafana loads at work, but the data source there is much simpler for me to get my head around
SELECT count(*) FROM drives WHERE car_id = $car_id AND distance > $mediandistance
SELECT convert_km(percentile_disc(0.5) WITHIN GROUP (ORDER BY distance), '$length_unit') FROM drives WHERE car_id = $car_id
SELECT convert_km(odometer, '$length_unit') * 0.15 - $chargecost FROM positions WHERE car_id = $car ORDER BY date DESC LIMIT 1
SELECT sum(cost) FROM charging_processes WHERE car_id = $car
Thanks @Russinating
I've managed to get rclone installed and managed to get it to copy over my backup file to Google Drive, now to see if it'll work via Cron - I'll share when / if I get it working!