hello @Boeb, the first step (Authorization Request) always works (almost) exactly as shown in the documentation. For demonstration puposes, Viessmann used a browser to make the call with the bogus listening/webhook address of http://localhost:4200. This of course results in a browser error message but the authorization code is created nonetheless as part of the URL shown in the browsers address line. To automate this, you need a calling app that is also providing your credentials automatically. Viessmannn responds to the request by sending stuff to the Redirect URI. Your app has to listen to the redirect URI. The URI can be anything but has to be set and saved in the edit client window of the developer portal. I'm using Node-Red running on a Raspberry Pi. Node-Red is using portnumber 1880 for html responses, hence the Redirect URI is set to http://localhost:1880 Frankly, I'm not sure why you want to use .NET for this - unless you have a low power consuming hardware on which it runs. Using the API in a 24/7 fashion definitely isn't something for a desktop computer. It's much easier to have the Interface to Viessmann running on a Raspberry Pi or similar and access it with a browser. Or do you intend to duplicate Viessmann's ViCare App on a mobile device? Also this article could be helpful in understanding the Authorization Request. Also some of my other articles and tutorials in this forum might provide more info. Hope this helps. Kind regards Chris
... Mehr anzeigen