Page 4 of 4

Re: Energy measurement with espeasy and pzem-004t

Posted: Saturday 06 January 2024 9:57
by psubiaco
Please check https://github.com/CreasolTech/domoticz-pzem-016 again: I've put a wiring schematic for PZEM-004T: as you can see, you have to use a TTL/USB converter, because PZEM-004T has not RS485 output.

Re: Energy measurement with espeasy and pzem-004t

Posted: Saturday 06 January 2024 10:33
by mrfunk
Ok thanks. (Was a late night trying with this 485)


Would this adapter adapter work, as it used a ubiquitous CH340g .. want to order something today on Amazon (UK) Fasizi 3.3V / 5V USB to TTL converter CH340G UART Serial Adapter Module Golden https://amzn.eu/d/3pL3zlR

Do you know which adapter you used.

If it worked, what would I set the link to , 3.3 or 5v?

Many thanks for getting back 😄

Re: Energy measurement with espeasy and pzem-004t

Posted: Saturday 06 January 2024 10:45
by psubiaco
As I never had a PZEM-004T, I cannot answer for sure. Just connect GND, RXD and TXD and 5V as indicated in the schematic.

Re: Energy measurement with espeasy and pzem-004t

Posted: Sunday 07 January 2024 19:30
by mrfunk
Hi just want to say a massive thanks 👍... Got this working by just using the correct ttl to usb adapter from Amazon as per my previous post 😄😄😄.. very impressed!

Re: Energy measurement with espeasy and pzem-004t

Posted: Thursday 26 December 2024 15:28
by euhen
Hello all,

I have PZEM-004T connected with ESPEasy D1 mini ESP8266 and i want to see the graphics with consumption every 30 seconds in Domoticz. In this moment i see the consumption in Watts with a cycle of 5 minute. This is by default. How can i make the modification?

Thank you!

Re: Energy measurement with espeasy and pzem-004t

Posted: Friday 27 December 2024 1:03
by waltervl
You cannot change this in the graph, it is hardcoded.
What you can do is send the data to influxDB and graph it from there..