There's an Arduino library for a sensor using serial communication (PZEM-004T) , then someone developed a code reads the sensor for ESP8266 NARODMON .
Arduino library link : https://github.com/olehs/PZEM004T
Developed code (for NARODMON) : https://www.youtube.com/watch?v=MQjcbAkxpGo
Download link (rar file) : https://vk.com/doc93686786_439324628?ha ... 9e21554912
Now ,how can I change the code to be compatible for NodeMCU ?