.Net C# Integration with SMA Solar web interface Sunny Portal (https://www.sunnyportal.com) to get the current power production from solar panels.
Currently only fetches current power production.
SMA Solar does not provide a public API to get information from power production of your solar panels. So a .Net workaround was needed. This extension simulates a http request. On Connect action if login is successful it returns a serialized cookie to be used on the GetCurrentPower action.
Note: avoid making multiple calls to Connect action since the endpoint blocks too many calls. Make one call to Connect action, if successful store on database the serialized cookie that is returned on connect action and make all future requests (to GetCurrentPower) using the store cookie.