This repository shows the implementation of an energy dashboard on the WAGO CC100 using Node-RED. The WAGO energy meter (MID) is used as source for the energy data.
- WAGO CC100 (751-9301) => !!! please use Firmware 23 !!!
- install docker and move docker "DATA-ROOT" to an inserted SD card
- see cc100-tutorial for help
- docker-ipk
- WAGO Energy Meter (MID) (e.g. 879-3000)
- for firmware download or update see cc100-firmware
- PC with preinstalled SSH Client (e.g. PuTTY)
- Web browser of your choice. (e.g. chrome)
Follow the cc100-serial-communication repository for better understanding
The idea is to use the CC100 to read energy data from the MID via Modbus RTU and display it on a Node-RED dashboard.
Connect the terminals X11.1 and X11.2 of the CC100 with the terminals 7 and 8 of the MID
Start SSH Client e.g. Putty
login as 'root'
password 'wago'
docker info
docker ps # lists all running containers (no container should run)
docker images # lists all preinstalled images
docker run -d \
--name node-red \
--restart always \
--privileged=true \
--user=root \
-p 1880:1880 \
-v node_red_user_data:/data \
-v /dev/ttySTM1:/dev/serial \
wagoautomation/node-red-cc100:1.0.0
- Open Node-RED by typing <ip of your PFC>:1880 into your browser
- Install the node-red-dashboard lib (burger menu - Manage palette - Install)
- Import the flow MID Dashboard
- Deploy the flow
- Click on the injection node to read the MID data
- Open the dashboard by typing <ip of your PFC>:1880/ui into your browser
You can adapt the flow to your needs by reading other registers as well. The addresses of all registers that can be read can be found in the data sheet of the MID. Please note that the addresses for the Modbus read nodes must be specified as decimal values.