Sign inSign up

ogamma/logger-pi64

By ogamma

•Updated 12 months ago

Image
0

1.3K

ogamma/logger-pi64 repository overview

This is a production build of the ogamma Visual Logger for OPC⁠, designed to run on Docker hosts with 64-bit ARM CPUs (such as Raspberry Pi and Siemens Simatic IoT2050). Tested with Debian 11 (bullseye).

The Community Edition of the product is free (has a limit on the number of collected variables up to 64).

Its main features are:

  • Collect data from OPC UA Servers;

  • Store that data in one of the following databases:

    • TimescaleDB (PostgreSQL database optimized to store time-series data), or a regular version of PostgreSQL,
    • InfluxDB (versions 1.7, 1.8, 2.0 and 3.0 are supported),
    • Apache Kafka,
    • Other Apache Kafka-compatible event streaming services:
      • Confluent: Cloud and Enterprise versions,
      • Redpanda
    • Microsoft SQL (not supported yet, TODO)
    • MySQL,
    • SQLite,
    • MQTT Brokers, such as:
      • Eclipse Mosquitto
      • Microsoft Azure IoT Hub
      • AWS IoT Broker
      • Google Cloud IoT Core MQTT Bridge
      • IBM Watson IoT Platform
      • MonsterMQ.
  • Visualize data using Grafana, acting as a REST back-end for its SimpleJson data source plugin. It can fetch real-time or historical data directly from OPC UA Servers or from the database.

  • Analyze data using queries on the destination time-series database.

Note that to enable all the features (Visualize and Analyze), third-party Docker images are also required. They can be easily pulled and started by using Docker Compose configuration files available at GitHub: https://github.com/onewayautomation/ogamma-logger/tree/master/docker⁠

To run the container on a 64-bit Raspberry PI host, create a docker-compose.yml file with the content below, and run the command docker compose up -d.

services:
  ogamma-logger:
    image: 'ogamma/logger-pi64:latest'
    restart: always
    
    environment:    
# By default configuration file ./data/config.json is used. Can be changed by environment variable:    
      - OVL_CONFIG_FILE=./data/config.json

# Do not use default credentials in production!
      - OVL_USER_ID=admin
      - OVL_USER_PASSWORD=password

# Settings to configure remote Python debugger to debug Python scripts used in auto-discovery of OPC UA Servers address space and variables. 
      - OVL_PYTHON_START_DEBUGGER=OFF
      - OVL_PYTHON_DEBUG_PORT=5678
      - OVL_PYTHON_WAIT_FOR_CLIENT=OFF
      # Value 0.0.0.0 means listen on all network interfaces, with any IP address. Note: must have no quotes!
      - OVL_PYTHON_DEBUG_HOST=0.0.0.0
    
    ports:
      # 4880 is GUI endpoint port:
      - '4880:4880'
      # 5678 is Python debug server port, set by environment variable OVL_PYTHON_DEBUG_PORT
      - '5678:5678'
    hostname: ogamma-logger
    volumes:
      - './data:/home/ogamma/logger/data'

    networks:
      - ogamma-logger
 
networks:
  ogamma-logger: {}

For more information about ogamma Visual Logger, please refer to its online User Manual at https://onewayautomation.com/visual-logger-docs/html⁠ or GitHub page at https://github.com/onewayautomation/ogamma-logger⁠

Tag summary

Content type

Image

Digest

sha256:a9f92222d…

Size

284.3 MB

Last updated

12 months ago

docker pull ogamma/logger-pi64