Replies: 20 comments 60 replies
-
|
@jasonacox A workaround for the SD card is you can buy an NVME hat (extension module) for the Raspberry PI: These may only be compatible for the PI 5 though. YMMV of course, but I use https://52pi.com/products/p33-m-2-nvme-2280-poe-hat-extension-board-for-raspberry-pi-5 for both POE and a full-size 1 TB NVME. Mine doesn't even HAVE the SD card in it anymore. |
Beta Was this translation helpful? Give feedback.
-
|
I just moved over to a RPi 5 and will be doing an NVMe hat this afternoon. I went all out and got the 16GB version and am mounting it on the wall next to my gateway 2. So far it is working great following the instructions above. I am still on 25.2.1 so I am hoping the firmware update will be seamless now that I am moved over to using TEDAPI. Thanks for the writeup, and all the work keeping up on this. |
Beta Was this translation helpful? Give feedback.
-
|
Looking over the instructions, I'd like to ask ahead of time on a slightly different approach: My Dashboard instance is already running on an RPi 5 I bought in November specifically for this purpose. I just bought a Panda Wifi dongle to add to the device. My thinking is this:
The one thing I don't quite see from the instructions above is where - if anyplace - you configured 192.168.91.1 to point to anything. Is that a missing step, or will setup.sh just work all this out and put the permanent ip route in place? |
Beta Was this translation helpful? Give feedback.
-
|
Here is how to do it if you have two independent gateways/site controllers from a single RPi with 2 wifi connections to each: Where You would set PW_HOST to I guess you would need my multi-gateway PR... I'll work on that :) |
Beta Was this translation helpful? Give feedback.
-
|
I fired mine up last night. I think we have to work on reducing the amount of requests that are going to the TEG network. Previously I believe this is what @mccahan was saying with "hammering." My dual inverter prototype is worse because I was carelessly loading up on duplicate calls. With a 100 megabit connection (I think that's all the inverters use), calls are cheap and I didn't notice. But with weak or dodgy wifi, calls are a limited precious resource and need to be used sparingly. |
Beta Was this translation helpful? Give feedback.
-
|
Ok so I'm learning a lot about wifi and raspberry pi. I ordered this and tried it for a few days: https://www.amazon.com/dp/B0B2QD6RPX
-- https://github.com/morrownr/USB-WiFi/blob/main/home/Recommended_Adapters_for_Kali_Linux.md Words that consistently come up with Linux & USB & Wifi: MediaTek and ALFA For my inverters the antenna is on the top. I recommend you figure out where you antenna is and snuggle your adapters as close as possible to it. Right now I'm at -29 dBm for one inverter and -49 dBm for the other. How I found where the antennas were on mine? I took a picture of the PCB and then asked ChatGPT where the antenna connector was. Use |
Beta Was this translation helpful? Give feedback.
-
|
It also occurs to me that, if we're able to get confirmation from Tesla that no path to a wired LAN will ever be re-enabled and we must use wifi, we should probably think about putting wifi stability metrics as an optional section on the dashboard, or create a wifi stability metric dashboard standalone. This will not be trivial if we want to support Windows and MacOS in addition to Linux. |
Beta Was this translation helpful? Give feedback.
-
|
I modified a case from Printables and designed a wall mount. This was a great opportunity for multi material printing on my new Prusa XL. The RPi 5 is working perfect with Ethernet to my network and the built in WiFi to the gateway. I will probably upload this as a remix on Printables and can post a link here if anyone is interested. |
Beta Was this translation helpful? Give feedback.
-
|
Small update. The Raspberry Pi4 I installed last week is still working fine. It's indoors, about 20 ft from the PW3s which are outside. It does get a fair number of logged 'excessive retries' but they don't seem to actually cause a problem. One point, the daily backup takes a LONG time to run on the Pi. That isn't an issue but worth noting. I'm using Syncthing on the Pi to copy the backup back to my main house server. |
Beta Was this translation helpful? Give feedback.
-
|
So I have a lot more information on the way my dodgy inverter is behaving. I want to record this publicly for anyone who may face similar issues. I'm not necessarily looking for troubleshooting help (though if you have it, it's welcome). I'm mainly writing this down so that if someone in the future sees this, they know they are not crazy and this is a real thing that can happen with Tesla hardware. One of my regular solar inverters works fine. It has never had any issues whatsoever. All 4 strings work, the Neurio is solid purple (connected and operating properly) and never changes after setup, and I can always connect to the wifi with a laptop/rpi/Tesla One. The other one; however, appears to have a bad wifi card. When a Neurio is connected, the light will be solid purple for a time, and then start blinking blue/purple, and then eventually go to solid blue (not connected) or blinking blue (waiting for connection). It lasts for only a few hours max, and then the SSID stops broadcasting. Tesla One is also therefore gone. The only known way to repair it is to power cycle the inverter. No amount of changing the antenna on the Neurio, changing the direction of the antenna, etc has helped. On the pypowerwall side, this is what that looks like: These errors will gradually get more and more frequent until the same thing happens: The SSID stops broadcasting. This takes about a day-and-half (so 36 hours). If I restart the thing nightly I don't have problems in the daytime as long as I leave the Neurio disconnected. The Tesla power animation, with its very frequent calls, seems to speed up the decay. It's as if usage of this card is radioactive. Note: This is regardless of signal strength. I've seen this happen at -20 dBm all way to -50 dBm. I did not have any issues like this when the wired/static route approach was working. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the guide! Also switched my setup from a VM on a TrueNAS to a Pi5 because of the TedAPI ethernet lockout. Running the Pi in my server closet since I found an old unused Asus Router that has Merlin firmware and was able to extend the TEG wifi transmission. |
Beta Was this translation helpful? Give feedback.
-
|
In #621 (comment) @JonMurphy recommended a TP-Link AC1300 Dual Band WiFi Adapter -Archer T3U plus, for the RPi [Amazon] - Reporting good results. |
Beta Was this translation helpful? Give feedback.
-
|
I feel like this is probably obvious but I run my own grafana setup on a separate stack apart from this. Was super simple to just add the influx DB as a separate connection and repoint the dashboard to the pi setup. Worked perfectly. Thank you for this project. |
Beta Was this translation helpful? Give feedback.
-
|
Loving this and especially being able to scrape the data from the website for home assistant. Would it be at all possible to be able to change settings such as the backup reserve initially and ideally to read and write the utility rate plan data both rate and times? Then I could completely drop the tesla integration from my home assistant setup as that really doesn't do what I need - especially as without cloud access you cannot get the battery reserve via that - this works perfectly thank you so much! |
Beta Was this translation helpful? Give feedback.
-
|
Let me start by saying I am really loving this project. I have had it up and running for a couple of weeks and I have learned a lot so far. Thank you for sharing this with all of us. My apologies if this is not the right place for this comment. I am new to Github and a great many other things that and needed to make all of this work. My install on my Raspberry Pi 4 went pretty well. Now everything just up and died on me and my Pi went in to a continuous reboot loop. I have no idea why. I am looking for help in getting it working again. Again, if this is not the correct place for this, can someone direct me to where I need to go? I have the system back up, but the docker container would not start. I was getting some kind of networking error. After hours on Stack-Overflow I attempted to resolve this my removing the docker network. I did the following, perhaps not in this order. I followed whatever were in a couple of posts I found. I eventually got to where docker was running and I attempted to restart my containers with compose. Well as best I can understand this, they won't start because the network they are looking for was deleted by me. My previous very basic knowledge of Docker had me thinking the compose script would likely be creating the network its containers needed. What can I do to get things working again? Thank you - any help would be much appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately something has gone wrong on my end I and need to call on the community for help. It appears that my pypowerwall container is unable to get data from my powerwall. I have spent the last six hours trying to figure out what is going on and I am running out of ideas. First of all I have three separate computers set up to run this. Its kind of a long story. I had two running and one shut down. Both of the two that were running stopped pulling data at the same time yesterday so I suspect something changed on the powerwall side of things instead of one of the computers. I fired up the third one that had been off and it is behaving the same way. I made no changes to my powerwall. I have no idea if our installer did or if the system updates firmware or anything else on its own. I can connect to the powerwall (v3) just fine with the Tesla app on my phone. I was also able to use the Netzero app to connect and download a CSV file so its not dead. Here is was I get when I run the verify.sh script:
|
Beta Was this translation helpful? Give feedback.
-
|
It seems I did not have pip or pypowerwall installed. I created a virtual environment and install it with pip. Here is the output:
ERROR: Unable to connect to Powerwall Gateway 192.168.91.1 on port 443. Error details: HTTPSConnectionPool(host='192.168.91.1', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f7ed13cb0>, 'Connection to 192.168.91.1 timed out. (connect timeout=5)')) I am not sure how to verify that I have a route to the gateway. However, if I run wlan0 is up and running. It has an ip address of 192.168.91.44. I get no response when I ping 192.168.91.1 which I believe is the Powerwall gateway. I am seeing the same thing from two completely different servers that were working fine for several weeks until yesterday. |
Beta Was this translation helpful? Give feedback.
-
|
@Slopecat Are you able to connect to the Powerwall with the Tesla One app? The fact that you can't even ping the 192.168.91.1 endpoint would indicate that somehow it is not really connected or the Powerwall access point is in bad state. I would try connecting with the Tesla One app (or does NetZero still connect) and if that works, it would indicate something off about how your systems are connecting to the access point. I would disconnect all the systems fromt he wifi, reboot my WiFi router in case it is hosting some stale ARP data, and try to reconnect the WiFi again. If the Tesla One app doesn't work or the above fails, I would try a full Tesla system restart (of Powerwall). |
Beta Was this translation helpful? Give feedback.
-
|
I have set this up on my PW3. Specifically, I have the PW3 load-shedding relay connected to a Shelly wifi relay/switch that is monitored thru my Hubitat home automation hub. The Shelly device just looks like a switch device to the Hubitat (Grid is either On or Off). I have some rules in the Hubitat to shut off certain loads if a grid outage occurs (which I am still refining). It was only a few PW firmware releases ago that the internal PW load shedding relay started working (and I am still suspect that they have finalized and fully test the behavior). Since it started working, I have noted things like the relay will open briefly during some firmware upgrades (as the article says). So my load shedding rules must see the grid down for 10 min before actually shedding any loads. It is a useful feature once it is stable.
…________________________________
From: Jason Cox ***@***.***>
Sent: Sunday, November 2, 2025 7:59 AM
To: jasonacox/Powerwall-Dashboard ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [jasonacox/Powerwall-Dashboard] Raspberry Pi Setup (Discussion #607)
The Load Shedding Feature is pretty nice! Has anyone set that up?
—
Reply to this email directly, view it on GitHub<#607 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APUXY3GZJAMFP77ZUT523CL32YL5ZAVCNFSM6AAAAAB2RJ4SRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBVGE2TSMY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I bought the hardware a while back (Raspberry Pi 5 with an NVME hat instead of an SD card) and finally broke down yesterday and ran through this process of installing the necessary pieces to get the Powerwall Dashboard running. I know just enough about the Linux environment to be dangerous, so I tried to follow the instructions as closely as possible. I did a clean install of Powerwall-Dashboard and a clean influx database. Everything went surprisingly well. The only thing that is not showing up on the dashboard is the inverter power section. All other areas of the current dashboard are being populated.
My system consists of a Gateway 2, a Powerwall + and a Powerwall 2. I poked around in the inverter power section of the dashboard and it looks like it's getting it's data from the strings area for field inverter1. I ran http://localhost:8675/strings for both the windows setup and the raspberry pi setup. It's still early here so not any real data currently but I don't see anything about inverter1 in either of the outputs, so I may not be understanding it all: From the Windows setup From the RPi setup: I ran the verify.sh on the RPi setup:
I answered yes to the display of the last 10 log lines for each container. The messages appear to be from prior evening/earlier this morning:
I'm not sure if it would be helpful to run a verify on my windows setup to help troubleshoot or not. Anybody have any ideas on where I may have made a misstep to just be missing this one piece? Thanks in advance. |
Beta Was this translation helpful? Give feedback.









Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
RPi Powerwall-Dasbboard
The Raspberry Pi is a great way to launch the Powerwall Dashboard. These little devices are low cost, high performing yet pull less than 15W for continuous operations. Additionally, these small board have both ethernet as well as WiFi connection, allowing flexibility in how users setup and run their Dashboard.
Benefits
Bridge Configuration
Requirements
I recommend buying a Raspberry Pi 4 with 4GB of RAM (or more). You will need a high performing, high endurance SD card (get the best rated version you can find). The SD card is the hard disk for the RPi and low cost SD's will wear out quickly, causing you grief. The entire Powerwall Dashboard stack can run on the RPI including the InfluxDB database. As with all installations, it is recommended that you have a backup plan in place to periodically copy a backup of the InfluxDB database (see backup tips).
Example Kit:
Raspberry Pi - Setup
Simple test: If you want to ensure your setup is working correctly at this point, run these commands:
Example session:
Docker Setup
You will need to install Docker to run the Powerwall-Dashboard software. Since we are using th 64-bit OS, we will follow the instructions for installing Docker on a Debian system. See the Docker instructions here. Here are the instructions as of Apr 2025.
Once docker is installed, you will need to add yourself to the docker user group and restart the RPi:
Install Powerwall Dashboard
You can use the quick start setup to get the Dashboard installed and running. The instructions are here:
If your RPi is set up to connect to your LAN with an ethernet cable and to the Powerwall with WiFi, you should select option "4" - this provides extended metrics and high fidelity (sampling every 10s). The setup will auto-detect the TEDPAI access point on the Powerwall and will prompt you for the password (same one used to connect to the WiFi).
Follow the rest of the instructions...
Dashboard Setup
Your system is running. The next step is to import the dashboard panels.
name.localwhere name is the hostname you gave it during setup and your network supports mDNS) - You will be able to log in using admin/admin.and upload 'dashboard.json'.
Congratulations!
Upgrades
You can easily upgrade the Powerwall Dashboard software by using the built in upgrade.sh script:
Troubleshooting and Tips
Grafana Setup Help
This PDF show how to set up Grafana for the first time:
Powerwall Dashboard - Grafana Setup.pdf
Beta Was this translation helpful? Give feedback.
All reactions