Replies: 13 comments 60 replies
-
I'm not aware of a way to get the backup interface status through modbus, so right now it's not possible. If someone is able to find out registers for the backup interface I will be happy to add it to the integration. |
Beta Was this translation helpful? Give feedback.
-
@CH-Tefi For the time being you could compare the current states on the grid side and inverter side to detect if the backup interface is in backup mode. |
Beta Was this translation helpful? Give feedback.
-
I handled this with an ESP8266 + a Photoelectric sensor, and a bit of YAML attached to the green LED on the front of the BU interface. The light will normally flash with a cadence of about 800ms, and will change to solid ON when in backup mode. I even added a second 'device' within the same physical sensor that can detect if the light goes out for more than 2000ms and can alert that there's a problem. For completeness sake I don't trigger unless the light is solid ON for more than 1200ms. It's not the most ideal solution but it's been pretty steady through a couple outages. -darkwind |
Beta Was this translation helpful? Give feedback.
-
I came to this thread looking for the exact same answer to the same question as I now also have a backup interface and have setup dynamic reserve allocations based on weather warnings. I was wanting to power off some high power devices if running on backup. What data/information would be required to explore the option of exposing this information via the module? I'm happy to poke about and gather anything which might be viable and of use |
Beta Was this translation helpful? Give feedback.
-
Hi, I can confirm that the AC frequency and current both register no value when running on the battery during power cut, as the enclosed screenshots show. Hope that helps to build an automation. ![]() |
Beta Was this translation helpful? Give feedback.
-
I'm also looking into this. I had a grid power outage this morning for approx 15minutes, and my battery kicked in during this time. I also noted what @smithy70 mentioned; the AC goes to a non-numerical value during this time. For a loss of grid power with the battery running - the AC was "unknown". However I can also see a previous outage, where I lost grid power and my battery was already empty, and that the AC was "unavailable" - because my HomeAssistant also has a UPS, so it kept the power, but the inverter itself was offline. So "unknown" means your inverter has power, but no mains, and "unavailable" means your inverter has no mains power (or you lost the network connection). Secondly - I can confirm that my battery actually stayed in "B_STATUS_CHARGE" before, during, and after the outage. The reason is because the outage occurred mid morning and was a particularly sunny day here - so the battery was charging even with the outage due to my solar production exceeding my requirements during the outage. So you cant use the battery status to determine if you have lost grid power. So is it possible to have a "grid power available yes/no" entity built into this module, based purely off if the AC is a number vs unavailable? That alone is probably going to be the right answer. And then using that entity, we can build various automations if it changes etc. Secondly - SolarEdge itself must be detecting this "somehow" - because their app alerted me of a power outage, and when the power was restored, even though the battery kicked in. So either this is an extra official sensor somewhere in the inverter we dont know about, or they are also using the loss of AC as the indicator. In addition - I have a single phase house. Even with single phase, the other 2x phases that are normally "0" also reported a non-number value during the grid outage. See photos. Then all the various "AC Voltage XX" numbers entities also showed gaps. See photos. |
Beta Was this translation helpful? Give feedback.
-
For now in NodeRed I'm just doing an "event state" node change, and checking the M1 AC Current node. If it reports a non-numercial value using the regex, I mark a toggle "mains outage in progress" as true. Then all my other functions are set to react to a "mains outage true" event and respond accordingly (i.e. turn off things I dont want to run on battery during an outage). |
Beta Was this translation helpful? Give feedback.
-
I've setup the following, but yet to test it properly. I added a delay incase of false positives and to stop ping/pong in case of power up/down events rapidly. |
Beta Was this translation helpful? Give feedback.
-
I was wondering if the meter event referenced on p19 of the pdf attached able to be added as a sensor? M_EVENT_Power_Failure 0x00000004 Loss of power or phase |
Beta Was this translation helpful? Give feedback.
-
Ok - thanks. FYI in my history the attributes remain at 0x000000 and there are no events, even when the power outage occurred. Are the bits been captured the raw output of the sensor? Can we capture the raw output somehow and I can trigger a fake power outage on my system with my electrician who's coming around next week for a different reason? See if we can capture anything to help work out why its not working? |
Beta Was this translation helpful? Give feedback.
-
Please try Release v2.4.17-pre.3 for Grid Power Available binary sensor. |
Beta Was this translation helpful? Give feedback.
-
Hi Seth, does this "Grid Power Available" sensor depend on the battery integration (as one of the unlucky masses that don't have a battery register-enabled inverter)? If I can only auto-detect meters, should this show up? I'm on 2.4.18. Thank you! Detecting grid available is a huge deal for me and i've been looking for something like this a long time. The hope is an automation to turn off my heat pumps when grid is down and switch to floorboard heat. Heat pumps basically suck down my batteries very quickly. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Good morning
I've installed a backup interface on my solaredge.
How can I detect, if the backup interface in backup mode, to reduce the power consumption via an automation in HA?
many thanks for any help
Beta Was this translation helpful? Give feedback.
All reactions