Adding a Heat Pump
In this step, we will attach our first device to a user by triggering an Onboarding Session to our Connect UI.Create an Onboarding Session
We need to specify parameters which will determine what is shown in the onboarding session and certain parameters of the device, such as language, price zone, and the URLs to which we want to return after completing the onboarding.Request Parameters
Language code for the Connect UI interface (e.g., “de”, “en”, “fr”).
Default price zone/country code (e.g., “AT”, “DE”, “CH”).
Whether smart optimization should be enabled by default.
URL to redirect the user after successful device onboarding.
URL to redirect the user if onboarding is cancelled or fails.
The ID of the user who will own this device.
Response
In the response, you will receive the authentication URL:Redirect to Connect UI
Use theauthentication_url to redirect your user to Connect UI. Connect UI handles:
- Selection of the correct device type and manufacturer
- Authentication with the device manufacturer
- Secure device linking
The Onboarding Flow
In the device onboarding process in Connect UI, the user will be asked to provide their credentials, serial number, or other methods of authentication (depending on the manufacturer). Some devices are only supported via Gateway. Upon successful creation of a device, the user will be redirected to yoursuccess_url, which will be appended with the deviceId as a URL parameter.
Example: https://my-customerportal.com/success?deviceId=8c6efd5a-36d2-4c3d-83a8-b7c9f39242cd
This contains the unique UUID of the device that has just been created. You can use this for further requests to the API.
Test Credentials
For testing purposes of the Connect UI flow, you can use the Nibe myUplink Demo credentials: Test credentials for a myUplink heat pump:- Username:
[email protected] - Password:
Demo1234
These test credentials are only valid for testing and sandbox purposes.
Next Step
Retrieve Device Data
Read data from your connected heat pump
