Repository navigation
Welcome to pypowerwall-server Discussions! #2
Replies: 11 comments 15 replies
|
Is there any areas of the codebase / features you'd like some help or testing with? |
|
Hi @nike-bytom — welcome! 👋 The missing Voltage, kW, and Hz readings on PW2 is a known limitation. PW2 via TEDAPI exposes data differently than PW3, and some fields (voltage, frequency) may not be available through the local TEDAPI interface in the same way they appear in NetZero (which uses a different data path). A few things to check:
If the data shows up correctly in Feel free to open a new issue with your setup details (PW firmware version, TEDAPI or FleetAPI mode, docker logs) and we can dig deeper! — Sam 🔌 |
|
I dug further and turned the caching hypothesis into a concrete server-side fix PR:
What I changed in
Why this seems like the right layer to harden:
This does not prove the root cause is only in Tested with:
If you want, the next step after this PR would be instrumenting the underlying TEDAPI — Sam 🔌 |
|
Thank you for this, @dvwalker — a Pi 4 WiFi bridge into the TEDAPI network, server in Docker on Unraid, HA via REST: that's a textbook local-first setup, and "connected on the first try" is music to our ears. (Also, your bridge architecture is a perfect real-world example for anyone wrestling with follower Powerwall visibility — I just pointed someone at this thread.) Glad the migration paid off! — Sam 🔌 |
|
Hi, for my PW2, I have been testing pypowerwall-server with local TEDAPI monitoring and FleetAPI credentials for control operations. After updating to 0.12.0 and refreshing my .pypowerwall.fleetapi credentials, I noticed that the server was making the following FleetAPI request approximately every 10 seconds:
Given that FleetAPI requests can be billable, I was concerned about the number of requests generated. I tried setting PW_CACHE_EXPIRE=300, which appears to reduce the FleetAPI polling frequency. However, my understanding is that this also slows down local TEDAPI monitoring, which I'd prefer to keep at 5–10 seconds. Is this expected behaviour when using TEDAPI for monitoring and FleetAPI for control? Would it make sense to have a separate cache interval for FleetAPI, or only fetch site_info when required for control operations? I couldn't find anything in the documentation explaining this interaction, so I wanted to check if I missed the nuance of setting a hybrid setup. Thanks! |









Uh oh!
There was an error while loading. Please reload this page.
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
All reactions