hmm now I get "HTTP 408: request timeout.." and no data anymore ?!I can confirm this, data is pooring back into my streaming database.
Looks like this was a maintenance 'black-out', phew...
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.
hmm now I get "HTTP 408: request timeout.." and no data anymore ?!I can confirm this, data is pooring back into my streaming database.
Looks like this was a maintenance 'black-out', phew...
I know of no where else in the API that you can get the odometer reading.
Just a little odd that something as relatively static as ODO would be limited to the streaming interface. Unless one is on the autobahn the ODO changes at around once every 45s.
I was surprised by this too. I can see why they include it in the streaming api, but having it in the drive_state would be useful.drive_state also contains gps coords and speed, so having odometer doesn't seem like it would be a stretch.
[FONT=Andale Mono]$ heartbleed https://www.teslamotorsclub.com
[/FONT][FONT=Andale Mono]2014/04/19 17:09:38 www.teslamotorsclub.com - SAFE[/FONT]
[FONT=Andale Mono]
[/FONT]
[FONT=Andale Mono]$ heartbleed https://[/FONT][FONT=Andale Mono]streaming.vn.teslamotors.com[/FONT]
[FONT=Andale Mono]2014/04/19 17:11:31 streaming.vn.teslamotors.com - SAFE
[/FONT]
[FONT=Andale Mono]$ heartbleed [COLOR=#000000]h[/COLOR][COLOR=#000000]t[/COLOR]tps://[/FONT][FONT=Andale Mono]portal.vn.teslamotors.com[/FONT]
[FONT=Andale Mono]2014/04/19 17:11:43 portal.vn.teslamotors.com - ERROR: heartbleed: timeout[/FONT]
I am curious in this REST API - I have read through alot of these threads, but is there a doc share or something that I can read to get the details of the API?
Anyone know what has changed with the streaming api? I'm no longer getting an array of data when the car is parked and awake.
I'm confused by your use of the word array here. Do you mean the comma-separated rows stop arriving?Anyone know what has changed with the streaming api? I'm no longer getting an array of data when the car is parked and awake.
I am still getting data. I did notice that the HTTP long poll interval changed from 2 minutes to 5 minutes but I think that change was made a while ago. If you are only waiting for 120 seconds on a poll and expecting data then just try waiting longer and you should see something.
I've been relying on streaming.js and for some reason data isn't being deposited into the database. You're right I do see data coming in on command line. Are you still getting data put in mongo?
I am. I have been running streaming.js on Heroku (for free) for many weeks and it's been putting the data into mongodb hosted at MongoLabs (also for free) continuously.
Apologies for the question, as the answer might well be somewhere in the 800 posts in this thread but I couldn't find it easily. I'm looking for an explanation (or even better, an example) of how to periodically refresh the tokens using curl so that you can stream data indefinitely. I've got enough programming background to understand all the control flow, etc - it's just not entirely clear how you do the token refresh/cycling/whatever part.
And since I don't have my car (yet!) I can't actually test it to figure out what it does...
if anyone has a script (perl, python, bash) that implements this, I'm sure it will become obvious as soon as I see the code. ;-)
OK, apologies again - maybe I'm thick-headed here. I can curl and get tokens and get the car to talk to me, but does anyone already have a script that automatically refreshes the tokens without interrupting the streaming data feed?
Ideally I'd like to be able to say "stream data from my car for the next XXX minutes, and dump it to a CSV file named YYY". This seems like it should be simple enough, but I haven't found the magic words yet... (I'm doing this on a very basic linux VPS, so I'm trying to work strictly within BASH/curl for the tools)...
So I used the iPhone app yesterday and I was getting 3 updates on the moving map per second, including throttle and speed.
Is streaming working again?
update, I'm also getting streaming data again via streaming.js