<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WeMos Teleinfo Shield with ESPHome on ESP32-S2 mini - no data being received]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1369/wemos-teleinfo-et-esp-home">Wemos Teleinfo et ESP Home</a></p>
<p dir="auto">I'm trying to get the Teleinfo data working with <a href="https://www.tindie.com/products/hallard/wemos-teleinfo/" target="_blank" rel="noopener noreferrer nofollow ugc">the Teleinfo shield</a> on an ESP32-S2 mini using ESPHome for HomeAssistant integration. I've used some of the config in the linked topic and adapted it for my hardware.</p>
<p dir="auto">My config looks like:</p>
<pre><code>esphome:
  name: bosh
  friendly_name: bosh

esp32:
  board: lolin_s2_mini
  variant: esp32s2
  framework:
    type: esp-idf

# Enable logging
logger:
  level: DEBUG
  hardware_uart: UART1

# Enable Home Assistant API
api:
  encryption:
    key: "***"

ota:
  password: "***"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Bosh Fallback Hotspot"
    password: "***"

captive_portal:

uart:
  id: uart_bus
  rx_pin: GPIO11
  baud_rate: 1200
  parity: EVEN
  data_bits: 7

teleinfo:
  id: linky
  update_interval: 60s
  historical_mode: true

sensor:
  - platform: wifi_signal
    name: "WiFi Signal Sensor"
    update_interval: 60s
    unit_of_measurement: dB
    accuracy_decimals: 0
    force_update: false
    icon: mdi:wifi
  - platform: teleinfo
    tag_name: "IRMS1"
    name: "Current"
    unit_of_measurement: "A"
    icon: mdi:current-ac
    teleinfo_id: linky
  - platform: teleinfo
    tag_name: "URMS1"
    name: "Voltage"
    unit_of_measurement: "V"
    icon: mdi:current-ac
    teleinfo_id: linky
  - platform: teleinfo
    tag_name: "SINSTS"
    name: "Power"
    device_class: power
    unit_of_measurement: "VA"
    icon: mdi:flash
    teleinfo_id: linky
  - platform: teleinfo
    tag_name: "EASF01"
    name: "Off-peak hour consumption"
    unit_of_measurement: "kWh"
    accuracy_decimals: 3
    device_class: energy
    state_class: "total_increasing"
    icon: mdi:gauge
    teleinfo_id: linky
    id: heures_creuses
    filters:
      - multiply: 0.001
  - platform: teleinfo
    tag_name: "EASF02"
    name: "Peak hour consumption"
    unit_of_measurement: "kWh"
    accuracy_decimals: 3
    device_class: energy
    state_class: "total_increasing"
    icon: mdi:gauge
    teleinfo_id: linky
    id: heures_pleines
    filters:
      - multiply: 0.001 
  - platform: teleinfo
    tag_name: "LTARF"
    name: "Current price"
    icon: mdi:clock-time-nine-outline
