Migration of smart meter

Hi,
I have just moved over to another house.
In my previous house I had a Kaifa MA105C smart meter and I logged energy consumption with Home Assistant and a DIY P1 cable.
Home Assistant runs on a Raspberry Pi 4 and the P1 cable has been connected to a esp8266 Wifi board. This works perfectly.

In my new house I have connected all the parts, without re-installing it. So I just plugged everything in. I only gave the esp8266 Wifi board the same fixe IP address as before.

Now in Home Assistant, the Wifi board can be found and ESPHome shows it as connected, but no values are being read… even after a day, no values can be found. If I check the log in ESPHome, it connects but now values are visible.

The smart meter is a Sagemcom T210-D ESMR5 (3-fase)

Does someone know if the same P1 cable can be used for the Home Assistant energy meter?
If the same cable should suffice, what can be the problem no values can be read?

  • Is it some configuration problem? Are there configuration settings I have to change now I am in another house? It is the same modem/router, I have attached the same IP addresses to the components.

  • Can it be a problem with the P1 cable? I have used this scheme for the cable, which is connected to an esp8266 wifi board:
    p1

  • Is there another possible cause?

Here is the logger text:

INFO Reading configuration /config/esphome/p1-meter.yaml...
INFO Starting log output from p1-meter.local using esphome API
INFO Successfully connected to p1-meter.local
[20:47:07][I][app:102]: ESPHome version 2022.10.1 compiled on Oct 27 2022, 20:34:41
[20:47:07][C][wifi:502]: WiFi:
[20:47:07][C][wifi:360]:   Local MAC: 48:3F:DA:87:88:6D
[20:47:07][C][wifi:361]:   SSID: [redacted]
[20:47:07][C][wifi:362]:   IP Address: 192.168.2.130
[20:47:07][C][wifi:363]:   BSSID: [redacted]
[20:47:07][C][wifi:365]:   Hostname: 'p1-meter'
[20:47:07][C][wifi:367]:   Signal strength: -51 dB ▂▄▆█
[20:47:07][C][wifi:371]:   Channel: 1
[20:47:07][C][wifi:372]:   Subnet: 255.255.255.0
[20:47:07][C][wifi:373]:   Gateway: 192.168.2.254
[20:47:07][C][wifi:374]:   DNS1: 192.168.2.254
[20:47:07][C][wifi:375]:   DNS2: 0.0.0.0
[20:47:07][C][logger:275]: Logger:
[20:47:07][C][logger:276]:   Level: DEBUG
[20:47:07][C][logger:277]:   Log Baud Rate: 115200
[20:47:07][C][logger:278]:   Hardware UART: UART0
[20:47:08][C][uart.arduino_esp8266:102]: UART Bus:
[20:47:08][C][uart.arduino_esp8266:104]:   RX Pin: GPIO3
[20:47:08][C][uart.arduino_esp8266:106]:   RX Buffer Size: 256
[20:47:08][C][uart.arduino_esp8266:108]:   Baud Rate: 115200 baud
[20:47:08][C][uart.arduino_esp8266:109]:   Data Bits: 8
[20:47:08][C][uart.arduino_esp8266:110]:   Parity: NONE
[20:47:08][C][uart.arduino_esp8266:111]:   Stop bits: 1
[20:47:08][C][uart.arduino_esp8266:113]:   Using hardware serial interface.
[20:47:08][W][uart.arduino_esp8266:127]:   You're using the same serial port for logging and the UART component. Please disable logging over the serial port by setting logger->baud_rate to 0.
[20:47:08][C][dsmr:275]: DSMR:
[20:47:08][C][dsmr:276]:   Max telegram length: 1500
[20:47:08][C][dsmr:277]:   Receive timeout: 0.2s
[20:47:08][C][dsmr:286]:   energy_delivered_tariff1 'energy_delivered_tariff1'
[20:47:08][C][dsmr:286]:     Device Class: 'energy'
[20:47:08][C][dsmr:286]:     State Class: 'total_increasing'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'kWh'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 3
[20:47:08][C][dsmr:286]:   energy_delivered_tariff2 'energy_delivered_tariff2'
[20:47:08][C][dsmr:286]:     Device Class: 'energy'
[20:47:08][C][dsmr:286]:     State Class: 'total_increasing'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'kWh'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 3
[20:47:08][C][dsmr:286]:   power_delivered 'power_delivered'
[20:47:08][C][dsmr:286]:     Device Class: 'power'
[20:47:08][C][dsmr:286]:     State Class: 'measurement'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'kW'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 3
[20:47:08][C][dsmr:286]:   electricity_failures 'electricity_failures'
[20:47:08][C][dsmr:286]:     State Class: ''
[20:47:08][C][dsmr:286]:     Unit of Measurement: ''
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 0
[20:47:08][C][dsmr:286]:   electricity_long_failures 'electricity_long_failures'
[20:47:08][C][dsmr:286]:     State Class: ''
[20:47:08][C][dsmr:286]:     Unit of Measurement: ''
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 0
[20:47:08][C][dsmr:286]:   voltage_l1 'voltage_l1'
[20:47:08][C][dsmr:286]:     Device Class: 'voltage'
[20:47:08][C][dsmr:286]:     State Class: 'measurement'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'V'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 1
[20:47:08][C][dsmr:286]:   current_l1 'current_l1'
[20:47:08][C][dsmr:286]:     Device Class: 'current'
[20:47:08][C][dsmr:286]:     State Class: 'measurement'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'A'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 1
[20:47:08][C][dsmr:286]:   gas_delivered 'gas_delivered'
[20:47:08][C][dsmr:286]:     Device Class: 'gas'
[20:47:08][C][dsmr:286]:     State Class: 'total_increasing'
[20:47:08][C][dsmr:286]:     Unit of Measurement: 'm³'
[20:47:08][C][dsmr:286]:     Accuracy Decimals: 3
[20:47:08][C][dsmr:289]:   p1_version 'dsmr_p1_version'
[20:47:08][C][dsmr:289]:   electricity_tariff 'lectricity_tariff'
[20:47:08][C][captive_portal:088]: Captive Portal:
[20:47:08][C][mdns:100]: mDNS:
[20:47:08][C][mdns:101]:   Hostname: p1-meter
[20:47:08][C][ota:089]: Over-The-Air Updates:
[20:47:08][C][ota:090]:   Address: p1-meter.local:8266
[20:47:08][C][ota:093]:   Using Password.
[20:47:08][C][api:138]: API Server:
[20:47:08][C][api:139]:   Address: p1-meter.local:6053
[20:47:08][C][api:141]:   Using noise encryption: YES

When using an ESP8266, then GPIO13 (e.g. pin D7 on a D1 Mini) can be used for hardware RX. However, to actually make it work, serial logging must be disabled to keep the hardware UART available for D7.

Example configuration for ESP8266

logger:
baud_rate: 0
level: DEBUG

uart:
pin: GPIO13
baud_rate: 115200