home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.64k stars 30.78k forks source link

Tesla Powerwall - Repeatedly Getting "Error fetching Powerwall site data: Unable to fetch data from powerwall" #122806

Open ziptbm opened 3 months ago

ziptbm commented 3 months ago

The problem

The following error has been happening frequently (e.g. 45 times in the last 30+ hours). When this happens, the sensors become Unavailable. After some time, they appear to return automatically OR I can "add entry" by inputting the same IP and password currently authenticated, which appears to fix it. My Tesla Powerwalls and Gateway are online and connected both via separate static IP addresses via WiFi and via ethernet. Note the connection I have configured in HA is via Ethernet.

  Logger: homeassistant.components.powerwall Source: helpers/update_coordinator.py:344 integration: Tesla Powerwall (documentation, issues) First occurred: July 28, 2024 at 09:44:39 (45 occurrences) Last logged: 15:52:27

It does seem like the information provided by Tesla changed at some point because I now see 4 devices through the integration. I have a Gateway and 2 powerwalls. It looks like it's now showing the Gateway like before, but has broken out both batteries separately.

Screenshot 2024-07-29 at 16 06 12

And this fourth device appears to be a combined view of the batteries that sometimes reports data, but usually is unavailable.

Screenshot 2024-07-29 at 16 06 25

I've also enabled and disabled debug logging, but didn't know what to provide from that since I only really see this same error shown above from the logs.

Could this be related to Firmware: 24.20.0 c128851f ?

What version of Home Assistant Core has the issue?

2024.7.3

What was the last working version of Home Assistant Core?

2024.7.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tesla Powerwall

Link to integration documentation on our website

https://www.home-assistant.io/integrations/powerwall

Diagnostics information

Logger: homeassistant.components.powerwall Source: helpers/update_coordinator.py:344 integration: Tesla Powerwall (documentation, issues) First occurred: July 28, 2024 at 09:44:39 (45 occurrences) Last logged: 15:52:27

Error fetching Powerwall site data: Unable to fetch data from powerwall

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 months ago

Hey there @bdraco, @jrester, @daniel-simpson, mind taking a look at this issue as it has been labeled with an integration (powerwall) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `powerwall` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign powerwall` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


powerwall documentation powerwall source (message by IssueLinks)

issue-triage-workflows[bot] commented 2 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ziptbm commented 2 weeks ago

definitely not stale...just doesn't appear anyone knows what the solution is yet...

djbadders commented 4 days ago

Seeing the same on HA 2024.11.0, no connectivity issues to Powerwall but very frequent failures to poll successfully; I wonder if Tesla may have added a rate limiter to the API?

jrester commented 4 days ago

It is possible that tesla added a rate limiter to their API. Do you have any other applications that query your powerwall alongside home-assistant?