[Nodered ]Request the Wi-Fi energy meter by Modbus/tcp and control a relay
IAMMETER: Using Modbus TCP in Node-RED
Power Meter, Modbus TCP, Node-RED
Request the data of energy meter in Node-RED(modbus/tcp)
1/UI:Energy DashBoard
The effect:
2/IamMeter in Node-RED Setting
yourIP:1880 -> Settings -> Palette -> Install -> node-red-dashboard
node-red-contrib-modbus
import iammeter_ModbusTCP2relay.json:
then open yourIP:1880/ui:
3/Testing on the spot**
Use an electric kettle to simulate changes in power:
1.open the electric kettle,
2.Modbus_Power=1596W > 1000W,then Sonoff S26 Relay turn on.
3.close the electric kettle,
4.Modbus_Power=64W < 500W,then Sonoff S26 Relay turn off.
4/Video Tutorial
Integrate the WiFi energy meter into NodeRED from Modbus TCP - YouTube