Powerwall Unavailable

Recent HAOS install on RPi4 - all working well for a few days.

Tonight Powerwall is showing unavailable with following errors in logs

2022-07-11 21:10:03 ERROR (MainThread) [homeassistant.components.powerwall] Error fetching Powerwall site data: Unable to fetch data from powerwall

2022-07-11 22:05:04 WARNING (MainThread) [homeassistant.config_entries] Config entry ‘Home Energy Gateway’ for powerwall integration not ready yet: Powerwall is unreachable: HTTPSConnectionPool(host=‘192.168.1.38’, port=443): Max retries exceeded with url: /api/login/Basic (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7f80f70c10>: Failed to establish a new connection: [Errno 113] Host is unreachable’)); Retrying in background

I can still see the powerwall in the Tesla App on my phone so it’s talking to base but not locally - any ideas?
thanks

Just to let you know that I’m also seeing this every few days so you’re not alone. I’m trying to debug and work out what’s going on, I think I’m going to try and create an automation that triggers when it goes off line and then run a script to do some basic tests like ping, open http etc. to try and get a better idea of where the fault is.

@steve_jo are you still having issues or did you fix it? My system is losing connection 10-15 times a day now. I have created a sensor to debug which runs an nmap script to test if the Powerwall is online and port 80 is open. The sensor is updated as soon as the powerwall is detected as unavailable. So far it shows that the Powerwall is considered down as far as the Ethernet is concerned.

I have logged a query with Tesla but of course they don’t support our use of the API so I don’t think that will go anywhere.

Sorry didn’t see this for a while.
Yes I did fix it - turned out to be an ip conflict on my network.
Somehow after a power bump my router turned on MAC address binding for one of my Sonos speakers and assigned it the same IP address as my Tesla. No idea how that was possible. Turned off Mac binding for the Sonos device on the router, restarted the speaker and it was correctly assigned an IP address in the dhcp range - well away from the few static IP address devices I have.
The wired connection to the Tesla Gateway has been rock solid ever since.

Good luck