Modbus energy meter gateway
Read an industrial energy meter over Modbus and publish its values to a dashboard over MQTT.
The brief
Most factories already have meters and drives that speak Modbus but no way to see their data. Build a small gateway on a Raspberry Pi or ESP32 that polls a Modbus device (a real meter or a simulator), converts the registers into engineering units, and publishes them over MQTT to a dashboard. Good looks like: correct register decoding, retries when the device is silent, timestamped messages, and a dashboard with voltage, current, power and energy.
What you will build
- Set up a Modbus simulator or a real meter
- Read and decode the registers
- Publish readings to an MQTT broker
- Handle timeouts and bad reads
- Build a Node-RED or Grafana dashboard
- Document the register map
Free, open data to build it with
Sign up free to get the data and links
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

