The Onboarding guideline is meant for new integrations using the Eniris MQTT Protocol.
Before implementing the integration, request its Eniris MQTT credentials through the distributor. The onboarding API does not create broker credentials.
A drawback of the MQTT protocol is that there is no notification or data transfer when a new installation is added. Therefore it is recommended to include the following steps before fully integrating with the Sunlight Group EMS.
The following will be required to set up an onboarding flow
External API
At least two endpoints
A new user adds the external signal in the Sunlight Group EMS. The Onboarding endpoint will be called to indicate that the Sunlight Group EMS is ready to be listening for commands.
The Sunlight Group EMS has lost connection with the battery. The healthcheck endpoint will contain an error message.
A contract number is required to link a Sunlight Group EMS serial number to a customer. A contract number can be included in the onboarding flow, reducing back-and-forth communication between external signals and end customers.