Giter VIP home page Giter VIP logo

cc100-mid-dashboard's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.