-
Notifications
You must be signed in to change notification settings - Fork 21
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
No devices in status.js when no power is generated #39
Comments
Is there any way we can help you with this issue? It has been open for a while and in the meantime a lot of work has been done on a v2.0 version of this custom component. |
I worked around this issue by using SQL to retrieve the latest valid value, but it would be great if the integration caches the values to avoid 'unknown' status. |
Before we can continue we need to make a decision on what to do with unreachable inverters. Feel free to jump in on klaasnicolaas/python-omnikinverter#24 :-) |
Created a new issue with more details about this :-) |
When my inverter (PowerOne + iGEN Wi-Fi external logger) does not generate any power for a while, the inverter disappears from the status.js source, causing errors and resulting in 'Unavailable' sensors.
status.js with sun:
status.js without sun:
Possible fix:
This issue could be resolved by using the cache when the source is retrievable (status.js found), but the regex for the data fails (or
yz_device_num
value is 0). Thepower_current
sensor could be forced to 0, and thepower_today
andpower_total
values could be retrieved from cache.The text was updated successfully, but these errors were encountered: