Replies: 14 comments 45 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.
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
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.
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
Beta Was this translation helpful? Give feedback.
All reactions