Support for PZEM 004T Energy monitor

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support for PZEM 004T Energy monitor

#251 Post by TD-er » 22 Oct 2020, 16:28

What do you mean?

This sensor is using the (Hardware) serial port, so you must uncheck "Enable Serial port:" on the Tools->Advanced page.
This does make sure no logs are sent to the serial port and also any incomming data is not interpreted as commands and thus allows exclusive access to the serial port for the plugin.

ssd
Normal user
Posts: 53
Joined: 19 Aug 2020, 12:04

Re: Support for PZEM 004T Energy monitor

#252 Post by ssd » 26 Oct 2020, 05:32

TD-er wrote: 22 Oct 2020, 16:28 What do you mean?

This sensor is using the (Hardware) serial port, so you must uncheck "Enable Serial port:" on the Tools->Advanced page.
This does make sure no logs are sent to the serial port and also any incomming data is not interpreted as commands and thus allows exclusive access to the serial port for the plugin.
I have kept the settings as it is and still receiving accurate readings.

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: Support for PZEM 004T Energy monitor

#253 Post by tparvais » 17 Dec 2020, 21:03

Hello
finally, how is it possible to compile easily PZEM plugin ?
i tried with P171 from playground, but it complains no *.h library as it is not provided.

and from this source , https://github.com/djelau/ESPEasyPlugin ... v30-master i don't see the trick as it is not a plugin format


Thomas

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support for PZEM 004T Energy monitor

#254 Post by TD-er » 17 Dec 2020, 22:22

Isn't the code in the mega branch working as it should?
See P102: https://github.com/letscontrolit/ESPEas ... 004Tv3.ino

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: Support for PZEM 004T Energy monitor

#255 Post by tparvais » 18 Dec 2020, 09:20

TD-er wrote: 17 Dec 2020, 22:22 Isn't the code in the mega branch working as it should?
See P102: https://github.com/letscontrolit/ESPEas ... 004Tv3.ino
thanks, I miss it as it was not declare in Custom_Sample.h

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support for PZEM 004T Energy monitor

#256 Post by TD-er » 18 Dec 2020, 23:01

Yep that one needs an update as well indeed.

ice77
Normal user
Posts: 13
Joined: 05 Apr 2020, 05:47

Re: Support for PZEM 004T Energy monitor

#257 Post by ice77 » 16 Jan 2021, 20:11

I have seen, that now following firmware exists:

ESP_Easy_mega_20210114_energy_ESP8266_4M1M.bin

Is the functionality the same as the version compiled from DJELAU?

TD-er
Core team member
Posts: 4277
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Support for PZEM 004T Energy monitor

#258 Post by TD-er » 16 Jan 2021, 20:51

I have not tested it myself.
The only thing I did, was update the existing code from the playground to match the current code base and thus it should be functional identical, or at least do what the original code did + probably some more as added in newer code changed in the ESPEasy core.

ice77
Normal user
Posts: 13
Joined: 05 Apr 2020, 05:47

Re: Support for PZEM 004T Energy monitor

#259 Post by ice77 » 16 Jan 2021, 22:22

Thank you for your reply
I will test it and let you know if the functionality is the same

User avatar
Andrew Mamohin
Normal user
Posts: 47
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: Support for PZEM 004T Energy monitor

#260 Post by Andrew Mamohin » 17 Jan 2021, 06:44

I installed this firmware a few days ago. Yes, the plugin works fine. But, I had to configure the PZEM device again.
Andy.

User avatar
Ath
Normal user
Posts: 568
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Support for PZEM 004T Energy monitor

#261 Post by Ath » 17 Jan 2021, 09:51

Andrew Mamohin wrote: 17 Jan 2021, 06:44 I installed this firmware a few days ago. Yes, the plugin works fine. But, I had to configure the PZEM device again.
The plugin got a new plugin-id when it was moved from the plugin-playground to the main repository (to keep the numbers consecutive). As the settings are related to this plugin-id you'll have to re-configure.
/Ton

User avatar
Andrew Mamohin
Normal user
Posts: 47
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: Support for PZEM 004T Energy monitor

#262 Post by Andrew Mamohin » 17 Jan 2021, 10:57

Ath wrote: 17 Jan 2021, 09:51 The plugin got a new plugin-id
Yes I understand this.
Andy.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests