Pzem Nodes
Use these nodes to interact with the PZEM module using UART.
Config Nodes
Pzem config
Config UART settings for the PZEM module.
Inputs
- Speed (bits/s) : Select the baud rate for the device
- Port no. : Select the UART port number
- TX pin : Specify the TX pin
- RX pin : Specify the RX pin
- Pull up Rx pin : Activate pull up for the rx pin
- Pull down Rx pin : Activate pull down for the RX pin
- Address : Specify the address of PZEM module
Proc Nodes
pzem meter read
Reads voltage, current, power, energy, frequency, and power factor from the PZEM module.
Inputs
- Serial port : Select the PZEM device config
Outputs
- Voltage : voltage in volts
- Current : current in amperes
- Power : power in watts
- Energy : energy in watt hours
- Frequency : frequency in hertz
- Power factor : power factor
reset pzem meter
Reset the PZEM energy.
Inputs
- Serial port : Select the PZEM device config
Outputs
- Success Code : Whether or not the reset was performed successfully
read and modify pzem
Read and modifiy pzem slave parameters. For setting the address of pzem meter select set address . To get the address of pzem meter select read address. To set the power alarm for meter select set power alarm. To get the power alarm from pzem select get power alarm.
Inputs
- Serial port : Select the PZEM device config
- Read/Modify : Select the type of operation to be performed with the pzem interface
- Address : Specify the pzem device address
- Watts : Specify the power threshold for triggering an alarm
Outputs
- Success code : Whether or not the operation was performed successfully
- Address : Address of the pzem device
- Alarm value : Power threshold for the alarm of the pzem device