ESPEasy with ModBus Interface to Energy Meter MPM3PM
This version adds a Modbus interface for the Energy-Meter MPM3PM amazon link to ESPEasy. The MPM3PM is a quality Energy meter made in Austria and suitable for bi-directional energy measurements.
The new MPM3PM library is based on the SDM630 library SDM630.
You find pre-compiled binaries in the Binaries folder (for 4M Flash). If you need additional not supported sensors you have to compile everything by yourself. For this follow the instructions of the original ESPEasy version but keep the MPM3PM plug-in enabled.
For the hardware interface between ESP8266 and the meter you need an adapter interface from UART to RS-485 like this: RS-485 Interface. If DE pin support is enabled you have to short-circuit the DE and RE pin on the linked interface board and connect it to the selected GPIO.
Connection RS485 Interface <-> ESP8266:
DI <-> TX, GPIO-1 (D10) TX0
RO <-> RX, GPIO-3 (D9) RX0
DE/RE <-> GPIO12 (D6) (for example)
VCC <-> 3.3V
GND <-> GND
After installing ESPEasy configure the Energy Meter in the Device Setup tab, see example:
After setup the measurement data of the selected sources is shown in the device overview:
To transmit the measurement data to the outside of ESPEasy a Controller needs to be configured. The example below shows a MQTT interface:
Have fun!