node-red-contrib-tesla
node-red-contrib-tesla copied to clipboard
Error 404
As of this morning I am getting a 404 error. I have added a new refresh token but that hasn't fixed the problem.
I'm getting 404 for chargeState calls now for some reason. After playing around, I have noticed that vehicleData is working fine, so now I'm using that instead to get the data I need. chargeState has been working fine for months, not sure why it has stopped working now. I seem to be able to start/stop charge, lock/unlock just fine too. Did Tesla change the API? I tried refreshing the token, waiting for vehicle to repopulate, even tried it in an entirely new instance of node-red.... all the same, chargeState gives a 404 error and vehicleData works just fine.... strange.
It's possible Tesla changed the API indeed. I haven't updated this project in a while, I'll probably have more time coming summer :)
Yes Tesla changed the API. See details and workaround here: https://github.com/bogosj/tesla/pull/98 and here: https://github.com/bogosj/tesla/commit/0d6e63ee90c9b01ed7181c6da73ba767abcd47c6
What can we do till then, is there an updated fork somewhere
Most (all?) the data is still returned using the "vehicleData" command. I was using "chargeState" msg.payload.battery_level, but have switched to "vehicleData" msg.payload.charge_state.battery_level, for the same info.
I use it for charge state and climate. At least I can get the info. But if I want to set something I'm sol
I use it for charge state and climate. At least I can get the info. But if I want to set something I'm sol
I can still set charging amps, climate control, locks and charging just fine. I did notice that if I sent too many requests to chargeState (getting the 404 response) then I couldn’t set post requests sometimes. Now that I have stopped using chargeState and use vehicleData instead, the other post requests work just fine.
I use it for charge state and climate. At least I can get the info. But if I want to set something I'm sol
I can still set charging amps, climate control, locks and charging just fine. I did notice that if I sent too many requests to chargeState (getting the 404 response) then I couldn’t set post requests sometimes. Now that I have stopped using chargeState and use vehicleData instead, the other post requests work just fine.
I need to do 4 things, Stop Charging, Unlock Charge Port, Unlock Doors and set the scheduled departure, how do I do that if I only get vehicle data?
Can someone update their recent experience with this "404" problem?
I just started using this node-red addon and getting data via vehicleData
works just fine.
I do however sometimes (!) get 404 responses when using start Charge
or stopCharge
. If I try again it works sooner or later.