Slenergy / SmartM PV integration - API

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

1 Like

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

Any news about this? It will be amazing to integrate Slenergy Inverters to Home Assistant.

Hi Jürgen,
did you get the data in HA ? Could you provide the api documentation please?
Best regards,
Christian