api json tokens field

dirk 2 years ago 0

Hi James,

the tokens field returned in the TeslaFi API call remains null, even when the car is online. In what circumstances does the API return valid streaming tokens?

I want to use this to initiate a websocket connection to 'wss://streaming.vn.teslamotors.com/streaming/' directly without getting the token from the Tesla api. Together with vehicle_id is all what's needed to get realtime streaming data.