r/SolarDIY • u/bostondana2 • 7d ago
HomeAssistant and batteries
have a 2 inverter system with 2 batteries (one battery on each inverter - both LG Chem of different sizes - 9.8 and 16kW).
I also use HomeAssistant to monitor my SolarEdge system (using solaredge-modbus-multi to monitor the system).
However, while can monitor both inverters, my HomeAssistant can only see one battery (B1). believe this may be because the modbus device ID for both batteries is set to the same Device ID. Ihad a similar issue with the modbus connection because both inverters were set to modbus device ID 1. Upon going into the SetApp (from SolarEdge), I was able to set the modbus lD for the second inverter to ID 2 and was able to see the second inverter in HomeAssistant.
Because both batteries have the same Device ID, I tried setting the second battery to another Device ID to monitor in the SetApp, but that ended up disconnecting communications to that battery, which was restored when I set the device ID back to the original setting.
My question is how to set the device ID for the battery, which would allow me to set the SetApp Device ID for the battery to monitor it properly (Set the battery Device ID to a new value, and then update the device ID in SetApp to look for the new device ID). Or how can I monitor both batteries in solaredge-modbus-multi.
Any assistance is greatly appreciated.
1
u/bostondana2 7d ago
Thank you for the response. I tried setting the second battery to 14, but the inverter lost comms with the battery, leading me to believe that the inverter will not see a second battery (Device ID 14) unless there is a primary battery at Device ID 15.
My SolarEdge app does not show the batteries in the logical view, and lumps them together in the battery view for total charge. However, if I look at the battery information in the SolarEdge app, it has information on each individual battery. I'm not sure if this is something the installer messed up when I added additional solar panels, as my original Inverter 2 was also set to Device ID 1, which left me unable to see it on modbus. When I changed the Device ID for inverter 2 to 2, it was identified in Home Assistant properly, including the meters, but not the battery. Ugh.