Skip to content

ESPEasy with ModBus Interface to Energy Meter MPM3PM

Notifications You must be signed in to change notification settings

cnkz111/MPM3PM_ESPEasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPM3PM_ESPEasy

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.

Picture of MPM3PM

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

Picture test-setup

Picture test-setup

After installing ESPEasy configure the Energy Meter in the Device Setup tab, see example:

Picture test-setup

After setup the measurement data of the selected sources is shown in the device overview:

Picture test-setup

To transmit the measurement data to the outside of ESPEasy a Controller needs to be configured. The example below shows a MQTT interface:

Picture test-setup

Have fun!

About

ESPEasy with ModBus Interface to Energy Meter MPM3PM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published