MQTT Setup
What you need
- SmartgridOne Controller with internet connectivity.
- MQTT credentials: This can be requested from our Support Team.
- Python development environment (or any other MQTT client). This guide uses a basic example written in Python to get you started with MQTT and sending commands. We recommend to use Python for the ease of use, but any other MQTT client is supported.
Extra information
MQTT is a fast communication protocol over the internet. It is a publish/subscribe message systems, which allows for a direct connection between your machine and the SmartgridOne Controller. Your assets are classified into solar, battery, EV, and HVAC groups.
First-time Configuration (Starting point for new users)
I have a SmartgridOne Controller that I'd like to setup for MQTT Remote Control.
1. Check your network
Ensure that your network allows mqtt network traffic over port 1883. You can do this using command:
nc -zv mqtt.eniris.be 1883When this command is not available, you can alternatively download and execute the python code:
When in in doubt, consult your network engineer or temporarily use your phone's 4G/5G hotspot when connection errors occur.
Note
When port 1883 is not accessible from your network, we offer a backup at port 80. This can be configured in your MQTT-client at a later step in this manual.
2. Add your devices
Login to the commissioning interface and make sure the devices are added to the SmartgridOne Controller.
