solaredge_modbus icon indicating copy to clipboard operation
solaredge_modbus copied to clipboard

Batteries connected to Followers

Open herbi3 opened this issue 1 year ago • 0 comments

Gidday, im not sure how to change the unit for batteries connected to the followers using this example

battery1 = follower.batteries()["Battery1"]

which returns: Battery1(localhost:9004, connectionType.TCP: timeout=5, retries=3, unit=0x1)

however, the unit for the follower is: Inverter(localhost:9004, connectionType.TCP: timeout=5, retries=3, unit=0x2)

I know I can set using: battery1 = solaredge_modbus.Battery(parent=follower, offset=0, unit=0x2)

which does work in this case, however what if there are many batteries connected to the follower inverter?

Screenshot 2024-03-22 at 9 28 26 am

herbi3 avatar Mar 21 '24 23:03 herbi3