</code></pre>
<p dir="auto">Here is a picture of the board connected to the Linky:</p>
<p dir="auto"><img src="/assets/uploads/files/1709556544249-img_6074-large.jpeg" alt="IMG_6074 Large.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Everything compiles and installs correctly but it seems like no data is being received from teleinfo:</p>
<p dir="auto"><img src="/assets/uploads/files/1709556593341-screenshot-2024-03-04-at-13.49.42.png" alt="Screenshot 2024-03-04 at 13.49.42.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I've checked that my meter is set to "Historical mode" and the baud rate is correct.</p>
<p dir="auto">I was not sure of which way round to connect the Linky to the Teleinfo shield, but I tried both ways and neither seems to work.</p>
<p dir="auto">Logs from ESPHome:</p>
<pre><code>[13:40:52][I][app:102]: ESPHome version 2024.2.0 compiled on Mar  4 2024, 10:26:21
[13:40:52][C][wifi:577]: WiFi:
[13:40:52][C][wifi:409]:   Local MAC: 80:65:99:E3:ED:BC
[13:40:52][C][wifi:414]:   SSID: [redacted]
[13:40:52][C][wifi:415]:   IP Address: 10.5.3.34
[13:40:52][C][wifi:417]:   BSSID: [redacted]
[13:40:52][C][wifi:418]:   Hostname: 'bosh'
[13:40:52][C][wifi:420]:   Signal strength: -77 dB ▂▄▆█
[13:40:52][C][wifi:424]:   Channel: 6
[13:40:52][C][wifi:425]:   Subnet: 255.255.255.0
[13:40:52][C][wifi:426]:   Gateway: 10.5.3.1
[13:40:52][C][wifi:427]:   DNS1: 10.5.3.1
[13:40:52][C][wifi:428]:   DNS2: 0.0.0.0
[13:40:52][C][logger:447]: Logger:
[13:40:52][C][logger:448]:   Level: DEBUG
[13:40:52][C][logger:449]:   Log Baud Rate: 115200
[13:40:52][C][logger:451]:   Hardware UART: UART1
[13:40:52][C][uart.idf:139]: UART Bus 0:
[13:40:52][C][uart.idf:141]:   RX Pin: GPIO11
[13:40:52][C][uart.idf:143]:   RX Buffer Size: 256
[13:40:52][C][uart.idf:145]:   Baud Rate: 1200 baud
[13:40:52][C][uart.idf:146]:   Data Bits: 7
[13:40:52][C][uart.idf:147]:   Parity: EVEN
[13:40:52][C][uart.idf:148]:   Stop bits: 1
[13:40:52][C][teleinfo:189]: TeleInfo:
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Current'
[13:40:52][C][teleinfo_sensor:012]:     State Class: ''
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'A'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 0
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:current-ac'
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Voltage'
[13:40:52][C][teleinfo_sensor:012]:     State Class: ''
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'V'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 0
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:current-ac'
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Power'
[13:40:52][C][teleinfo_sensor:012]:     Device Class: 'power'
[13:40:52][C][teleinfo_sensor:012]:     State Class: ''
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'VA'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 0
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:flash'
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Off-peak hour consumption'
[13:40:52][C][teleinfo_sensor:012]:     Device Class: 'energy'
[13:40:52][C][teleinfo_sensor:012]:     State Class: 'total_increasing'
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'kWh'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 3
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:gauge'
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Peak hour consumption'
[13:40:52][C][teleinfo_sensor:012]:     Device Class: 'energy'
[13:40:52][C][teleinfo_sensor:012]:     State Class: 'total_increasing'
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'kWh'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 3
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:gauge'
[13:40:52][C][teleinfo_sensor:012]:   Teleinfo Sensor 'Current price'
[13:40:52][C][teleinfo_sensor:012]:     State Class: ''
[13:40:52][C][teleinfo_sensor:012]:     Unit of Measurement: 'Wh'
[13:40:52][C][teleinfo_sensor:012]:     Accuracy Decimals: 0
[13:40:52][C][teleinfo_sensor:012]:     Icon: 'mdi:clock-time-nine-outline'
[13:40:52][C][captive_portal:088]: Captive Portal:
[13:40:52][C][mdns:115]: mDNS:
[13:40:52][C][mdns:116]:   Hostname: bosh
[13:40:52][C][ota:096]: Over-The-Air Updates:
[13:40:52][C][ota:097]:   Address: bosh.local:3232
[13:40:52][C][ota:100]:   Using Password.
[13:40:52][C][ota:103]:   OTA version: 2.
</code></pre>
<p dir="auto">Any ideas how to debug this? I'm quite new to this kind of thing? <a class="plugin-mentions-user plugin-mentions-a" href="/user/charles" aria-label="Profile: Charles">@<bdi>Charles</bdi></a> do you have any ideas?</p>
]]></description><link>https://community.ch2i.eu/topic/1481/wemos-teleinfo-shield-with-esphome-on-esp32-s2-mini-no-data-being-received</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 20:17:51 GMT</lastBuildDate><atom:link href="https://community.ch2i.eu/topic/1481.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Mar 2024 12:54:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WeMos Teleinfo Shield with ESPHome on ESP32-S2 mini - no data being received on Thu, 07 Mar 2024 21:00:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harg" aria-label="Profile: harg">@<bdi>harg</bdi></a> looks like you're in standard mode, adding 1K resistor in serial with one of the wire (whatever which one) of teleinfo should solve your issue.</p>
]]></description><link>https://community.ch2i.eu/post/5706</link><guid isPermaLink="true">https://community.ch2i.eu/post/5706</guid><dc:creator><![CDATA[Charles]]></dc:creator><pubDate>Thu, 07 Mar 2024 21:00:15 GMT</pubDate></item><item><title><![CDATA[Reply to WeMos Teleinfo Shield with ESPHome on ESP32-S2 mini - no data being received on Mon, 04 Mar 2024 13:46:33 GMT]]></title><description><![CDATA[<p dir="auto">OK it looks like I had connected the shield to the wrong terminals on the Linky. I reconnected to the I1 and I2 pins and the LED on the shield started blinking.</p>
<p dir="auto">However I'm still not getting data in HomeAssistant.</p>
<p dir="auto">The logs are now showing lines like the following:</p>
<pre><code>[14:43:44][E][teleinfo:038]: bad crc: got 40 except 53
[14:44:44][E][teleinfo:038]: bad crc: got 66 except 89
[14:45:44][E][teleinfo:038]: bad crc: got 35 except 46
</code></pre>
<p dir="auto">What does this mean ?</p>
]]></description><link>https://community.ch2i.eu/post/5703</link><guid isPermaLink="true">https://community.ch2i.eu/post/5703</guid><dc:creator><![CDATA[harg]]></dc:creator><pubDate>Mon, 04 Mar 2024 13:46:33 GMT</pubDate></item></channel></rss>