Skip to content

gkend/PyScada-SML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages