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

Search results

  1. John Rucker

    Model S REST API

    Yep I can also get access to the charger's instant voltage and current. This is on the AC side and if I use Volts times Current = Power I get the same number as charger_power. The problem with this is I poll the car for that data ever minute and that only gives me a snap shot of the AC voltage...
  2. John Rucker

    Model S REST API

    I have created a wall gauge that shows the estimated cost of my vehicle's last home charge. The Pic below is from last nights charge process. It is showing an estimated cost of $7.75 for yesterday’s driving. I get the cost information from the response.charge_energy_added value. This is the...
  3. John Rucker

    How to calculate battery degradation for my Model X

    Man this is some awesome stuff!! I would love to see what you would come up with if you got TeslaFi out of the picture and pulled the data directly from your vehicle. In reading through TelsaFi's support forum the do a pretty good job of explaining how they come up with some of their data...
  4. John Rucker

    How to calculate battery degradation for my Model X

    Good video. Thanks!
  5. John Rucker

    How to calculate battery degradation for my Model X

    I wonder how TeslaFi is coming up with their battery degradation report?? Do you think the "Estimated 100% Range" number in the above two graphs is the same number that is reported on the dashboard's fuel gauge? It looks like what they are doing is recording this number every time the car is...
  6. John Rucker

    How to calculate battery degradation for my Model X

    I like this. I already have a program that tracks the amount of power it takes to charge the battery and percentage of charge. In fact I display it on my wall gauge in kWh to charge battery. I haven't made the correlation between the charge kWh and percentage of charge added, would be easy...
  7. John Rucker

    How to calculate battery degradation for my Model X

    After reading several post on model 3s reporting premature battery degradation I thought I would calculate it for my model X. My X is three months old and has about 2,500 miles on her. My goal is to get a feel for my current battery degradation and keep an eye on it over time. Based on what...
  8. John Rucker

    Model X: Average Wh/mile Tracker

    I totally get it (when it comes to being frugal) and was talking big. After a couple days of thinking about it, I don't think I'm going to buy the smaller tires. This is my first winter with the car and If I change the tire size I won't get good comparison between warm and cold weather.
  9. John Rucker

    Model X: Average Wh/mile Tracker

    Thanks. Did you see the 20" sonic carbon black wheels? Oh man I think I may have to order a set!! I wonder what improvement I will see in efficiency over the 22" wheels I have now.
  10. John Rucker

    Model X: Average Wh/mile Tracker

    I have been getting 364 to 390 watts per mile. I have 22" wheels and I think that is the reason I'm on the high side. Live in Illinois and have only had the car a few months. Weather is starting to cool and as expected the range is dropping. I'm beginning to regret buying the larger wheels...
  11. John Rucker

    Model S REST API

    It is going to depend on how often your 3rd party apps poll your vehicle's data endpoints and on what schedule. The 3rd party apps that I have seen have a sleep setting (determines how aggressive they are at keeping the CPU on-line). I'm betting there is no coordination between the various apps.
  12. John Rucker

    Could you live without the Tesla app?

    Upload the destination to the car from an address in eMail or Apple maps, cool the car, unlock the charge port when I don't have key in my pocket, and submit a service request to Tesla.
  13. John Rucker

    Could you live without the Tesla app?

    Without the Tesla App you're not going to get the advanced summon feature. That is one of the coolest things I have ever seen. Just last night my wife and I went to dinner with another couple. I dropped everyone off at the door and parked on the far side of the parking lot as usual. After...
  14. John Rucker

    Model 3 range display

    Just as a FYI you can access the "probable/typical" range through the Tesla API (requires custom code or a 3rd party app). I call it projected range and it is based on driving habits and environment. It is much more accurate than the EPA value shown on the fuel gauge. Well in my car it is anyway.
  15. John Rucker

    Model S REST API

    That sounds like a clean straightforward solution. I'm going to have to give it a try next time I have trouble with my current process. I wonder why your streaming solution is not reliable across multiple vehicles? I also wonder why some people say polling keeps their car from sleeping? I'm...
  16. John Rucker

    Model S REST API

    Okay If I'm falling correctly, your logic looks like this: Your app reads the https://owner-api.teslamotors.com/api/1/vehicles/:id end point and checks the state property. If state = online then start streaming to see if the car is driving or charging. At this point don't you keep the car from...
  17. John Rucker

    Model S REST API

    Ahh interesting. Are you using the streaming endpoint https://streaming.vn.teslamotors.com that returns speed, odometer, soc, elevation, est_heading, est_lat, est_lng, power, shift_state, range, est_range, heading? How do you use it to determine if the car would like to sleep? Does the car...
  18. John Rucker

    Model S REST API

    Yes I have seen similar behavior with my update to V10. I have also seen this after previous updates. It seems like after an update it takes 3 or 4 days for the car to settle back down into a normal sleep cycle. What does your poller use to determine when the car would like to sleep? I had...
  19. John Rucker

    Model S REST API

    Well done sir! Here is a link to ACDriveMotors TeslaJS library. 345 weekly downloads is impressive!! Great documentation! Would have been helpful to have your code as a reference earlier. My node app is about 90% done (just added encryption for the OAuth key based on Amazon KMS). Next on...
  20. John Rucker

    Model S REST API

    Love this forum! In going to fuel economy.gov (EPA site for fuel economy) I can see the advertised MPGe for my X is based on 35kWh/100 mi or 350 watts per mile. See this link at fuel economy.gov. That is what I was looking for I can now lookup various models and years and get their target...
  21. John Rucker

    Model S REST API

    I'm trying to understand what drives the charge rate in MPH used by Tesla. I have been recording charge cycles from my model X when it is connected to my Level 2 home charger (48 amps). It looks like there is a rough average of 355 watts of power per MPH of charge. I'm guessing this may...
  22. John Rucker

    Model S REST API

    Yep you were right the car will set speed = null even if you're still in the car. My poller now keys on: is_user_present == false && locked == true && charger_actual_current == 0. It will then go to a "let car goto sleep" poll cycle. Ever since the last update (about 4 days ago) the car...
  23. John Rucker

    Model S REST API

    ooh I like that! I didn't know that was in the API!! I will circle back to this a little later today and give it a try. Thanks!!
  24. John Rucker

    Model S REST API

    With the latest update that came out around 9/22/19. I can no longer depend on the shift_state = null trick to detect when my model X would like to sleep. I know this API is not officially supported by Tesla. But if anyone could suggest they add a "desired_state" to the API that would be...
  25. John Rucker

    Model S REST API

    Thanks Bruce! I thought that was the case.
  26. John Rucker

    Model S REST API

    That sounds cool. Have you thought about doing it with Node.JS on a Raspberry Pi? That way your Pi could set at home and monitor everything unattended. If you do it on your phone the app will have to be running all the time in background. It would be cool if you could trigger a charge from a...
  27. John Rucker

    Model S REST API

    Good stuff! Sounds like I need to rethink the every hour thing. Maybe do it based on time. Only wakeup once an hour between 6am and 6pm. Most of the time the car will be awake at that time anyway. Thanks for the input!!
  28. John Rucker

    Model S REST API

    I'm pretty sure I read in the manual that the car will loose about one percent a day of charge when sitting idle. My Mode X has not been driven since Monday and here it is Thursday, and sure enough according to the charge rate the car has gone from 90% to 87% charge. The car sleeps a huge...
  29. John Rucker

    Model S REST API

    My IDS is 5 + my ID value. I don't use the ID for anything should I? I have always used IDS. Great minds... I got in the car yesterday to check just that. I have Google Wi-Fi here at home and have good signal strength in the garage. The car has been setting for 3 days without moving an...
  30. John Rucker

    Model S REST API

    Has anyone had problems waking up their vehicle with the IOS app? I have a 2019 Model X and about three times now in the last month I have not been able to wake up my car with the IOS app. I can't do it with the API command either 'https://owner-api.teslamotors.com/api/1/vehicles/'+...
  31. John Rucker

    Model S REST API

    my "ids" changed again last night. I was looking it up only on initial start of the app. I was thinking this only changed once in a great while but mine has changed twice in the last two weeks. Now I if I get an error I use the VIN to get a new "ids" and continue to run. I have also noticed...
  32. John Rucker

    Model S REST API

    It is an open source platform for displaying IOT telemetry on a physical gauge. It is a project I have been working on for about two years now. Up to this point I have used it to create physical gauges for displaying river levels (Mississippi River, and Illinois River, etc) and their NOAA...
  33. John Rucker

    Model S REST API

    Yep my car's ID changed as well yesterday (2019 Model X). I now lookup the Tesla Car ID based on my VIN every time my node app starts. That should address future changes. I want to say thanks to @KWReid for the shift_state = Null (car wants to sleep). I implemented that yesterday and it...