Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 installations on one account. Show second installation in Domoticz #45

Open
rensbr opened this issue Apr 21, 2024 · 3 comments
Open

Comments

@rensbr
Copy link

rensbr commented Apr 21, 2024

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?

@jan-vandenberg
Copy link
Contributor

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/

@rensbr
Copy link
Author

rensbr commented Apr 22, 2024

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.

@rensbr
Copy link
Author

rensbr commented Apr 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants