The integration has been working for a couple of years without any problems but stopped sometime this afternoon - it can’t get data from the powerwall
Logger: homeassistant.components.powerwall
Source: helpers/update_coordinator.py:411
integration: Tesla Powerwall (documentation, issues)
First occurred: 19:51:29 (1 occurrences)
Last logged: 19:51:29
Error fetching Powerwall site data: Unable to fetch data from powerwall
HA and integration all up to date software. Powerwall is running 24.44.0 510adfd5
I can still connect to the Powerwall locally from a browser but had to go through a couple of extra steps telling me about a new approach? My guess is the integration can’t get past these additional steps.
Seems to be some stuff on the web about Tesla removing the local API.
Anyone know what’s going on?
Is it time to bite the bullet and move fully to the (cloud-based) Tesla Custom Integration? I already use it to automate the battery reserve level.
Did you find anything more about your issue with Powerwall integration @steve_jo ?
My Tesla Powerwall integration first stopped working around mid December; I investigated on 28 December, and found (via Tesla One mobile app) that Powerwall/Gateway had changed IP address, so I manually updated that in Home Assistant config file. That worked for about a week, but it has now stopped working again. It doesn’t appear to be the IP address issue this time, but I haven’t figured out what it is yet.
Failed setup, will retry: Powerwall is unreachable: Cannot connect to host 192.168.1.230:443 ssl:False [Connect call failed ('192.168.1.230', 443)]
I have tried soft restarting Home Assistant, but that didn’t help. I will next try a power-cycle on my Home Assistant device. I doubt if I need to consider power-cycling the Powerwall since I can access it via Tesla One mobile app, but if I can’t fix it by other means then I might try that anyway.
Took a couple of hours to change all the sensors in automations and dashboards and set up the energy dashboard again. Good article on using the custom integration sensors in the energy dashboard here: Tesla Fleet and Home Assistant Energy Dashboard
(It talks about Tesla Fleet but works for custom integration)
Falls into ‘my life is too short’ category. The custom integration works fine and power values update every few seconds so I can still monitor what the house is doing. It provides more control over the Powerwall and the battery charge agrees with the tesla app unlike the local API which adds 4% when charge is low (20% shown as 24%).
Thanks @steve_jo. I spent a while (off & on) trying Tesla gateway wifi password changes in case the Home Assistant Tesla Powerwall integration connection issues might have been due to new password requirements, as discussed from here:
I can (still) log in to Tesla gateway via browser, but regardless of password changes, I haven’t got the Home Assistant integration working again yet.
So I think I have reached the same feeling (“life is too short”) and will try the same option as you with the cloud based integration.
Update: the cloud option worked. Thank you very much for also linking the article about configuring the sensors. That was very helpful.