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.
While you're at it, check outThank you so much Sorbl! So it seems the data is indeed available. Now I can easily add this to my web app UI to track the data.
While you're at it, check out
as well.
You can use the ip address, the example provided was expecting you to trade out the hostname with a new one or with the IP address.These links don't seem to work.
This info is fantastic! Thanks so much for sharing -- I had my Wall Connector installed yesterday, and I used these calls to verify that it's set up properly, since I have no car with which to test it ... yet! (DD minus 7 and counting!)While you're at it, check out
as well.
I had my Wall Connector installed yesterday, and I used these calls to verify that it's set up properly, since I have no car with which to test it ... yet!
Correct, the Wall Connector's web interface is the only way to change its configuration. But the API endpoints you provided deliver much more information than the web interface AND are accessible via the local network, so a double win! Thanks again for posting them!To configure the Wall connector, I believe you need to connect to its Hotspot, using the password on the QuickStart pamphlet you received (see here for instructions); you can't do that via your wifi network. But, for getting data off of the Wall connected, the above API endpoints work well.
Props to anyone who finds some new endpoints not listed above.
Can you ping the IP?I can’t seem to get the api to work even when using the IP address. Is there something I’m missing?
I can only ping the IP if login to the wall connector access point with the wpa2 password. Pinging the IP through my home WiFi gateway does not work.Can you ping the IP?
You might also check to see if this works:
If you can't access the public page, (separation may or may not allow ping) you may check to see if you have AP access separation enabled?
I got the api working. One problem solved!I can only ping the IP if login to the wall connector access point with the wpa2 password. Pinging the IP through my home WiFi gateway does not work.
Ok, so I went to my states smart meter website to review my home energy usage to see what I could extrapolate for charging the M3LR battery. Below is the daily plot of home usage. The battery started to be charged on 12/29 and completed the morning of 12/30. Based on the days before and after, it appears the battery charge was ~30kwh. So what it appears is that session_energy_wh (and lifetime energy_wh) is sort of in kwh, but the decimal is one place off…. 317.000 = 31.7 kwh.I got the api working. One problem solved!
Looking at the lifetime api the energy_wh it reads 317 after the first charge of my M3LR. I’m not sure how to read this because I charged from 30% capacity (~100mi range) to 84% capacity (~300 mi range). 317 wh is way to little and 317 kwh is way too much. So what are the correct units?
Interestingly, the charge_starts says 31 despite this being the first time I charged. So I’m wondering if Tesla did some verification testing before shipping? If so that could explain 317kwh for the energy_wh output.
Is there an api for the last charge cycle stats vs. only having the lifetime api?
So the Tesla Wall Charger has its own API that is accessible on your local intranet, but does not publish to the internet? I ask because there are solar panel inverters that have API’s and also publish data to the internet, but requires API key to access. These inverters also have an app that displays the data, too (SolarEdge, EnPhase). I was hoping the wall charging unit I buy has a API and an app.
Is there an api for the last charge cycle stats vs. only having the lifetime api?
I too would question the numbers. It looks like you have used a lot of power per session.What am I doing wrong here? In http://wall.connector.uri/api/1/lifetime I have replaced wall.connector.uri with the IP of my wall connector.
The readings for energy_wh" is 53779220 which is insane. It means that I have charged 53779.22 kWh. In other words, I have charged my model 3, 717 times from 0-100% ???
I have only charged my BMW i3 (30ish times) and Model 3 , 3 times for maybe, total of 60%
all the readings are:
{"contactor_cycles":511,
"contactor_cycles_loaded":4,
"alert_count":26579,
"thermal_foldbacks":0,
"avg_startup_temp":5.6,
"charge_starts":511,
"energy_wh":53779220,
"connector_cycles":144,
"uptime_s":27581277,
"charging_time_s":1494391}