Provisioning Configuration

Each Homebase manufactured by Energomonitor contains configuration data in internal non-volatile memory. This configuration consists of network settings, secret keys for encryption and for authentication on MQTT server and IP address of Energomonitor’s provisioning server.

Before Homebase can connect to any MQTT server (cluster) and start sending measured data, it has to get IP address and port of cluster from provisioning server.

The Homebase firmware sends these requests to provisioning server after each power-up, reset and periodically in 2 hours intervals. Request is done via HTTP protocol and contains current firmware version and serial number of Homebase. Response from provisioning contains:

  • Firmware upgrade (this part is present only if upgrade is prepared for given Homebase).

  • Cluster server IP address and port (this part is present only if Homebase is paired to any cluster server).

Data from Homebase can be send to any cluster (MQTT server) with compatible input API. In order to start receiving data from Homebases, the cluster server has to register all Homebases via HTTP on Energomonitor’s provisioning server. This HTTP request is called pairing and contains authorization token of cluster and serial number of Homebase to be paired.

Note

Homebase does not send any measured customer’s data to provisioning. This server is for firmware upgrades and configuration only.

Note

More informations about provisioning server can be found in its documentation.

Resources

Detailed information about HTTP API for pairing Homebases can be found in section Cluster API of Provisioning documentation.