Hello, I’ve just finished the project as the guide from @Leaninghouse
One thing to add, I am powering the pzem-004t TTL from the nodemcu VU pin and it is working perfectly. It seems a separate usb power adapter is not necessary after all.
Also I am creating mqqt discovery config messages from MQTT.Fx for auto-discovery.
For instance:
Hello, thank you for this guide. I have followed it as best I can however I am stuck. I have flashed my nodemcu and wired everything correctly however no values appear on my tasmota webpage. I am using a newer version of tasmota than the one in the guide 6.5.0.4 one difference is when setting the GPIO pins I use PZEM0XX TX (62) and PZEN004 Rx (63), however no such luck. I have tried with a wemos d1 and nodemcu now. If anyone has any suggestions I would really appreciate
Hi,
I was reading this post about using the USR-W610 with the PZEM-016 and I was wondering if anyone can assist me with getting mine set up. currently I have everything connect with the Pzem-016 connected to live and neutral and the ct connected…On the rs485 side, I have a twisted pair cable going from the A and B port of the PZem to the A and B of the USR. but nothing is happening, the TXD and RXD leds are not blinking (not sure if they should be but that makes sense to me). I was also wondering which settings should be used to the USR-w610 and if something there is causing this not to work or if i have a fault device. I have ordered a usb to RS485 to test the PZEMs (i bought 2) but I don’t think it’s them…Can anyone provide any insight ?
P.S. I PM’d Silicon_Avatar yesterday evening but no reply as yet.
As I was updating tasmota on a device I noted that not all firmware are the same.
Some firmaware versions do not have the PZEM004T sensor capabilities.
This is what blakadder said. Which went under my radar.
Sorry. I managed to get it working by assigning GPIO D1 and D2 instead of the nodemcu’s TX RX pins. I also was able to use my power companies kwh rate and use a calculation to show daily cost on my home screen. I also have this logged onto a google spreadsheet daily to keep track
Guys, how do you reset the energy acumulator. I want to have a monthly energy consumption and I want to reset the energy acumulator every month.
I am using PZEM-016 and a serial Port RS485 to WiFi device (Elfin-EW11).
I have this config:
I’m just switching my very reliable pzem004t v2 with a node MCU powered by espurna over. Problem was that the maximum reliable update frequency for the sensor is 6 seconds. The problem relies somewhat in a limit of polls for this sensor in revision v1 and v2.
So now I grabbed the neweset pzem004t v3 ($7) and wired it up to a esphomatized esp m3 ($1.5) together with these basic ams1117 5v to 3.3v board ($0.20).
For $8.70 I now have a mqtt free real time (this time for real, updates of the values coming in more than once in a second) view of my whole energy consumption. The sensor also exposes more values now like power factor and frequency.
I’ve only had a PZEM-016 for a couple of days but noticed over the course of a day the utility meter reads a couple of extra kw/h used than the PZEM-016. Is this because my power factor is generally 0.8?