SiemensIndustryPL / CustomDashboarding_4_UCP

Example apps for SIMATIC Unified Comfort Panels, consisting of NodeRed, InfluxDB and Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CustomDashboarding_4_UCP

Example apps for SIMATIC Unified Comfort Panels, consisting of NodeRed, InfluxDB and Grafana.

Prerequisites

  • You have installed both Docker and Docker Compose.
  • You have installed Industrial Edge App Publisher (IEAP), that can be downloaded from SiePortal free of charge.
  • You have purchased the Edge for Unified Panels license.
  • Ypu are familiar with all necessary tools, including Docker (building images), Docker Compose (YAML file creation) and IEAP (generating APP file based on docker-compose.yaml).

Helpful materials

Short steps:

  1. Copy the repository to your local directory.
  2. Go to the NodeRed catalog and build custom image using included Dockerfile. You can extend the file to install some extra nodes during image generation. They can also be installed later, as long as your UCP has Internet access.
  3. Tag your NodeRed Docker image with:
nodered_ucp:latest

in order to use included docker-compose file (available in NodeRed catalog) without modifications. If you choose to use another tag, remember to adjust the line:

image: 'nodered_ucp:latest'

with your custom image name. 4. Pull another two images from Docker Hub in order to use them during Edge App deployment. Use commands:

docker image pull influxdb:2-alpine
docker image pull grafana/grafana:9.5.16

These images will be used for deploying InfluxDB and Grafana apps. 5. Use Industrial Edge App Publisher to create two separate app projects:

  • First one costsits of one image. Name the app with the name of your choice (e.g. NodeRed) and use the NodeRed/docker-compose.yml file to build the app structure. Deploy the app.
  • Second one consists of two images (it will be a multicontainer application) - InfluxDB for database and Grafana for dashboarding. Name he app with the name of your choice (e.g. Data archive & visualization) and use the InfluxDB_Grafana/docker-compose.yml file to build the ap structure. Deploy the app.
  1. Import deployed apps to your UCP Edge Management and configure them based on their providers' tutorials.
  2. Enjoy the Edge on your HMI panels!

About

Example apps for SIMATIC Unified Comfort Panels, consisting of NodeRed, InfluxDB and Grafana


Languages

Language:JavaScript 52.2%Language:HTML 44.8%Language:Dockerfile 3.1%