gkend / PyScada-SML

SML Extension for PyScada

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyScada SML Extension

This is an extension for PyScada to support data logging from Serial IR-Interface of Smart Meters.

This package is derived from PyScada-GPIO.

The OBIS Code is parsed with Python Package pysml

What is Working

  • USB-Serial IR-Optocop with Smart Meter Types:
    • ISKA M175
    • ESY Q3MA

What is not Working/Missing

  • Replace bulk buffer reading to avoid dropping packages
  • Register package at pypi.org
  • Documentation

Installation

Follow the Pyscada Installation Guide and verify the instance is working.

Download this Repo and change into the directory

git clone https://github.com/gkend/PyScada-SML.git
cd PyScada-SML

Install globally via pip3

sudo pip3 install -e .

Add the PyScada sub-app to the installed apps list of Django.

nano /var/www/pyscada/PyscadaServer/PyScadaServer/settings.py
INSTALLED_APPS = [
      ...
      'pyscada.sml',
      ...
  ]

Migrate Django Instance

cd /var/www/pyscada/PyscadaServer/
sudo -u pyscada python3 manage.py migrate sml

Restart Services

sudo systemctl restart gunicorn
sudo systemctl restart pyscada

PyScada-Backend Settings

Contribute

License

The project is licensed under the _GNU General Public License v3 (GPLv3)_.

About

SML Extension for PyScada

License:GNU General Public License v3.0


Languages

Language:Python 100.0%