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

More than one inverter possible? #85

Closed
jaal2001 opened this issue Aug 20, 2023 · 4 comments
Closed

More than one inverter possible? #85

jaal2001 opened this issue Aug 20, 2023 · 4 comments
Assignees

Comments

@jaal2001
Copy link

I tried to add an additional inverter, but that produced only an error message. In the end I created an additional docker container to gather the information from the second inverter. So did anyone manage to add an additional one?

@mpepping
Copy link
Owner

Shouldn't be too hard to add support for multiple inverters. For now running two instances is the best option. Will keep this open a reminder to add this as an improvement.

@mpepping mpepping self-assigned this Aug 26, 2023
mpepping added a commit that referenced this issue Sep 4, 2023
Multiple inverters are supported by adding these as a list to the config file (see `README.md`)
mpepping added a commit that referenced this issue Sep 4, 2023
Multiple inverters are supported by adding these as a list to the config file (see `README.md`)
mpepping added a commit that referenced this issue Sep 4, 2023
@mpepping
Copy link
Owner

mpepping commented Sep 4, 2023

@jaal2001 the version in the main branch (and the ghcr.io/mpepping/solarman-mqtt:main image) have support for multiple inverters. See this section in the README for usage.

/cc @nicks-technik: maybe relevant for you as well (#31)

@jaal2001
Copy link
Author

jaal2001 commented Sep 5, 2023

Works perfectly. Suggestion: Improve config.json.example file in this way:

[
{
"name": "",
"url": "",
"appid": "",
"secret": "",
"username": "",
"passhash": "",
"stationId":,
"inverterId": "",
"loggerId": "",
"debug": false,
"mqtt":{
"broker": "",
"port":,
"topic": "",
"username": "",
"password": "",
"qos": 1,
"retain": true
}

},
{
"name": "",
"url": "",
"appid": "",
"secret": "",
"username": "",
"passhash": "",
"stationId":,
"inverterId": "",
"loggerId": "",
"debug": false,
"mqtt":{
"broker": "",
"port":,
"topic": "",
"username": "",
"password": "",
"qos": 1,
"retain": true
}
}
]

This could help to identify how to use multiple inverter.

@mpepping
Copy link
Owner

mpepping commented Sep 5, 2023

Thanks for confirming, @jaal2001!

I'll update the config.sample.json file according to your suggestion.

@mpepping mpepping closed this as completed Sep 5, 2023
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