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.
@uncleiven I stuck mine just before
Code:volumes: teslamate-db: teslamate-grafana-data: mosquitto-conf: mosquitto-data:
at the end of the file
Awesome, got that working now so what's next lol
Have you imported the supercharger destinations? Imported destination charger locations? Setup an automated backup? (if you haven't, hold off on that one, as I'm tweaking it!).
Back to the TeslaMate mega thread with you!
I wasn't going to bother with the charger locations, back ups etc for now.
So I have Teslamate setup and can get data via Grafana Dashboards.. great. Now I want to use the iOS widget via Scriptable... again, sorry the instructions don't seem to be clear to me so not sure what I need to do next.
Ah, sorry, I thought you meant you'd sorted this completely
OK, so you've put the docker lines into docker-compose, have you then run docker-compose up -d to get Landro's docker image to install?
If so, go to a browser and put in the following: http://yourserveripaddress:3040/car/1/?api_key=monkeytennis
Moderator comment - removed problematical / to keep inline with edited QP
Replacing yourserveripaddress with either the ip of your hosted box, or either the grafana.domain.com or tm.domain.com you've used. Replace monkeytennis with your unique api key you created
Assuming you see JSON output there, you can then move onto getting this working on your phone.
Install the scriptable app, once done you can copy over the TeslaData Widget.js and tesla_data folders over to the scriptable folder on iCloud. When you open Scriptable next, you should see the TeslaData widget available as a script.
I personally then had to edit the parameters.js file within the tesla_data folder and hardcode in the API url (the one you tried above), removing the // at the start to stop it from being ignored.
After that you can add a scriptable widget to your desktop, choose the TeslaData widget, Run Script and done!
No worries
I'm still chuckling at money tennis haha.
Ok so when I browse to the URL with my details I get 404 not found.
docker-compose is up but looking at the output the Landro's container isn't in root like the others so not sure if that is causing the issue?
View attachment 626858
An Alan Partridge special
If you run docker ps - do you see telamate_mqtt_api showing as running?
Might just flash the server and start again.
I was playing with something similar but for Android over the weekend. Longshot but try changing the car id in the URL. My car's ID was 2 instead of 1. Got a feeling that may increment each time you do a new install of TeslaMate.Sorry mate, already gone ahead and did a fresh install. It doesn't take long to blast through the commands
Still getting 404 error... will PM you as well.View attachment 626889
I was playing with something similar but for Android over the weekend. Longshot but try changing the car id in the URL. My car's ID was 2 instead of 1. Got a feeling that may increment each time you do a new install of TeslaMate.
I was playing with something similar but for Android over the weekend. Longshot but try changing the car id in the URL. My car's ID was 2 instead of 1. Got a feeling that may increment each time you do a new install of TeslaMate.
Try removing the trailing slash.
Instead of /car/1/?api_key=X it should be /car/1?api_key=X
Subtle but important difference