Skip to content

Add growattUrl to the Homeassistant Addon Config #29

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

Open
bot17 opened this issue Oct 7, 2024 · 3 comments
Open

Add growattUrl to the Homeassistant Addon Config #29

bot17 opened this issue Oct 7, 2024 · 3 comments

Comments

@bot17
Copy link

bot17 commented Oct 7, 2024

can you make the Growatt url configurable? my Noah is in the Australian cloud, the address would then be either https://server-au-api.growatt.com/ or https://openapi-au.growatt.com.
Thank you very much

@mtrossbach
Copy link
Owner

Thank you for the suggestion! I will add the option to configure the Growatt URL in the application. Is the API consistent across all regions? Once it's implemented, would you be open to helping test it with the Australian cloud? That would be really helpful.

@bot17
Copy link
Author

bot17 commented Oct 7, 2024

I think so. you can see the URLs here: https://github.com/home-assistant/core/blob/dev/homeassistant/components/growatt_server/const.py

The login must also take place on these servers, the user accounts are separate.

I am happy to help with testing, just need a HowTo.

@mtrossbach
Copy link
Owner

I've added the option to configure the server URL via environment variables, it currently only works with server-api.growatt.com. This is because the authentication mechanisms differ across the various Growatt APIs. I haven't had the time to fully investigate and implement support for all of them yet. The Growatt API landscape is a bit of a mess. It seems like different teams have worked on different parts with varying levels of consistency.

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