# 3-phase power consumption measurement

**URL:** <https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489>\
**Category:** Hardware\
**Created:** [2 October 2022 14:40 UTC](https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489 "2022-10-02T14:40:38Z")\
**Posts on this page:** 1\
**Showing post:** 15

<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:** [29 October 2022 15:23 UTC](https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489/15 "2022-10-29T15:23:03Z")

</div>

Hi Bart,  
When I tried to use ESPeasy two or three years ago I couldn't get it to work with the PZEM-004T.  
The situtaion might be completely different now,

Here's a link to a write-up I did about how I interfaced the PZEM to a Wemos D1 Mini via level shifters.

> [@Need to write one function that will return 3 values](https://discourse.nodered.org/t/need-to-write-one-function-that-will-return-3-values/30931/10):
>
> Here's a screen-shot of my simple dashboard. I'm using a PZEM-04 module with a split-ring current transformer feeding into a Wemos D1 Mini flashed with Tasmota that transmits to Node-RED via MQTT (very similar to your system). Here's a screen-shot of the NR flow. And here's the flow-code that uses a dynamic band changer for the Power-gauge. [{"id":"47ec6f8.e8c9b9","type":"ui\_gauge","z":"f0f0fcca.cf3ac8","name":"","group":"900b126f.c721c8","order":2,"width"…

This is what the home page looks like in Tasmota for the PZEM.

 ![pzem](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/eef1a013dcb6e67284dfc8e43136bdc57a6ee9fa.png)

To put your mind to rest, I actually have a number of devices flashed with Tasmota, for example some Sonoff Basic, S20s and S26s - as well as the Wemos I mentioned above.

EDIT: Just upgraded Tasmota to the latest version 12.2.0

 ![pzem](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0afe41536850a787f8a4855ae0a2a517705e507b.png)

---

_[View the full topic](https://discourse.nodered.org/t/3-phase-power-consumption-measurement/68489)._
