Skip to main content

Shared tag value SCADA with python backup and Angular UI

Project description

pymscada

Docs

@Github

Python Mobile SCADA

pymscada read / write to Modbus and Logix PLCs. Read SNMP OIDs. Collect history values and provide the ability to set values and trends and issue commands.

User interface is via a web client embedded in this package. Examples included for securing with Apache as a proxy.

Configuration with text yaml files, including the web page which are procedurally built.

See also

Licence

pymscada is distributed under the GPLv3 license.

Use

Checkout the example files.

mscada@raspberrypi:~/test $ pymscada checkout
making 'history' folder
making pdf dir
making config dir
Creating  /home/mscada/test/config/modbusclient.yaml
Creating  /home/mscada/test/config/pymscada-history.service
Creating  /home/mscada/test/config/wwwserver.yaml
Creating  /home/mscada/test/config/pymscada-demo-modbus_plc.service
Creating  /home/mscada/test/config/files.yaml
Creating  /home/mscada/test/config/pymscada-modbusserver.service
Creating  /home/mscada/test/config/pymscada-wwwserver.service
Creating  /home/mscada/test/config/simulate.yaml
Creating  /home/mscada/test/config/tags.yaml
Creating  /home/mscada/test/config/history.yaml
Creating  /home/mscada/test/config/pymscada-files.service
Creating  /home/mscada/test/config/bus.yaml
Creating  /home/mscada/test/config/modbusserver.yaml
Creating  /home/mscada/test/config/modbus_plc.py
Creating  /home/mscada/test/config/pymscada-modbusclient.service
Creating  /home/mscada/test/config/pymscada-bus.service
Creating  /home/mscada/test/config/README.md
mscada@raspberrypi:~/test $ pymscada validate
WARNING:root:pymscada 0.1.0 starting
Config files in ./ valid.

Runs on a Raspberry Pi and includes preconfigured systemd files to automate running the services. Mostly works on Windows, works better on linux.

Modules can be run from the command line, although you need a terminal for each running module (better with systemd).

pymscada bus --config bus.yaml
pymscada wwwserver --config wwwserver.yaml --tags tags.yaml
pymscada history --config history.yaml --tags tags.yaml
python weather.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymscada-0.1.0.tar.gz (62.9 kB view hashes)

Uploaded Source

Built Distribution

pymscada-0.1.0-py3-none-any.whl (70.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page