Open rensbr opened 4 months ago
I have two inverters and use this (link) to add the totals, this is maybe not exactly what you need, but maybe a step in the right direction to help you figure this out:
https://j11g.com/2024/04/01/how-to-add-the-total-of-two-solar-inverters-in-domoticz/
Thanks for your reply. That is a nice script to combine both totals.
But the problem now is that I can only see the output of inverter 1, not of inverter 2.
Also the script that you are using: https://github.com/sincze/Domoticz, does not support two inverters in one account.
I have looked a little further and saw two things: In the current script it is possible to fill in plantID, but it does not make a difference when I fill that in.
I also found an other Python library and with that is is possible to get the seperate installations, with the following script:
import growattServer
import getpass
api = growattServer.GrowattApi()
login_response = api.login(<userName>,<Password>)
#Get a list of growatt plants.
#print(api.plant_list(login_response['user']['id']))
#Get first plant info
print(api.device_list(NUM1))
#Get secon plant info
print(api.device_list(NUM2))
But I have no idea how to translate these commando's into the current plugin. Or look for the actuall used link, so we can change that in the current plugin.
Today I installed a second inverter at home and made a seperate installation for that within the same Growatt account.
But I cannot figure out how to show the second inverter in Domoticz, since you can not add a installation code / number at the plugin. Does anybody know how to add the second installation?