Replies: 3 comments 13 replies
-
Here you go - #107 |
Beta Was this translation helpful? Give feedback.
-
If you want to use a simple ssh vpn: #173 (comment) Proxy the Proxy for External ViewThere is a way to see your Grafana dashboard from outside your home network. It will require that you allow and NAT both port 80 for Grafana as well as port 8675 for pypowerwall. A VPN could be set up to allow this as well and is a safer approach. My low-budget VPN uses a locked down SSH host exposed via NAT port 7654. I use a simple script on my Mac to load the Dashboard while outside my home, like this: #!/bin/bash
# Define the internal server IP address
SERVER=10.0.10.10
# Define the external ssh address - assumes you have already set up ssh keys
PUBLIC=user@my.home.address
# Create the tunnel
ssh -N -p 7654 $PUBLIC -L 9000:$SERVER:9000 -L 8675:$SERVER:8675
# View the Dashboard
echo "Open http://localhost:9000''
WarningOpening up Grafana or pypowerwall proxy to the public internet does come with risks. It does mean that anyone knowing the address can see your Powerwall data. However, more importantly, if a vulnerability exists in either of these tools, a hacker could potentially gain access to your internal network. This is why I would recommend a VPN approach. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the comments. To be clear, my situation is more similar to what @BJReplay referenced. Excellent reminder @jasonacox that one should always be concerned about security stuff ... so I would need to take steps on my server since it is already public facing. My situation is Solar Only ... so per #183 (which I commented on with my experience to try to be helpful), it does not appear you can get String Data (from /device/vitals) ... or at least has not been figured out yet. Speaking of being helpful, when I did the install of Docker/Grafana on CentOS7, it comes up on port3000, not 9000. Also, I think (?) Grafana changed the name from "Configured" to "Connection" .... so if I'm not being a dumb-a** (very possible!), worth updating the excellent installation directions. |
Beta Was this translation helpful? Give feedback.
-
Long-time lurker who has admired this project since I started the "journey" earlier this year ... and (finally) got Solar running a month ago. FYI FWIW that I had a wrap-up interview with Project Advisor Manager and told them that "next time you are in a meeting with Elon (LOL!), show him the Powerwall-Dashboard."
My question is about connecting to the Inverter from the Public Internet. It appears that most people connect from "inside" their house LAN ... but I'm thinking of pulling the data from a computer "outside" my house - i.e. from the the public Internet. I run a dedicated server (running AlmaLinux9) so it would be nice to host it there.
Obviously I need to "expose" the inverter so it's accessible ... and putting it in the DMZ (i.e. full access) would not be a good idea. I'm guessing that Powerwall-Dashboard pulls everything via requests to port 80, so that's all I need to expose ... and since I'd remap it to something else (plus restrict IP address to my server), I assume that's easily changeable.
I went through the Discussion threads and didn't see anyone talk about doing this ... but can't believe I wouldn't be the first to consider it. Any comments on my idea?
Thanks!
P.S. The Tesla Inverter (7.6kW 1538000-45-A) is currently running 23.12.3 - it won't allow login via the webpage as it redirects to the "use the Tesla Pro's App" screen. While using the App does work (and shows me per-string data which I'm particularly interested in), obviously something like Powerwall-Dashboard is MUCH better!
Beta Was this translation helpful? Give feedback.
All reactions