Git Product home page Git Product logo

cumulocity-iec104's Introduction

cumulocity-iec104

Cumulocity agent used for IEC 60870-5-104 protocol.

This agent uses OpenMUC j60870 library, which is under GPLv3.

It needs to run in the same network as the "controller station", since it requires access to it, and needs an internet access if connected to a SaaS Cumulocity instance.

To run properly, the agent will need a configuration file to map ASDUs to Cumulocity model. A basic configuration file is provided in src/resources/asdu-example.json.

The agent can use either HTTP or MQTT to send data to Cumulocity by setting the c8y.api.mode property to http or mqtt.

The agent can store the decoded ASDUs in a local SQLite instance (buffer.enabled=true). In that case another piece of software will be responsible for polling the DB to send data to Cumulocity, so if the agent runs as standalone set this property to false.

Default agent configuration can be found here: src/resources/META-INF/spring/iec104-agent-gateway.properties.

Custom configurations can be stored in ${user.home}/.iec104, or, if the agent is configured to run as a service using systemd, in /etc/iec104.

Agent configuration file name is iec104-agent-gateway.properties

ASDU mapping configuration file name is asdu.json

To connect the agent to a Cumulocity instance you just need to register a new device in the target Cumulocity instance using the agent id as configured in iec104-agent-gateway.properties (property gateway.identifier).

You can log all incoming ASDUs in Cumulocity as events by setting the property log.enabled to true.


These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

cumulocity-iec104's People

Contributors

cpoder avatar techcommunity avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

cumulocity-iec104's Issues

detailed description of the project would be helpful

Hi TECHcommunity,
in a Cumulocity project, we would like to use the IEC 60870-5-104 protocol. This GitHub project seems to provide an implementation of the protocol for the Cumulocity. Based on the Java code, it is unfortunately not clear how the used components

  • gateway
  • iec104server
  • Cumulocity
  • SQLite DB

interact and what each component is responsible for.
In order to be able to decide whether this project can be used in whole or in part for our solution, I am missing some information.

Could someone please add some more detailed information or even sequence diagrams. This would help to better understand the component.

With Kind Regards
Thomas

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.