Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 442 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 442 Bytes

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