Skip to content

This repo describes how to set up a sample dashboard for the WAGO MID in Node-RED

Notifications You must be signed in to change notification settings

WAGO/cc100-mid-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

cc100-mid-dashboard

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.

Node-RED Energy Dashboard

Prerequisites for tutorial

  • WAGO CC100 (751-9301) => !!! please use Firmware 23 !!!
  • 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

Setup

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.

Concept

Connect the terminals X11.1 and X11.2 of the CC100 with the terminals 7 and 8 of the MID

Connection of the CC100 with the MID

CC100 Login

Start SSH Client e.g. Putty

login as 'root'
password 'wago'

Check docker installation

docker info
docker ps           # lists all running containers (no container should run)
docker images       # lists all preinstalled images

Start Node-RED container

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

Import Node-RED dashboard

  1. Open Node-RED by typing <ip of your PFC>:1880 into your browser
  2. Install the node-red-dashboard lib (burger menu - Manage palette - Install)
  3. Import the flow MID Dashboard

Node-RED Flow MID Dashboard

Node-RED Subflow Read MID Data

  1. Deploy the flow
  2. Click on the injection node to read the MID data
  3. 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.

Further CC100 Projects

Sources

About

This repo describes how to set up a sample dashboard for the WAGO MID in Node-RED

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published