Re: Tesla Battery Gateway Plugin
Posted: Tue Apr 09, 2024 9:21 pm
Hey Glen,
I'd like to be able to control the operation mode of my Tesla Powerwalls and flip them to backup when charging an EV to prevent draining them.
I used the Auth for Tesla iOS App to generate a refresh token and added it to the config for your plugin, but when restarting I get the following error:
I'm using version 0.8.11. Any thoughts?
I'd like to be able to control the operation mode of my Tesla Powerwalls and flip them to backup when charging an EV to prevent draining them.
I used the Auth for Tesla iOS App to generate a refresh token and added it to the config for your plugin, but when restarting I get the following error:
- Code: Select all
Tesla Battery Error Error Getting Online Site Info : KeyError('access_token')
Traceback (most recent call last):
File "plugin.py", line 765, in parseonlineSiteInfo
self.getauthTokenOnline()
File "plugin.py", line 542, in getauthTokenOnline
self.logger.debug("{}".format(self.tesla.token["access_token"]) )
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'access_token'
I'm using version 0.8.11. Any thoughts?