Giter VIP home page Giter VIP logo

opcua-datasource's Introduction

OPC UA Datasource plugin for Grafana

Utilizing the datasource plugin framework, this projects allows you to access data from OPC UA servers directly from Grafana.

TLDR;

To build on any platform:

  • yarn build

full dashboard

Status

Currently used in production and under active maintenance

What works

  • Browsing and adding multiple servers
  • Authenticated connection with certificate or no security
  • Graphical query editor
  • Data Access (DA)
  • Historical Access (HA / HDA)
  • Alarms & Conditions (AC / AE)

What needs to be implemented

  • OPCUA DA Subscriptions: These are the ones where you will not need to hit the refresh button. If you have subscribed to a datapoint at 500ms, you will get an unsolicited update every 500ms.
  • Password authentication
  • Two-way communication with the OPC UA server (currently read only)

Description and Architecture

This plugin uses GRPC and a C# backend to communicate with Grafana directly. See pkg/dotnet directory for the backend component

Building

  • yarn install to install dependencies
  • yarn build | yarn dev to build the plugin
  • make build to build the backend component

Restart Grafana and you should have the datasource installed.

Contributing

Contributions that addresses the needs above or other feature you'd like to see are most welcome. Fork the project and commit a PR with your requests.

Prediktor is a proud contributor Open Software like this project and open standards like OPC UA fits perfectly with our quest to give our clients the freedom to operate. To know more about our offerings and get in touch, check out https://prediktor.com.

  • Prediktor has a public test OPC UA Server running at opc.tcp://opcua.prediktor.com:4880. It provides a small information model with Realtime/Historic data and Alarms&Events. Feel free to use it

  • You can find complementary OPC UA Grafana panel plugins at https://github.com/PrediktorAS/grafana

Q&A

Q: Can it read OPC Classic DA/HDA/AE?

A: Yes, provided use use the OPC Foundations COMIOP wrapper, which you can find here. You will need to configure IOP to wrap your OPC COM server. Tested against Matrikon OPC Desktop Historian and Matrikon OPC Simulation Server.

Vision

The OPC UA datasource should be

  • Easy to use
  • Graphically configurable
  • Smart (ie: Able to use metadata from the browsing of tags to ease configuration in whatever panel the datasource is interacting with)
  • Robust and Reliable (of course!)

opcua-datasource's People

Contributors

srclosson avatar cfjeld avatar alydersen avatar ryantxu avatar sleiban avatar

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.