-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't understand my Solar Inverters grid status (Simultaneously offline and online?) -- Powerwall Animation broken #577
Comments
More information:
Yet in alerts:
Something to do with a Tesla Solar inverter and not a powerwall in TEDAPI mode? Does "Islanded" mean something different for just inverters? |
What do you see in http://localhost:8675/tedapi/status ? I have:
|
One thing I've noticed, in the full status, there are blocks like this:
and
But we're searching for status like this: We're doing a broad-spectrum search for anything that might indicate islanded grid status, without verifying if those metrics are enabled or active. Still, it bothers me that the core I want to fix this before I roll out more on my multi-inverter dashboard/proxy. |
I connected to fleetapi using pypowerwall and ran
I am not islanded! Yay! I was getting scared for a moment that something was seriously wrong with my system. I will work on a fix for get_api_system_status_grid_status Effectively: This is not a bug with Powerwall-Dashboard, it's a bug where pypowerwall does not handle grid_status correctly on solar only inverters with TEDAPI. That's a pretty obscure edge case, but I'm hitting it! I'll resolve this issue and create a corresponding one on pypowerwall to resolve the bug. I have a guess as to how to fix this, to check for things like |
Thanks @Nexarian - You are right, there is no official documentation on what we are doing. :) What you suggest makes sense. I would err on the side of creating the conditional based on those other data points, but also allow for those datapoints to not exist and fall back to "as is". I'm trying to think of a case (or system config) where your proposed path would cause problem. Please make the change and test on your system and submit a PR so I can test as well. 🙏 |
This is better. |
Alerts (taken at night from TEDAPI)
The conflict is "SystemConnectedToGrid" and "SystemIslandedActive" (these two never change, the inverters always have both)
"SystemConnectedToGrid" is coming from /status, and "SystemIslandedActive" is being added by the pypowerwall alerts code because the status JSON contains key/value pairs such as:
"ISLAND_GridState": "ISLAND_GridState_Grid_Uncompliant",
"ISLAND_GridConnected": "ISLAND_GridConnected_Island",
"PINV_GridState": "Grid_Uncompliant",
This is confusing the animation so it believes I'm offline and doesn't render. I'm pretty sure my system IS connected to the grid (though if it's correctly connected I'm not sure), as I am sending power back through the meter socket (I verify this independently with an Emporia Vue).
So my system is both connected to the gride AND offline? I think we might need to tweak this... Is this perhaps because I have 2x standalone solar-only inverters and no battery? So perhaps parts of the system will report not connected to the grid because the Gateway in the inverter COULD also work in a Powerwall but the relevant hardware isn't there?
The text was updated successfully, but these errors were encountered: