How to Set Device IDs for Multiple LG Chem Batteries in HomeAssistant?

0
Asked By r4nd0mU53r34 On

I'm currently using HomeAssistant to monitor my SolarEdge setup, which includes two inverters and two LG Chem batteries (one on each inverter, with sizes of 9.8 and 16kW). While I can successfully monitor both inverters, I can only see one battery (Battery 1) on HomeAssistant. I suspect this issue is due to both batteries sharing the same Modbus Device ID. I had a similar issue with the inverters, which were both assigned Device ID 1; however, I resolved that by changing the second inverter's ID to 2 through the SetApp.

Now, I want to know how to properly set the Device ID for the second battery so I can monitor it as well. I've tried using SetApp, but whenever I change the Device ID, it disconnects the communication for that battery, and I have to revert back to its original setting. How do I set a new Device ID for the second battery while ensuring communications remain intact, or is there a way to monitor both batteries using solaredge-modbus-multi?

1 Answer

Answered By b4tt3ryM4st3r22 On

So, for LG Batteries connected to SolarEdge, it's typically recommended to set the first battery to Device ID 15 and the second to 14. Have you tried that? It might help Home Assistant recognize them as separate units while maintaining communication. There's a chance the inverter's firmware is designed to look for these IDs specifically, so using any other number could break the connection. In my setup with three batteries, all appeared in the SolarEdge monitoring with no issues. It seems like SolarEdge has mechanisms in place to check different Modbus interfaces for devices that HomeAssistant might not be utilizing effectively. If you dig into the script logic, you might find a way to differentiate between the batteries.

h3lp_f4n -

I appreciate the insight! I did set the second battery to ID 14 but ended up losing communication, suggesting that the inverter won't detect Battery 2 unless Battery 1 is correctly set at ID 15. My SolarEdge app lumps the batteries together in the view, but it seems like they acknowledge individual statuses when you check detailed info. This is frustrating, especially since changing the inverter ID helped it show up, yet the same won’t work for the battery. Ugh!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.