kendo55
kendo55
> > > I don’t, but I’m curious what your use case would be... to have a stream of the telemetry data, like string url = "https://streaming.vn.teslamotors.com/stream/" + Tesla_vehicle_id +...
someone who knows a link with the documentation of https://streaming.vn.teslamotors.com/stream/"
i have the solution: r = requests.get("https://streaming.vn.teslamotors.com/stream/" + str(Tesla_vehicle_id) + "/?values=speed,odometer,soc,elevation,est_heading,est_lat,est_lng,power,shift_state,est_range", data={}, auth=(TeslaName, Tesla_Streamingtoken), stream=True) for line in r.iter_lines(): if line: # keep-alive zeilen ausfiltern print line print "Stream end"