I am desparately looking for a possibility to connect or to read out my PV data and integrate in HA. After a long back and forth with the company who built my PV system I received the API documentation to obtain the data from the Slnergy server but I am struggling on how to get this built in HA. Is there maybe anyone out there who already has a similar solution?
The API requires OAUTH2 authorization.
Thank you
Jürgen
Hello @juergen_mayer,
If your Slnergy API uses OAuth2, you’ll need to set up a custom integration or use a REST sensor with token-based authentication in Home Assistant. Check if the API supports token refresh and use rest_command
or command_line
to fetch data. You might also explore this GitHub project for inspiration or adapt similar OAuth2 flows from other solar integrations. catmeow
Best Regards,
Clark Dahl
Thanks a lot for the swift answer. You are referring to a GitHub project but did not include a link. Could you please provide the link?
Thanks
Jürgen