Closed bluppdiwupp closed 3 years ago
Did you already try the new version which is now in the iobroker comminity: https://github.com/iobroker-community-adapters/ioBroker.tesla-motors also released on NPM with version 1.0.1
Tesla worked again on its API, take a look here. I recently reset my password and wasn't able to generate token again, but now is it working with TeslaPy. My new token also begins with EU-. I don't know your app @and-web but I also tried one on Android and this app gave me just the token but not the refresh-token and you have to enter both in the io-broker app. Long story short: the adapter works well with eu-token and it's corresponding refresh token.
As said, in version 1.0.1 it is different. Before I was using teslajs as library and this library did the communication with tesla, now we are doing it completly on our own. The new changes on the api are taken into account on the new version already. The new version will be adopted to new changes tesla makes, this version here will not be updated anymore. So please switch to the new version, especially when you encounter problems.
Thanks @dbweb-ch, but 1.0.1 is useless to me. Unimportant objects get updated, but the ones I need remain in the old state. Do I have to rebuild the object tree after migrating from 0.5.5 to 1.0.1? As great as it is now to see which color my car has, the object "tesla-motors.0.chargeState.battery_level" won't be updated anymore. :-/
edit: After activating the "stream" option, several objects appeared. Also, after waking up the car other objects have been updated. Compared to my initial posting, now I have plenty of information. Nevertheless, a documentation would be great. Can I help do document something here? Anyhwere else here I've read a comment from another user that also struggled with the meaning of the objects.
as written on https://github.com/iobroker-community-adapters/ioBroker.tesla-motors all data points are new, so yes, it is better to just delete the old and insert the new ones. your charge state is now under tesla-motors.0."yourid".charge_state.charging_state and will be updated as required.
You can take the "semi"-official documentation from https://tesla-api.timdorr.com/ to find all information that is needed. Please also consider to write new questions to the github repo above and not to this one here.
after the update with 5.1:
Could not retrieve token, Error from Tesla: No response
i don't have TFA.