Repository navigation
TEDAPI Bearer Authentication Mode #105
Replies: 14 comments 24 replies
|
@jasonacox-sam, Kent is referencing my branch here: https://github.com/Nexarian/pypowerwall/tree/re-work-proxy-next which contains an prototype version of the proxy that does multiple gateways and has an additional prototype of the bearer mode integrated. It's the baseline for a lot of the work I've merged in thus far. @kentsimon50 -- I haven't yet sat down and integrated the pypowerwall-server with my newer PyPowerwall changes (just need to find the time), but there's one load-bearing question in what you wrote: Does my prototype docker image I sent you months ago NOT work with LAN/bearer on the Powerwall 2? My understanding was this does for both Powerwall 2 and the inverters, has that changed? Are you specifying the V2026_06 API version? I could never get bearer auth to work without it. |
|
@Nexarian I was never able to get your prototype to work with LAN/bearer on the Powerwall 2. I did not try your newer Docker v0.12.6 to see if it would connect to my powerwall 2. Is it different? I am specifying the V2026_06 API version for pypowerwal v0.17.3. I don't remember about before. This is what I get for the powerwall 2 stats tedapi_mode | "off" config |
|
@jasonacox-sam This is one run with no password. I can see that it tries TEDAPI PW_EMAIL=kentsimonxx@xxxxxxxx 09/09/2026 08:46:15 PM [proxy] [INFO] pyPowerwall [0.17.3] Proxy Server [t101] - HTTP Port 8675 - DEBUG 09/09/2026 08:46:15 PM [proxy] [INFO] pyPowerwall Proxy Started |
Then we have a miscommunication/misunderstanding. I thought you had. If it NEVER worked, then it likely never will and this is relegated to solar-inverters only. For PW2, then, you might need to explore the RSA token/v1r path... That's how to get LAN access back for the Powerwall 3 @jasonacox-sam I suspect we may need to update the docs. The source of "It works for PW2 and Inverter" was me, based on conversations I had with Kent months ago, but I probably only heard what I wanted to hear. |
|
Part of the problem here: I don't have a Powerwall. The net metering policies where I live (Pennsylvania) are such that a Powerwall doesn't make sense economically speaking. |
|
@Nexarian It was probably my misscomunication. I was hoping someone else had a powerwall 2 to test besides me and it was working. The weird thing is that at the 192.168.91.1 end point I always have to give the password and GW_PWD. It will only connect in TEDAPI hybrid mode. I know you are inverter only. I wish I could. My utility charges $ 0.08 /kwh and gives me $ 0.013 /kwh and $10 /kw demand at peak demand. |
|
@erikgieseler @kentsimon50 Try this: https://github.com/jasonacox/pypowerwall/tree/main/tools/tedapi-lan There's an older discussion on this as well: jasonacox/pypowerwall#165 (comment) It converged on: Use the "v1r" route for Powerwalls, as nobody but Matthew seemed to be able to get the DIRECT RSA key approach working (though with AI assistance you might be more lucky nowadays) |
|
@Nexarian I have gotten your feat: per-gateway TEDAPI auth mode and API version to Work. I have both my Powerwall 2 and inverter running on it. Powerwall is TEDAPI v1r and inverter is bearer both on LAN. I have 1 problems. The solar is doubled because it's getting it from both gateways. This is a large step forward.
|
|
@jasonacox-sam We need to do a thorough scrub of the documentation in pypowerwall, pypowerwall-server, and Powerwall Dashboard In some cases they're still saying that hardwired LAN access isn't available at all referencing last year's 25.10 update, and some now say mis-mashed hybrid things. But the state of truth as I see it now:
I have two PRs out right now to aid with the bearer/inverter space: |
|
Agreed — the docs have drifted behind the actual connectivity state, and your summary matches what kentsimon50 and erikgieseler have now demonstrated in this thread (v1r for PW2/PW3 on hardwired LAN, bearer for inverters, wifi always available). I'll take a documentation scrub pass across pypowerwall, pypowerwall-server, and Powerwall-Dashboard to align them with that state of truth, referencing this discussion and #109 as the anchors. Will coordinate with Jason before pushing doc changes. On your open question — gateways with no batteries/inverters attached — agreed the honest move is to state plainly that it's untested until someone with that hardware investigates. — Sam 🔌 |
|
Hi @jasonacox and @Nexarian and @jasonacox-sam I am running your new pypowerwall-server v.0.7.1 on my production system. I have firmware v.26.26.4. I am connected with TEDAPI v1r on my Powerwall2. I am very excited to see that you say I can see my fan but it's not there! I look at vitals and pod no fans. Am I doing something wrong? |
|
Hi Kent — nothing wrong on your end, and thanks for running v0.7.1 in production. Quick context on how the fan data works: it comes from the TEDAPI client ( Two quick checks would pin it down:
If you can paste what those return (redact anything sensitive), I'll take it from there. — Sam 🔌 |




Uh oh!
There was an error while loading. Please reload this page.
Hi Jason and @Nexarian and @jasonacox-sam
I have a gateway2, powerwall 2 and stand alone tesla inverter. I have hardwire lan to the gateway/powerwall2 (192.168.10.12) and the inverter (192.168.3.135). I also have wifi connection to gateway/powerwall2 at (192.168.91.1). I have v26.26.4 on both my powerwall and inverter. (Don't worry, I have the different subnets connected together)
I am running pypowerwall-server connected to the wifi 192.168.91.1 to get data with vitals. I’m running from the same machine @Nexarian’s docker to connect to my inverter at 192.168.3.135 and get my strings(vitals) from my inverter. This is running 2 Powerwall-Dashboard stacks feeding 1 influxdb.
I am trying to do this with pypowerwall 17.3. I can now connect to the inverter 192.168.3.135 using “bearer” and get vitals!
My problems are
I don't know what I'm doing wrong or if it is possible. I've tried many different ways with and without PW_PASSWORD and PW_GW_PWD
My dream is to have pypowerwall-server with data from my powerwall2 and string data from my inverter. I can’t tell if this is available now or going to be in the future.
I”d like to get rid of my travel router at 192.168.91.1 since the wifi goes down every now and then.
All reactions