Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

ESTAR ENERGY use the same api platform - Make BASE_URL configurable? #176

Closed
xenio opened this issue Aug 27, 2024 · 5 comments
Closed

ESTAR ENERGY use the same api platform - Make BASE_URL configurable? #176

xenio opened this issue Aug 27, 2024 · 5 comments

Comments

@xenio
Copy link

xenio commented Aug 27, 2024

I have a ESTAR ENERGY Micro Inverter and it use an HERF DCU wifi to connect to the cloud.

Looks like they use the same api platform as Hoymiles.
The website is:
https://monitor.estarpower.com
and api points to:
https://monitor.estarpower.com/platform/api/gateway/

Domain:"monitor.estarpower.com"
Token:
estar_token: (with auth response)
estar_token_language: en_US

Is it possible to have the BASE_URL (and all the necessary url) configurable from the ADDON UI configuration of Home Assistant?

Thanks.

@xenio xenio changed the title ESTAR Energy use the same api platform - Make BASE_URL configurable. ESTAR ENERGY use the same api platform - Make BASE_URL configurable? Aug 27, 2024
@Cosik
Copy link
Collaborator

Cosik commented Sep 2, 2024

@xenio please check stable from my fork https://github.com/Cosik/hoymiles/tree/master and check if it is working. I added button to switch between estar and hoymiles. If it will not work than it mean there are differences in API.

@xenio
Copy link
Author

xenio commented Sep 3, 2024

@Cosik thanks, I am not sure if just changing the url is enough, I think the cookie name should be changed too.

COOKIE_UID

COOKIE_UID

@Cosik
Copy link
Collaborator

Cosik commented Sep 30, 2024

@xenio did you found another differences? Because without it I will be not able to prepare proper code.

@xenio
Copy link
Author

xenio commented Sep 30, 2024

I think it is ok, I changed myself url and cookies and it was working, but I can't test it. I switched to OpenDTU, I am not using Herf hardware DCU and the website anymore.

@Cosik
Copy link
Collaborator

Cosik commented Sep 30, 2024

@xenio thanks for info, I think this was the best option. I'm also using OpenDTU

@Cosik Cosik closed this as completed Sep 30, 2024
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