The PZEM-017-v1 library on GitHub is the standard for Arduino-based projects, handling the Modbus-RTU protocol conversion.
Thus,