# Home made clip on energy meter/monitor

**URL:** <https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409>\
**Category:** Hardware\
**Created:** [9 January 2023 12:58 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409 "2023-01-09T12:58:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surefire01](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/surefire01/32/71490_2.png) [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Post date:** [9 January 2023 12:58 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/1 "2023-01-09T12:58:25Z")

</div>

Has any one here had any experience of making their own CT type energy monitor. I was thinking along the lines of a Sonoff device (maybe a TH16) with a clamp type CT that can be repurposed/reprogrammed with Tasmota and the data can be MQTT'ed into Node red. Just want to record usage data so I can see where all the kWh's are going.

Thanks.

---

<div class="post-metadata">

**Author:** ![M-a-r-t-i-n](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/m-a-r-t-i-n/32/52391_2.png) [@M-a-r-t-i-n](https://discourse.nodered.org/u/M-a-r-t-i-n)\
**Post date:** [9 January 2023 13:17 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/2 "2023-01-09T13:17:18Z")

</div>

Hello, yeah a few years ago I made a 'smart' meter using an esp8266 board (running tasmota) and a PZEM Energy monitor module.

I interfaced the energy module to the ESP8266 following the instructions on this thread

> <https://github.com/arendst/Tasmota/issues/3694>
>
> Having just read about the support for PZEM004T Energy Monitor from Peacefair. I…'m just wondering if it will be possible to add support for PZEM-003 and PZEM-017 DC meter with RS485 from same manufacturer (Peacefair). I have use cases where Sonoff 4CH Pro, Sonoff SV & Shelly 1 will be used with PZEM-017 DC meter for DC (Solar) power metering and switching?
> 
> The PZEM-003 and PZEM-017 DC meter uses RS485 to communicate.
> 
> @arendst i can donate the PZEM-003 or PZEM-017 DC meter from Peacefair if you don't already have but think its possible to support it.

(see the comment on Oct 16th which starts with "Hi! I finally got it working without the RS485 interface!")

The data is sent back to my home automation Pi via MQTT.  
Then I created a simple power monitoring page using NodeRed.

---

<div class="post-metadata">

**Author:** ![M-a-r-t-i-n](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/m-a-r-t-i-n/32/52391_2.png) [@M-a-r-t-i-n](https://discourse.nodered.org/u/M-a-r-t-i-n)\
**Post date:** [9 January 2023 13:19 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/3 "2023-01-09T13:19:43Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/9719cdf571e4802f460ae84f2ce5108d6aa6d50a.png)

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [9 January 2023 13:52 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/4 "2023-01-09T13:52:09Z")

</div>

I bought one of these PZEM-004T units a few years ago and connected it, via level shifters, to a Wemos D1 Mini flashed with Tasmota which sent the readings via MQTT to Node-RED.

![PZEM-00T](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/6/d60fd0e3a3a29296073bdeb592896274309f7240.png)

Here's a view of my Node-RED dashboard. The readings are also sent to Clarify ( [https://www.clarify.io/](https://www.clarify.io/) ) which enables me to view historical graphs and perform cost-calculations.

 ![home_energy_monitor_dashboard](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5f4587e4506c62e5845af15820c483d8fb7c0f0a.png)

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [9 January 2023 14:58 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/5 "2023-01-09T14:58:36Z")

</div>

Homebrew PZEM with ESP Wemos Di Mini here. MQTT, Node-RED, IndluxDB and Grafana. There are more graphs showing costs, savings per day, energy per day. Once you pull the figures from the PZEM through MQTT, you can manipulate and display as you want.

 ![2023-01-09_14-53](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/0/a002ff0c22baf73962dc562ae6add48b11c437aa.png)

 ![2023-01-09_14-54](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ec54eda783aa8a2020c970440c4802acb1f7ff60.png)

---

<div class="post-metadata">

**Author:** ![Surefire01](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/surefire01/32/71490_2.png) [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Post date:** [11 January 2023 09:14 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/6 "2023-01-11T09:14:00Z")

</div>

Thanks for the feedback chaps. Looks like the PZEM device is the way to go with a bit of jigery pokery. Was kinda hoping for a more off-the-shelf solution though.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 March 2023 09:14 UTC](https://discourse.nodered.org/t/home-made-clip-on-energy-meter-monitor/73409/7 "2023-03-12T09:14:48Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
