Help with the Tesla API

I have been playing around with the Tesla API for a long time, but I just can’t seem to get the sharing navigation and media to work… Has anyone here made it work using python? I have been using teslajson but am open for any other ideas.

import teslajson, time c = teslajson.Connection('youremail', 'yourpassword') v = c.vehicles[0] location = '59.9375206,10.9285069' params = {'type':'share_ext_content_raw','value':{'android.intent.extra.TEXT':location},'locale':'en-US','timestamp':str(time.time())[:10]} v.command('navigation_request',params) 

I always end up getting a 500 error.

submitted by /u/MarlinMr
[link] [comments]

Leave a Comment

Your email address will not be published. Required fields are marked *