tesla: Tesla powerwall - controls stopped working tonight , in particular the operation mode

Version of the custom_component

Configuration

Add your logs here.

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 23

Commits related to this issue

Most upvoted comments

Its a temp workaround until @alandtse can do a release I think, in the HA custom_components / tesla_custom folder, edit the manifest.jon file and change the line “requirements”: [“teslajsonpy==3.9.9”], restart HA

Worked a treat - Basic steps for beginners (like me) 😉 Find the Terminal app in Settings>Addons and run the app to open terminal window Navigate to the folder custom_components/tesla_custom/ Then use nano manifest.json Edit the file as above then CTRL+X to save it.

Finally restart HA

I have no coding expertise and am merely a very contented user of this HAC add on which I use to schedule overnight charging of my PW2 at advantageous electricity rates.

As I understand it to date we have been accessing/controlling our PW2 via a not officially (Tesla) sanctioned method via backdoor analysis/manipulation of their API

Reading around online it would appear that Tesla are now implementing an official method whereby third party developers can register their applications and have official access to their Tesla API.

https://gearmusk.com/2023/10/14/tesla-launches-developer-api/

Looking at part of the debug log pasted earlier in this thread shows

“Unauthorized. Please register third-party account at https://developer.tesla.com/docs/“,“error_description”:”"}”

My fear is this is a conscious decision by Tesla to block (unless you have registered your application) access to their API.

Additionally whilst access to their API is apparently currently free and whilst only conjecture on my part, they may commence charging a la twitter …

I sincerely hope I’m wrong as this application is perfect for my current needs ….

Its a temp workaround until @alandtse can do a release I think, in the HA custom_components / tesla_custom folder, edit the manifest.jon file and change the line “requirements”: [“teslajsonpy==3.9.9”], restart HA

The Hero we all needed.

Thank you.

Its a temp workaround until @alandtse can do a release I think, in the HA custom_components / tesla_custom folder, edit the manifest.jon file and change the line “requirements”: [“teslajsonpy==3.9.9”], restart HA

So I bumped teslajsonpy version to 3.9.9 in the manifest and control seems to be back

  • cd custom_components/tesla_custom
  • vi manifest.json
  • Change “teslajsonpy==3.9.8” to “teslajsonpy==3.9.9”
  • Restart homeassistant
  • Profit

Its a temp workaround until @alandtse can do a release I think, in the HA custom_components / tesla_custom folder, edit the manifest.jon file and change the line “requirements”: [“teslajsonpy==3.9.9”], restart HA

@mcc05 you could make a PR with that change here, it’s open source so then you’d just need to wait for the Pull Request to be approved

Done