-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi ,
First of all, thank you for this integration, it works great!
I am opening this issue to ask for advice regarding the "Off-Grid" detection.
My goal is to set up an automation (email/notification) to alert me when there is a real power outage and my house switches to battery backup mode.
The Issue:
Currently, I am using binary_sensor.alphaess_off_grid. However, looking at my logs, this sensor seems to switch to on (off-grid) as soon as Grid Power Total reaches 0W.
Since I have a battery and my self-consumption is often perfectly balanced (Solar = Load), my system stays at 0W grid exchange for long periods (sometimes hours). This triggers false "Off-Grid" alerts continuously, even though the grid is actually present.
Observations:
- My
sensor.alphaess_grid_voltage_l1state is "unknown", so I cannot use voltage drop as a trigger. - The official AlphaESS App correctly differentiates between "Grid is present but load is 0" and "System is Off-Grid".
Question:
Is there a specific system status code or another parameter exposed by the API that definitively indicates "OFF GRID"?
It would be incredibly useful to have a dedicated sensor for this to create reliable power outage alerts.
Thanks for your help!