I have a PZEM-004T connected to a Wemos D1 Mini (ESP8266) flashed with Tasmota that reports readings via MQTT to Node-RED. Here's a link to a thread about interfacing the device.
Couple of things to note are the need for level shifters and make sure Tx & Rx are connected correctly.
i.e. Tx connects to Rx, and Rx to Tx