Skip to content

Operations extension for PyScada a Python and Django based Open Source SCADA System

License

Notifications You must be signed in to change notification settings

pyscada/PyScada-Operations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyScada Operations Extension

This is a extension for PyScada to do operations on data.

What is Working

  • define a master operation in de operation device configuration (see below)
  • define a second operation in the operation variable configuration (see below)

What is not Working/Missing

  • Documentation

Master operation

A master operation of a operation device allows to define a mathematical operation on other variable to assign virtual values to new variables (assigned to this device). The library used behind is simpleeval. The operation should use a defined format :

  • use the operators, functions and if expresions as allowed by simpleeval.
  • refer to a variable last value using variable(id)
  • refer to a variable last timestamp using variable(id, type="get_last_timestamp")

Installation

Contribute

  • python code using black
  • django template, JavaScript and CSS using DjHTML

License

The project is licensed under the _GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPLv3)_. -

About

Operations extension for PyScada a Python and Django based Open Source SCADA System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%