Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

TeslaMate [megathread]

This site may earn commission on affiliate links.
Guide here for that if it helps: How to setup and run TeslaMate on a Digital Ocean Droplet server - TeslaEV.co.uk

It's where mine runs from these days, only because GCP kept getting blocked (been fine since October from what I gather).

Well, Google had a worldwide outage for over an hour yesterday so assume GCP got borked too. But I like to host in the EU/Switzerland whenever I can which was my main driver for that decision. Couldn't be happier with the performance! Also, you may wish to update your guide to include setting up the free Digital Ocean Firewall. Costs nothing and adds a layer of security on top. I only have HTTPS open for example. Occasionally I may open SSH just for the brief moment I want to dive in directly without using the DO Console access via a browser.

Screenshot 2020-12-15 at 11.04.43.png
 
  • Like
Reactions: DaveW
Is anyone recording the cost of their charges in Teslamate with Octopus Go or a similar off peak tariff?

I'm temporarily switching from Agile > Go but wondered how to track the new costs in Teslamate? Is it just a case of adding the off peak rate per kWh to your home geofence? (and make sure you don't charge outwith these times?)

If so, any idea if it'll overwrite the previously stored charge costs? - I suspect/hope not.

I'll take a backup of the server tonight, comment out the Agile integration, update the kWh rate for my home location and see what happens unless anyone has any wise advice they can share.
 
OK - overwriting the cost per kWh on my home geofence didn't wipe any existing values.

If anyone has setup Teslamate with the Agile integration, and is switching over to Go temporarily...

1. Take a backup/snapshot
2. Edit the .yml file, comment out the line `TeslaMate_GeofenceId=` with a # at the beginning of the line.
3. docker-compose restart
4. Open your Teslamate page and in Geo-Fences find the entry for your home.
5. Set the value per kWh (for Octopus Go it's 0.05)
6. Save

I think that's all that's required. Obviously if you charge outwith the off peak rate you'll need to set the charge manually (would love to be corrected on this).

When switching back to Agile, edit the .yml and remove the #.
 
Hey man, I recommend you switch and try using a DigitalOcean Droplet to host Teslamate. You can host this in Frankfurt or Amsterdam and I noticed you are in Amsterdam. Should be much better than Google hosting in the US. I am doing this and it works fantastic with the smallest droplet. You'll get $100 free for 3 months and then after that its about $5 a month.

I then used BackBlaze B2 to automate the backups with a slight modification to @DaveW's great guides. This allows me to also have the Backups stay in Europe and BackBlaze is much cheaper than Amazon with the same functionality for their storage buckets.
Thanks, will try!
 
  • Like
Reactions: DaveW
  • Like
Reactions: ElRey and DaveW
Noticed that Aberdeen was added to the list I export from, guide updated, single line if you just want to add this one:

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Aberdeen Supercharger', 57.110318, -2.092522, 35, '2020-12-18 06:33:00 ', '2020-12-18 06:33:00 ', 0.24, NULL);
 
Noticed that Aberdeen was added to the list I export from, guide updated, single line if you just want to add this one:

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Aberdeen Supercharger', 57.110318, -2.092522, 35, '2020-12-18 06:33:00 ', '2020-12-18 06:33:00 ', 0.24, NULL);
Thanks Dave. Is Edinburgh Newbridge available yet?
 
Thanks Dave. Is Edinburgh Newbridge available yet?

Last Edinburgh one was:

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Edinburgh Supercharger', 55.9453739, -3.3671657, 35, '2020-05-21 15:54:00 ', '2020-09-06 08:24:00 ', 0.24, NULL);

But that's been there since May? - Seems to take a few weeks, I'm guessing it's based on people reporting back to open charge map the coordinates
 
Last Edinburgh one was:

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Edinburgh Supercharger', 55.9453739, -3.3671657, 35, '2020-05-21 15:54:00 ', '2020-09-06 08:24:00 ', 0.24, NULL);

But that's been there since May? - Seems to take a few weeks, I'm guessing it's based on people reporting back to open charge map the coordinates
Thanks Dave, believe it only came online two days ago, certainly wasn't there in May. There's now Edinburgh and Edinburgh Newbridge superchargers, they're within a couple of miles of each other.

Once I'm allowed out I'll add it to open charge map if someone doesn't get their first.
 
  • Like
Reactions: DaveW
Weirdly, OpenchargeMap do have Gridserve listed and they know it has Tesla Superchargers, but they don't come up when you do the API call.

Added directly (just about to update my list on the site)

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Gridserve Braintree Supercharger', 51.85214557376324, 0.5219387754701756, 35, '2020-12-23 06:33:00 ', '2020-12-23 06:33:00 ', 0.24, NULL);
 
Almost, have dropped a pin on the precise location:

Dropped pin
Near Edinburgh
Google Maps

55.933919,-3.407793

Thanks, I'll have a go at submitting :)

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Edinburgh Newbridge Supercharger', 55.933919,-3.407793, 35, '2020-12-23 06:50:00 ', '2020-12-23 06:50:00 ', 0.24, NULL);

Is what I've just made manually though if you want to import
 
  • Helpful
Reactions: Medved_77
Thanks, I'll have a go at submitting :)

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Edinburgh Newbridge Supercharger', 55.933919,-3.407793, 35, '2020-12-23 06:50:00 ', '2020-12-23 06:50:00 ', 0.24, NULL);

Is what I've just made manually though if you want to import
Perfect, thanks for maintaining these.
 
Two more submitted and manually added:

Code:
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Crawley SC Supercharger', 51.13687082038547, -0.1911608179539438, 35, '2020-12-16 06:33:00 ', '2020-12-16 06:33:00 ', 0.24, NULL);
INSERT INTO public.geofences (name, latitude, longitude, radius, inserted_at, updated_at, cost_per_unit, session_fee) VALUES ('Banbury Cross Supercharger', 52.07293517090728, -1.3417527342347173, 35, '2020-12-08 06:33:00 ', '2020-12-08 06:33:00 ', 0.24, NULL);