Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register
  • We just completed a significant update, but we still have some fixes and adjustments to make, so please bear with us for the time being. Cheers!

Model S REST API

brogge

New Member
Dec 9, 2014
2
0
Belgium
Hello all,

I'm still working on a tool to monitor my Tesla (all kinds of stats and possibilities -- if someone is interested in having a look at it, just let me know). However, I can login anymore :( The cookies are still working, but loging in through Portal with the cookies set to user_session and user_session[password]. I keep getting an http 500 error. It used to work and as far as I know my code hasn't changed :)

So am I missing a change in the API or the login that is no longer supported? When I enter my login and password on the my tesla site it works fine.

Any help is greatly appreciated as my cookes are about to expire and then I'm stuck :(

boris
 

hans

P631
Sep 27, 2012
1,132
13
Menlo Park
Can anyone with 6.2 firmware confirm if there is a new charge field if the charge_state data called "trip_charging"? If so, any ideas what it refers to?
 

aviators99

Model S - R140
Jan 1, 2010
1,463
10
Weston, Florida, United States
Can anyone with 6.2 firmware confirm if there is a new charge field if the charge_state data called "trip_charging"? If so, any ideas what it refers to?

I can confirm it is there, and that it is currently "null" for me. I suspect it is used when Supercharging, having something to do with when to alert you that you've charge enough for your trip to get you to your destination or the next SC.
 

hans

P631
Sep 27, 2012
1,132
13
Menlo Park
I've got two Model S's tied to an account and would like to record their data using the streaming.js, but even the latest github clone got logged in. Any help would be appreciated?

It doesn't currently support more than one car but that can be added fairly easily if it's working for you on your first car. You would have to run streaming.js twice and have two separate databases for the log data. It was unclear from your post if you have it logging properly for one car. PM me if you are willing to help code or test as I don't have two cars myself to test against.
 

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top