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.
SO, if I wake the car at 10pm and it is not plugged in and then I check if the car is awake in 11 minutes, if it is asleep, I have no way of knowing if it got plugged in during the 11 minute wait.... But if I check the car itself within the 11 minutes I will keep it awake.....The keepalive timer is set to 10 minutes. So pulling data with a frequency of every 10 minutes or less will keep the car awake.
Can't get the streaming api to work either on Model 3 (2018.21.9 75bdbc11)
Looking through the APK, I found a "new" streaming endpoint:
Code:StreamingServerEndpoints={LOCATION_STREAMING:"streaming/",AUTOPARK_SUMMON:"connect/"}
but I am unable to connect, server seems to not be able to connect to the car.
Code:{"msg_type":"data:error","tag":"${vehicle_id}","value":"disconnected","error_type":"vehicle_disconnected"}
If anyone wants to try the new endpoint on their Model S or X I can send some sample code over
I can confirm another Model 3 that returns the same result and also a Model S that doesn't work with the old streaming endpoint is also receiving the vehicle_disconnected message!
Surely these would still have the location working in the Android app which uses this data stream, so there must be something we are missing.
The keepalive timer is set to 10 minutes. So pulling data with a frequency of every 10 minutes or less will keep the car awake.
{"response":{"reason":"invalid_limit","result":false}}
{"limit_mph":80}
{"limit_mph":80.0}
Still getting invalid limit.@dpskipper , limit_mph must be a double. Try the following:
To your second issue, Speed limit mode is different than how valet mode does it. You must supply a new pin or the correct pin when enabling the mode, disabling the mode, or clearing the pin.Code:{"limit_mph":80.0}
The only command that doesn't require a pin is the speed limit set limit command, however this command requires speed limit mode to be disabled.
Yes I actually managed to figure this out myself in the end.
It works fine for me. Model S 2018.21.9
{'msg_type': 'data:subscribe', 'tag': '<vehicle ID>', 'token': '<base64 encoded email:token>', 'value': 'speed,odometer,soc,elevation,est_heading,est_lat,est_lng,est_corrected_lat,est_corrected_lng,native_latitude,native_longitude,native_heading,native_type,native_location_supported,power,shift_state'}
Disconnected!
VERB 1: Error: NoDataAvailable
Can you provide a plaintext example of this subscribe request? I'm unable to get my new Model S on version 2018.26 3bbd9fd to connect with the old stream API. I'm trying to use the new stream API and I'm sending a request like:
Code:{'msg_type': 'data:subscribe', 'tag': '<vehicle ID>', 'token': '<base64 encoded email:token>', 'value': 'speed,odometer,soc,elevation,est_heading,est_lat,est_lng,est_corrected_lat,est_corrected_lng,native_latitude,native_longitude,native_heading,native_type,native_location_supported,power,shift_state'}
When I try to send that with wsta I get:
Code:Disconnected! VERB 1: Error: NoDataAvailable
Ok cool. I thought I heard a bit back that the API was just not working at all for 3 -- like, server-side. Maybe I misunderstood and/or it was resolved a bit back.What are you looking for? It's almost the same as Model S and X. It just works