Plugin teleinfo

Purpose

Teleinformation is a protocol used by a French power provider. The electric meter sends informations on a special bus.

With some custom PCB, you can read these informations and keep/log/study your power consumption.

Models supported by this plugin :

Others modem could be supported by plugin. Feel free to test them with this plugin and report us :)

Interesting links about teleinfo :

Dependencies

  • Python dependancy : pyserial (installed with Domogik)

Plugin configuration

There is no global configuration options for this plugin.

Plug the teleinfo module to the electric meter

Example with the Dauguet Usb Model

First, you should have an electric meter like this one:

_images/compteur.jpg

Open the bottom part (be careful, if there is a metallic security to prevoid opening, you may be looking for the wrong thing!!) of the electric meter. On the right, you should see __I1__ and __I2__ : it is there you should plug the teleinfo modem. On this photo, there are both a teleinfo modem and a heating programmer pluged:

_images/compteur_zoom.jpg

Here is the Usb teleinfo modem : on the left, the usb plug, on the right, the 2 wires that are plugged on I1 and I2:

_images/teleinfo_modem.jpg

Create an udev rule

You may create a udev rule for this device. You can find sample udev rules in the udev/ folder of this plugin.

You just need to copy the choosen sample file in the folder /etc/udev/rules.d/ and unplug/plug the device.

Check the device under Linux

Setup the connection according to the Teleinfo specifications :

$ stty -F /dev/teleinfo 1200 sane evenp parenb cs7 -crtscts

Display the data flow

$ cat /dev/teleinfo
ADCO 012345678901 =
OPTARIF HC.. <
ISOUSC 60 <
HCHC 009205446 $
HCHP 011101473 %
PTEC HP..
IINST 002 Y
IMAX 047 J
PAPP 00520 (
HHPHC D /
MOTDETAT 000000 B
...

Create the domogik devices

Domogik device type : teleinfo.electric_meter

2 parameters are needed for a domogik device creation:

Key Type Description
device string The teleinformation module device path (ex : /dev/teleinfo for an usb model).
interval number The time in seconds between each check.

Note

You can find more informations about each sensors in the description of the teleinformation frame.

Start the plugin

You can now start the plugin (start button) and use the created domogik devices.