pyticcom

Teleinfo python library


Keywords
rest, pyticcom, linky, tic, io, smart-things, iot
License
GPL-3.0
Install
pip install pyticcom==1.2

Documentation

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"))