SunGather icon indicating copy to clipboard operation
SunGather copied to clipboard

How to configure 2 seperate instances for HA?

Open gemx opened this issue 2 years ago • 1 comments

Hi, i have 2 inverters with seperate lan connections. Both work if configured in sungather. I created to config.yaml files with the ip address of the inverter and had to also set the client id. Then i started two instance by "python3 sungather.py -c config1.yaml" ... Both instances work and are scraping but i only see 1 device (sungrow) in the mqtt integration which shows the data of 1 inverter.

Is there any chance to configure that 2 devices will be created or is the device id somehow hardcorded?

Also tried changing the topic.

gemx avatar Sep 09 '23 09:09 gemx

Hello, the default config publishes under the topic "SunGather/{serial_number}", so that every inverter with his own serial number get's his own topic.

jkopka avatar Nov 14 '23 10:11 jkopka