Detect power loss / grid is out #618
Replies: 5 comments 17 replies
-
I don't know what "register 113" would be. The SolarEdge modbus registers through the inverter start at address 40000. |
Beta Was this translation helpful? Give feedback.
-
I read the discussion but it's not clear to me what "register 113" means. Usually numbers that low in modbus would be a coil address, but coils should be a single bit (not a 32 bit read). Holding registers - the type that are documented and used in the integration - are modbus addresses starting at 40000. I can add it but I need to know more than "register 113". |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm the OP who posted the note about register 113. Here is the original excerpt from the note from the manager I worked with at SolarEdge. I promised him I wouldn't share his contact info, but he is well-placed to be knowledgeable about this. I believe the register is still considered an "undocumented API" but I also believe that SolarEdge has plans to publish it, along with other expansions of the Modbus interface, in the future. Also, assafshafran thanks for making me aware of this great program, and WillCodeForCats thanks for writing it! Cheers, =========== EDIT: I previously included the wrong email with an earlier, incorrect location. Here is SolarEdge's corrected email that is consistent with the 113 value. 9CB1 as corrected by SolarEdge converts to 40113 in decimal. The Modbus Data Thing in openHAB that is working for me uses the offset from the base address of 40000, so 113 is the "Read Address" parameter in the config UI. Sorry to have added to the confusion!! =========== Hi David, Can you please try reading registers 9CB1 (hex format) as an Unsigned 32bit Big Endian format register? I do in fact thing we have a documentation issue which is what is leading to all this confusion on our side. If you are able to successfully read zero, I suggest conducting an OFF grid test to see if this will switch to a value of “1”. |
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.
-
I can confirm this is working with my BUI and batteries setup. |
Beta Was this translation helpful? Give feedback.
-
I saw in this discussion a potential solution utilizing an unsigned 32-bit integer from register 113 (0 means grid is normal, 1 means grid is out). Can this be added to this integration?
Beta Was this translation helpful? Give feedback.
All reactions