biker91620 / pyticcom

EDF teléinformation Python library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyticcom - EDF teléinformation Python library

PyPI version

This library allows you to retrieve teleinfo using serial port device (USBTICLCV2).

Example

from pyticcom import Teleinfo, TeleinfoMode

with Teleinfo('/dev/tty.usbserial-DA4Y56SG', mode=TeleinfoMode.HISTORY) as teleinfo:

    frame = teleinfo.read_frame()
    print(frame.get("PAPP"))

About

EDF teléinformation Python library

License:GNU General Public License v2.0


Languages

Language:Python 100.0%