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
- USB-Serial IR-Optocop with Smart Meter Types:
- ISKA M175
- ESY Q3MA
- Replace bulk buffer reading to avoid dropping packages
- Register package at pypi.org
- Documentation
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
- Add SML Device and adjust the defaults to your instance.
- Add SML Variable
- Check required Obis Code OBIS code IEC 62056 standard protocol
- Choose your Sensor Type
- Issue Tracker: https://github.com/gkend/PyScada-SML/issues
- Source Code: https://github.com/gkend/PyScada-SML
The project is licensed under the _GNU General Public License v3 (GPLv3)_.