Giter Club home page Giter Club logo

iec61850_open_client's Introduction

iec61850_open_client

This is an open implementation of an IEC 61850 web based client. It uses flask with websockets for the webserver. The backend is a python3 based iec61850 client implementation that uses ctypes for the wrapper.

Alt text

The client is configured by using an svg-file; static/mmi.svg This file describes the interface elements graphically, and connects to the datapoints using the id-element. The format for referencing a datapoint is: iec61850://[IED-IP]:[port]/[LD]/[LN]/[Do]/[Da]. class defines are used to indicate how the tag should be interacted with. MEAS is read, XCBR is animated and CSWI can be operated on

elements can be animated using the animate tag.

getting started(docker):

build the container

$ sudo docker build -f Dockerfile.libiec61850_client --tag client .

run the container

$ sudo docker run --rm -p 5000:5000 client

and browse to

http://127.0.0.1:5000

getting started(localhost):

this client needs libiec61850.so installed in /usr/local/lib/libiec61850.so This can be done by doing:

get the library

$ git clone https://github.com/mz-automation/libiec61850.git

cd into the directory

$ cd libiec61850

compile the library

$ make dynlib

install the library in the right place for the ctypes wrapper (you can modify this in lib61850.py if you prefer a different location)

$ sudo cp build/libiec61850.so /usr/local/lib/

cd to the client project dir.

$ cd ../iec61850_open_client

also the prerequesites for flask are needed;

$ pip3 install -r requirements.txt

then start the app;

$ python3 app.py

and browse to

http://127.0.0.1:5000

iec61850_open_client's People

Contributors

robidev avatar robinmas 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.