No announcement yet.

PZEM-016 Energy meter

  • Filter
  • Time
  • Show
Clear All
new posts

  • johnny_holden
    Funny enough, I was just looking at this! I dont think it can, as the Register Type is restricted to Modbus protcol standard. Function Code 42 (Energy Reset) and 43 (Calibration) seem to be unique to this device. Hopefully the developer can answer. Interested too! Be grate if you could enter a manual Function Code.

    Leave a comment:

  • ecuboss
    started a topic PZEM-016 Energy meter

    PZEM-016 Energy meter

    I have this unit connected via a USB RS485 adapter and it's bringing in my values nicely:
    Click image for larger version

Name:	modbus.JPG
Views:	223
Size:	82.1 KB
ID:	1498055

    The device has the ability to reset the running energy count (15.38 kWh in the clip above) by sending 0x42 command to the device as described here:

    The command format of the master to reset the slave's energy is (total 4 bytes):
    Slave address + 0x42 + CRC check high byte + CRC check low byte.
    Correct reply: slave address + 0x42 + CRC check high byte + CRC check low byte.
    Error Reply: Slave address + 0xC2 + Abnormal code + CRC check high byte + CRC check low byte

    Section 2.5 of this doc:

    Can this be achieved with the plugin?