SDM120 MQTT Node ESP32 D1 Mini - Arduino
Reads your SDM120 energy monitor and publishes the data via MQTT to Node Red.
Schematic:
(RX/TX may need to be reversed if no data is being received or if the SDM120 is flashing)
Node Red flow (import using the json file)
3d printable DIN rail enclosure can be found on thingiverse https://www.thingiverse.com/thing:5408493
Uses the SDM120 energy meter library: https://github.com/reaper7/SDM_Energy_Meter/blob/master/SDM.h