darth_vad3r
Well-Known Sith
I guess the command is geo-fenced. Possibly safety related. The easy way is to use the lat/long from the drive_state, but surely it is your phone/watch GPS location that is meant to be used...
Ha, perhaps if you are across the country they figure you shouldn’t vent the windows since you don’t know if it’s pouring rain . ... I may play with this today and report my findings if lat/long matter.
Tried it and window_control worked just fine with only command=[vent|close] with no lat/long specified or included at all.
e.g.
open: /window_control?command=vent
close: /window_control?command=close
... but as actual form data, not in the URL. It does seem to pass it along in the URL to the mothership though, as evidenced by error responses when there are timeouts:
e.g. https://mothership.prd.sjc.vnet:5678/vehicles/<vehicle_id>/user_command/window_control?command=vent&slow_query_time=15
Last edited: