[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:

image-20220722101441905

image-20220722101524778

image-20220722101559561

2/IamMeter in Node-RED Setting

  1. yourIP:1880 -> Settings -> Palette -> Install -> node-red-dashboard

    image-20211108155042743image-20211108155129444

    node-red-contrib-modbus

    image-20220718104013936

     

  2. import iammeter_ModbusTCP2relay.json:

    image-20220718104216575image-20220718104241131

    image-20220722101559561

    image-20220722102206984

  3. then open yourIP:1880/ui:

     

3/Testing on the spot**

Use an electric kettle to simulate changes in power:

image-20220722101819858

1.open the electric kettle,

image-20220722101902204

2.Modbus_Power=1596W > 1000W,then Sonoff S26 Relay turn on.

image-20220722101931025

3.close the electric kettle,

image-20220722102003704

4.Modbus_Power=64W < 500W,then Sonoff S26 Relay turn off.

image-20220722102029309

 

4/Video Tutorial

Integrate the WiFi energy meter into NodeRED from Modbus TCP - YouTube

Thread Status
0
506
1
0
0

Sort replies by:
Looks like you are new here. Register for free, learn and contribute.