ESP32 Linky Teleinfo (TIC) to MQTT – Real-Time Home Assistant Integration
The teleinfo component allows you to retrieve data from a French electrical counter using Teleinformation. It works with Linky electrical counter but also legacy EDF electrical counter.

This project is a DIY open-source Teleinfo (TIC) decoder for French Linky electricity meters, powered by an ESP32. Unlike commercial Zigbee modules which are self-powered and forced to limit their data transmission frequency to avoid power crashes, this board is independently powered.
It reads the Linky TIC stream continuously in real-time and publishes the data instantly via MQTT to Home Assistant.
Key Features:
- Real-time updates: No polling limits or delay, ideal for reactive home automation.
- Native Home Assistant Discovery: Plug-and-play integration via MQTT Discovery (automatic entities creation for energy, power, current, and voltage).
- Robust isolation: Optocoupler circuit to safely isolate the Linky meter from the ESP32
This simple electronic assembly with an optocoupler and a resistor could let you retrieve detailed power consumption or power production. There are plenty of examples on the web. But the main reference regarding linky teleinfo was provided by Charles on his blog a few years ago.
Schematics
I have reproduced Charles'design and coupled it to my favorite ESP32 micro controller !

This schemactic seems simple (and it is) but needs clarifications !
TIC signal is a 50kHz modulated UART signal, so that when plugging a scope you will recognize the modulation but not the bits !

The opto is there to isolate the MCU from this AC 10V TIC. Furthermore, the power delivered by the linky is very limited by specification
(ERDF-NOI-RES_13E) Linky can deliver less than 130 mW meaning that R14 resistor has to be relatively high (2k to 4.7k is the sweet spot).
This will protect the linky but also the LED of the optocoupler.
Power delivered by the opto is thus also weak ; and R13 cannot be too small if you want a clean demodulated signal. 10k is the sweet spot (4.7k does not work on my linky !)
Finally the serial signal must be amplified to get the logic level of your MCU. Q1 mosfet does the trick ! (Any Mosfet will work)
As this device will be integrated into my Home Assistant system, I have added a DS18B20 temperature sensor to monitor my garage ! This is of course totally optionnal.
PCB
The PCB was designed to enter into the linky (under the green cover) and with only the USB plug accessible below it. The system will thus be totally hidden under the cover, but you can plug a USB phone charger to power it !
The ESP32 goes on the top side, while all the other components go to the bottom side.
PCB can be bought at PCBWay directly from this project page.


It is "tiny" but not compact, so that soldering is easy.
The PCB was kindly sponsored by PCBWay and is as usual of excellent quality.

and if you are new to PCBWay please use this affiliated link : https://pcbway.com/g/o35z4O
Result is a clean and compact setup.
To be continued
ESP32 Linky Teleinfo (TIC) to MQTT – Real-Time Home Assistant Integration
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Jean-Pierre Gleyzes
-
RC radial engine spark plug heater
BackgroundMy friend bought this wonderful engine from UMS_technologiesIt's a 7 cylinders star engine...
-
Convert a DC motor into a stepper one
This project is a way to convert a DC motor into a stepper motor.Of course "conversion" will not be ...
-
OpenxSensor variometer and telemetry for RC planes
Ever wanted a very cheap variometer on your RC glider ?battery voltage monitoring ?extra RC channels...
-
ESP32 Linky Teleinfo (TIC) to MQTT – Real-Time Home Assistant Integration
The teleinfo component allows you to retrieve data from a French electrical counter using Teleinform...
-
Air Quality station (e-paper and Home Assistant)
OverviewThis DIY air quality monitoring system integrates precision sensors with a connected process...
-
2S LiPo High-Current Power Box with two Sbus inputs
Project Overview: 2S LiPo High-Current Power Box with two Sbus inputsThis circuit is a high-performa...
-
Power box for big RC plane
Project Overview: 2S LiPo High-Current Power BoxThis circuit is a high-performance power distributio...
-
A bluetooth Joystick for TX16s radio (or others)
This project is kind of follow on of this one : Buddy Box for Radiomaster TX16sI decided to write an...
-
Radiomaster TX16s buddy box (master/trainer and more)
I wanted a wireless buddy box for my Radiomaster TX16sThis buddy box would allow to wireless link tw...
-
"perpetual" motion ball
Browsing internet and youtube, I found this mind blowing "perpetual motion" device designed by Willi...
-
Freon: Freeze On Neck - 3d printed box top
Freon project is fully describbed on this project page
-
Freon: Freeze On Neck - 3d printed box bottom
Freon project is fully described on this project page
-
Freon: Freeze On Neck personal cooler
DescriptionAre you tired of sweltering through hot days, feeling uncomfortable and unproductive?Imag...
-
ESP32_StarMotor_glow plugs heater _ V2
BackgroundMy friend bought this wonderful engine from UMS_technologiesIt's a 7 cylinders star engine...
-
RC plane CoG finder
IntroductionAs an intro here is a video of the system runningand another using the LCD displayA litt...
-
JP eCatFeeder
Overview In 2017 I published the first iteration of this project. And since then, the cat feeder had...
-
ESP32_RC_Motor_tester_V2
FeaturesOn an RC plane, propeller performance depends on pitch, diameter, profile, and material.Test...
-
ESP32_RC_Motor_tester
FeaturesOn an RC plane, propeller performance depends on pitch, diameter, profile, and material.Test...
-
Programmable Mist Maker - XIAO / QT PY Extension
678 1 0 -
RadioHAT - Raspberry Pi radio development platform
523 0 1 -
-
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3032 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
3637 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
3910 2 2







