Replies: 1 comment
-
The intermittent nature suggests this is likely related to network timing issues, possibly exacerbated by firmware changes. TroubleshootingDo the TEDAPI endpoints works? # Test TEDAPI components query (feeds strings data)
curl http://localhost:8675/tedapi/components
# Test TEDAPI config and status
curl http://localhost:8675/tedapi/config
curl http://localhost:8675/tedapi/status
# Battery blocks info
curl http://localhost:8675/tedapi/battery Possible RemediationsDid you change any of the default settings in pypowerwall.env? # Update cache expire to reduce API calls
PW_CACHE_EXPIRE=10
# Enable graceful degradation to use cached data when fresh calls fail
PW_GRACEFUL_DEGRADATION=yes
PW_CACHE_TTL=60 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I confess I'm not sure where in the powerwall code to pursue this, but the power and strings data is suddenly not returning on my installation, albeit sporadically.
The facts that I feel I know:
pypowerwall version 0.14.1 t81
Firmware version: 25.26.1 (upgraded fairly recently, can't locate the date, but within the last week)
pw.power returns a null (I'm calling it from the /pw/power endpoint) and strings seems to be doing the same (again, calling from the /pw/strings endpoint). However, the proxy diags show the tedapi is doing a lot of work and bringing back a lot of data.
the level command does in fact bring back data.
I noted the problem yesterday, checked signal and such, and all seemed fine (exhibited by the tedapi returning data just fine in the logging). I do see the thread lock messages that do seem to plague things as late, but they don't say what exactly is locked.
Yesterday, with little else to seemingly try, I did a restart on the hosting pi, and it didn't address anything. I left it like that, and then hours later the data suddenly started coming back.
This morning, I lost everything coming back, and I have some messaging work that then triggers a pi restart to attempt to correct issues (makes me feel like such a Windows resolution, though it does often work!). This left me again in that odd state where I'm getting the levels back, but not the power or strings data.
I'm looking for ideas how to pursue this or tease it apart. I do feel like the Firmware upgrade was a peculiar one in that it happened in the middle of the day, rather than at 11pm like their normal updates seem to be processed. I believe it happened last week, though I've not yet located when this happened in order to be sure it's something to correlate.
Beta Was this translation helpful? Give feedback.
All reactions