PZEM 004T+Raspberry pi 3 and Blynk

Does anybody use PZEM 004T sensor with raspberry pi 3 and Blynk. Which libraries are needed to raspi to read values from this sensor?

We have a smartphone app created with Blynk that uses the Peacefair Pzem-004T but with an ESP rather a Raspberry Pi.

Any reason you need a Pi?

I already have project on Pi,i need 24 GPIO pins…maybe pzem sensor does not have to be connected to Pi,and use it with ESP,but can i use it then on one Blynk app?

Which S/W languages are you familiar with?

@sofronije I corrected your category, as what you are asking for technically has nothing to do with Blynk Library support.

What you want is a way of taking the serial data stream from the PZEM and read it into the RPi… then once you have that you can pass it onto Blynk for display.

Just a little G :eyes:gling later :wink: and I found this RPi forum topic with some Python code for that PZEM

https://www.raspberrypi.org/forums/viewtopic.php?t=124958

EDIT - @Costas and guess who I found on that forum as well… :stuck_out_tongue_winking_eye:

1 Like

And I seriously recommend you check out a well known Blynk App, ESPproMon… I think someone here can lead you to it right away :slight_smile: Save you having to code anything with that sensor :smiley:

@Costas no one(noob) :slightly_smiling_face:
@Gunner I am just watching this app right now…looks great

But if i could merge this app with my project that would be great?

Generally I would say Pi is better supported than ESP’s but not in the Blynk world.

As a noob I would recommend the ESP for use with Blynk.

Blynk is very, very powerful though. You can set the Pi up as a Blynk client and the ESP can send data to the Pi with the Blynk Bridge widget. Another benefit of doing it this way is that the small wireless ESP can live in your consumer unit and the Pi can be elsewhere, even in a different country if you wish.

Thanks,i will consider this.