This API provides real-time telemetry data from enPact N4-2 IoT devices connected to the Enpact cloud platform. The devices are temperature monitoring and relay control units that publish their state periodically via MQTT.
partners.iot.enpact.cloud8883 (MQTT over TLS)To connect, you need the following files:
mosquitto_sub -h partners.iot.enpact.cloud -p 8883 \
--cafile AmazonRootCA1.pem \
--cert your-certificate.pem.crt \
--key your-private.pem.key \
-t 'es-lite/#' -v
Devices are identified by their MAC address, with IDs following the pattern:
esl-n4-2-{macAddress} (e.g., esl-n4-2-fc012cdac244)
esl - enPact product identifiern4-2 - Hardware/firmware version{macAddress} - 12-character hexadecimal MAC address| Field | Description |
|---|---|
tc |
MCU (microcontroller) temperature |
t1 |
Coolant In temperature |
t2 |
Coolant Out temperature |
t3 |
Space temperature |
t4 |
Aux/Product temperature |
ta |
Average temperature |
p |
Energy Saver mode active |
r1 |
Compressor Energy Saver mode (true = saving energy) |
r2 |
Fan Allowed To Run (true = allowed, false = disabled) |
enPact IoT Cloud MQTT Broker
Mutual TLS (mTLS) authentication.
Required files (provided by enPact Support):
Receives real-time state updates from enPact devices. Each device publishes its current sensor readings and relay states periodically.
Subscribe to receive state updates from a specific device
Subscribe to this operation to receive periodic state updates from a specific enPact device. Messages are published approximately every few seconds when the device is online.
Available only on servers:
Unique device identifier in the format esl-n4-2-{macAddress}.
Example: esl-n4-2-fc012cdac244
Message format:
Current state of an enPact device including temperatures and relay status
Telemetry data from an enPact temperature monitoring device
Device with energy saver enabled, all sensors connected
{
"p": true,
"tc": 26.1,
"t1": 22.5,
"t2": 22.2,
"t3": 23.8,
"t4": 23.5,
"ta": 23,
"r1": false,
"r2": true
}
Device with coolant-in sensor disconnected (negative reading)
{
"p": true,
"tc": 25.5,
"t1": -55.4,
"t2": 20.8,
"t3": 22.2,
"t4": 23.5,
"ta": 21.9,
"r1": false,
"r2": true
}
Energy saver off, compressor energy saver active
{
"p": false,
"tc": 24.8,
"t1": -46.6,
"t2": 35.7,
"t3": 19.3,
"t4": 34,
"r1": true,
"r2": true
}
Subscribe to this topic pattern to receive state updates from all enPact devices. Useful for monitoring the entire device fleet.
Subscribe to receive state updates from all devices
Subscribe using the wildcard topic es-lite/# to monitor all devices simultaneously.
Useful for dashboards and fleet monitoring applications.
Available only on servers:
Message format:
Current state of an enPact device including temperatures and relay status
Telemetry data from an enPact temperature monitoring device
Device with energy saver enabled, all sensors connected
{
"p": true,
"tc": 26.1,
"t1": 22.5,
"t2": 22.2,
"t3": 23.8,
"t4": 23.5,
"ta": 23,
"r1": false,
"r2": true
}
Device with coolant-in sensor disconnected (negative reading)
{
"p": true,
"tc": 25.5,
"t1": -55.4,
"t2": 20.8,
"t3": 22.2,
"t4": 23.5,
"ta": 21.9,
"r1": false,
"r2": true
}
Energy saver off, compressor energy saver active
{
"p": false,
"tc": 24.8,
"t1": -46.6,
"t2": 35.7,
"t3": 19.3,
"t4": 34,
"r1": true,
"r2": true
}
Current state of an enPact device including temperatures and relay status
Telemetry data from an enPact temperature monitoring device
Telemetry data from an enPact temperature monitoring device