Free Modbus template: Shelly Pro 3EM | ModbusCloud
Modbus TCP
Shelly Pro 3EM
Shelly
Monitors three-phase energy metering via Modbus TCP on Shelly Pro 3EM
Overview
Modbus TCP template for the Shelly Pro 3EM three-phase energy meter. It reads voltage, current, active power, apparent power, power factor, and accumulated energy across all three phases and neutral. No writable control registers are included.
Key readings
Voltage A, B, C
Current A, B, C
Active power A, B, C and total
Apparent power A, B, C and total
Power factor A, B, C
Total active energy (perpetual)
Use cases
Monitor three-phase voltage, current, and power on a live dashboard for your customer's main distribution board.
Track total accumulated energy consumption over time to support billing or energy audits.
Create an alert when power factor on any phase drops below a defined threshold for more than five minutes.
Compare per-phase load distribution to identify imbalance issues in commercial installations.
Log active and apparent power data to generate monthly energy reports for facility managers.
Detect metering errors remotely by monitoring the per-phase and total error status registers.
Installation
1Mount the Shelly Pro 3EM on the DIN rail inside the distribution board and connect the current transformers and voltage references according to the Shelly wiring guide.
2Connect the Shelly Pro 3EM to the local network via Ethernet or Wi-Fi, then assign it a static IP address or a DHCP reservation.
3Open the Shelly web interface or app, navigate to the Modbus TCP settings, and enable the Modbus TCP server on the default port 502.
4Update the Shelly Pro 3EM firmware to the latest version (1.0 or higher) to ensure all register values are available.
5In the ModbusCloud portal, add a new Modbus TCP device on your gateway, enter the meter's IP address and port, and import the Shelly Pro 3EM template.
6Verify that all registers return valid data in the ModbusCloud live view before finalizing the installation.
Things to watch for
01
Some registers return zero or no data. What should I check?
Update the Shelly Pro 3EM firmware to version 1.0 or later. Earlier firmware versions were missing certain register values. After the update, power-cycle the device and re-read the registers.
02
What data encoding do the registers use?
All measurement registers use float32 encoding, meaning each value spans two consecutive 16-bit Modbus registers. The template already accounts for this, so no manual byte-order configuration is needed.
03
Do I need RS-485 wiring between the gateway and the meter?
No. The Shelly Pro 3EM uses Modbus TCP over Ethernet or Wi-Fi. The ModbusCloud gateway and the meter only need to be on the same IP network.
04
Can I use this template with other Shelly energy meters?
The template is based on the Shelly EM and EMData register specification and has been tested on the Shelly Pro 3EM. Other Shelly meters sharing the same register map may work, but verify against the official Shelly documentation before deploying.
Registers (61)
61 read / 0 write
Name
Address
Function
Type
Unit
Access
Phase A meter error
1002
FC04
uint16
R
Phase B meter error
1003
FC04
uint16
R
Phase C meter error
1004
FC04
uint16
R
Neutral meter error
1005
FC04
uint16
R
Phase sequence error
1006
FC04
uint16
R
Neutral current
1007
FC04
float32
A
R
Neutral current mismatch
1009
FC04
uint16
R
Neutral overcurrent error
1010
FC04
uint16
R
Total current
1011
FC04
float32
A
R
Total active power
1013
FC04
float32
kW
R
Total apparent power
1015
FC04
float32
VA
R
Phase A voltage
1020
FC04
float32
V
R
Phase A current
1022
FC04
float32
A
R
Phase A active power
1024
FC04
float32
kW
R
Phase A apparent power
1026
FC04
float32
VA
R
Phase A power factor
1028
FC04
float32
R
Phase A overpower error
1030
FC04
uint16
R
Phase A overvoltage error
1031
FC04
uint16
R
Phase A overcurrent error
1032
FC04
uint16
R
Phase B voltage
1040
FC04
float32
V
R
Phase B current
1042
FC04
float32
A
R
Phase B active power
1044
FC04
float32
kW
R
Phase B apparent power
1046
FC04
float32
VA
R
Phase B power factor
1048
FC04
float32
R
Phase B overpower error
1050
FC04
uint16
R
Phase B overvoltage error
1051
FC04
uint16
R
Phase B overcurrent error
1052
FC04
uint16
R
Phase C voltage
1060
FC04
float32
V
R
Phase C current
1062
FC04
float32
A
R
Phase C active power
1064
FC04
float32
kW
R
Phase C apparent power
1066
FC04
float32
VA
R
Phase C power factor
1068
FC04
float32
R
Phase C overpower error
1070
FC04
uint16
R
Phase C overvoltage error
1071
FC04
uint16
R
Phase C overcurrent error
1072
FC04
uint16
R
Total active energy accumulated for all phases - perpetual count
1162
FC04
float32
kWh
R
Total active returned energy accumulated for all phases - perpetual count
1164
FC04
float32
kWh
R
Phase A total active energy
1170
FC04
float32
kWh
R
Phase A fundamental active energy
1172
FC04
float32
kWh
R
Phase A total active returned energy
1174
FC04
float32
kWh
R
Phase A fundamental active returned energy
1176
FC04
float32
kWh
R
Phase A lagging reactive energy
1178
FC04
float32
VARh
R
Phase A leading reactive energy
1180
FC04
float32
VARh
R
Phase A total active energy - perpetual count
1182
FC04
float32
kWh
R
Phase A total active returned energy - perpetual count
1184
FC04
float32
kWh
R
Phase B total active energy
1190
FC04
float32
kWh
R
Phase B fundamental active energy
1192
FC04
float32
kWh
R
Phase B total active returned energy
1194
FC04
float32
kWh
R
Phase B fundamental active returned energy
1196
FC04
float32
kWh
R
Phase B lagging reactive energy
1198
FC04
float32
VARh
R
Phase B leading reactive energy
1200
FC04
float32
VARh
R
Phase B total active energy - perpetual count
1202
FC04
float32
kWh
R
Phase B total active returned energy - perpetual count
1204
FC04
float32
kWh
R
Phase C total active energy
1210
FC04
float32
kWh
R
Phase C fundamental active energy
1212
FC04
float32
kWh
R
Phase C total active returned energy
1214
FC04
float32
kWh
R
Phase C fundamental active returned energy
1216
FC04
float32
kWh
R
Phase C lagging reactive energy
1218
FC04
float32
VARh
R
Phase C leading reactive energy
1220
FC04
float32
VARh
R
Phase C total active energy - perpetual count
1222
FC04
float32
kWh
R
Phase C total active returned energy - perpetual count
1224
FC04
float32
kWh
R
Working with Modbus in your projects?
ModbusCloud is the hardware-plus-software platform that installers use to monitor, visualise and control Modbus devices from one portal. This template is one of hundreds you can use right away.