Hello world!
I am currently trying to integrate my NIBE heat pump to HA but I have run out of luck. I am not nearly as skilled in the arts of API and Oauth as I would like to be at the moment.
So is there any one else out there that would like a NIBE heat pump component? (or maybe some other kind of integration to HA, via some existing component?)
For the skilled out there, here is some info:
NIBE Uplink API uses the same credentials as the normal NIBE Uplink. Even if you don’t have a NIBE heat pump you can still create a user (at https://www.nibeuplink.com/) and then get access to the API site (at https://api.nibeuplink.com/) where the documentation is available.
The API is a RESTful API running conventions using HTTPS over the api.nibeuplink.com domain and authenticates via the OAuth 2 protocol. All data is sent and received as JSON.
More from NIBE:
Users are authenticated via the OAuth 2 protocol. NIBE Uplink currently supports the Authorization Code Grant flow and the Implicit Grant flow. The Authorization Code Grant flow targets clients which the OAuth 2 specification deems confidential, such as web applications and mobile apps while the Implicit Grant flow is a shorter flow which targets public clients that can’t keep the confidentiality of the OAuth credentials, such as browser based JavaScript applications.
Under no circumstances is the client allowed to process or handle a user’s secret login credentials.
The following URL:s are used for the OAuth 2 requests:
Authorize endpoint NIBE Uplink™
Token endpoint /oauth/token - NIBE Uplink™ API
I tried this guide my self but got lost in the Oauth 2 process…
http://www.marshflattsfarm.org.uk/wordpress/?page_id=3480