Page 1 of 1
Support for PZEM-017
Posted: 25 Oct 2024, 21:55
by sanc0
Hi,
I have a question for the members of the forum if communication with PZEM-017 works for anyone. I tried it with the P-102 PZEM-004Tv30-Multiple plugin but it doesn't work (PZEM-004T v3.0 works for me).
Thanks
EDIT: I use modified PZEM-017 with TTL communication behind the optocouplers. Communication with the PZEM application works.
.

- pzem017.jpg (148.8 KiB) Viewed 3096 times
.

- pzem003app.jpg (36.16 KiB) Viewed 3096 times
.
EDIT2: Tasmota works.
.

- tasmota.jpg (41.54 KiB) Viewed 3088 times
Re: Support for PZEM-017
Posted: 25 Oct 2024, 22:52
by Ath
You can try P078 Eastron Modbus plugin, to see if it matches any of the devices there, as it's using the Modbus protocol, but I can't verify for myself, as I don't own any matching device.
Re: Support for PZEM-017
Posted: 25 Oct 2024, 23:49
by sanc0
Communication seems to work, but the communication protocol does not fit.
SDM120C
Checksum (pass/fail): 10/30
.

- Untitled-1.jpg (42.29 KiB) Viewed 3081 times
Re: Support for PZEM-017
Posted: 26 Oct 2024, 09:31
by sanc0
The structure of modbus registers is different for AC and DC meters.
xnrg_06_pzem_dc.ino - PZEM-003,017 Modbus DC energy sensor support for Tasmota
// 0 1 2 3 4 5 6 7 = ModBus register
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 = Buffer index
// 01 04 10 05 40 00 0A 00 0D 00 00 00 02 00 00 00 00 00 00 D6 29
// Id Cc Sz Volt- Curre Power------ Energy----- HiAlm LoAlm Crc--
xnrg_05_pzem_ac.ino - PZEM-014,016 Modbus AC energy sensor support for Tasmota
// 0 1 2 3 4 5 6 7 8 9 = ModBus register
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 = Buffer index
// 01 04 14 08 D1 00 6C 00 00 00 F4 00 00 00 26 00 00 01 F4 00 64 00 00 51 34
// Id Cc Sz Volt- Current---- Power------ Energy----- Frequ PFact Alarm Crc--
Re: Support for PZEM-017
Posted: 26 Oct 2024, 10:25
by TD-er
So we need to extend the plugin to also support the extended/new commands.
Re: Support for PZEM-017
Posted: 26 Oct 2024, 12:05
by sanc0
TD-er wrote: ↑26 Oct 2024, 10:25
So we need to extend the plugin to also support the extended/new commands.
That's right, Tasmota plugins could be an inspiration
Re: Support for PZEM-017
Posted: 11 Nov 2024, 20:57
by sanc0
TD-er wrote: ↑26 Oct 2024, 10:25
So we need to extend the plugin to also support the extended/new commands.
The plugin needs to be reduced because pzem-017 has fewer registers.
Is there any news?
Re: Support for PZEM-017
Posted: 14 Apr 2025, 12:58
by sanc0
Any news on the PZEM-017 plugin? It's an excellent DC voltage and current meter. I use it to measure the output from the photovoltaic panels of my power plant (Tasmota so far).
Sanco

- stiahnuť.jpeg (10.52 KiB) Viewed 196 times

- 142615573-2902822e-7e8a-483a-be75-3c44d66c79c4.jpeg (45.98 KiB) Viewed 196 times