TEDAPI with PW3 not working for me #622
-
Hello, I've spun up a host to test this dashboard. I've got 2 PW3s. They are hardwired to my home network. I've got a UNIFI based home network with the PW3s on the IOT VLAN/Network. I've set up a static route to the 192.168.91.0/24 network that is pointed at the IP address of the leader PW3. I found the IP to use for the route by finding the IP of the Leader power wall in the UNIFI client list. With my route, I can ping 192.168.91.1. If I try to run the setup, the utility sees that there is a power wall at that address. But, when the stack fully loads, it doesn't work, and looking at the logs, it appears that the authentication isn't successful as shown below
I started up a shell on the PYPOWERWALL docker host, and used a sample script from the PYPOWERWALL site and I see this
However, if I connect directly to the PW3 WIFI access point, then this seems to run. I do see some errors that show up in some runs and not others, but at least the power wall access seems to complete. Can you give me any insight into what may be going wrong? I would really like to connect to this from ETHERNET rather than using the WiFi AP of the PW3. Thanks, Sean |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Sadly, this no longer works. With Firmware 25.10.1 and above, Tesla prevents static route access. You will need to have your Dashboard host connect directly to the Powerwall WiFI access point. One way to do this is to have your Dashboard host (e.g. Raspbrerry Pi) connect to your LAN with an ethernet cable and use it's WiFi adapter to connect to the Powerwall. Details are here: For troubleshooting purposes, you can use the pypowerwall library directly: # Create a virtual python env
python -m venv venv
source venv/bin/activate
# Install package
pip install pypowerwall
# Scan for Powerwall
python -m pypowerwall scan
# Connect to TEDAPI
python -m pypowerwall.tedapi Note to self: Since there seems to be a majority now moving to the newer firmware, I need to update the README and setup script to remove the static route option. :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Sadly, this no longer works. With Firmware 25.10.1 and above, Tesla prevents static route access. You will need to have your Dashboard host connect directly to the Powerwall WiFI access point. One way to do this is to have your Dashboard host (e.g. Raspbrerry Pi) connect to your LAN with an ethernet cable and use it's WiFi adapter to connect to the Powerwall. Details are here:
#607
For troubleshooting purposes, you can use the pypowerwall library directly: