esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

SML component hangs / reboots with ESP8266 #4974

Open MichaBub opened 8 months ago

MichaBub commented 8 months ago

The problem

There are no stability issues with ESP32, but with an ESP8266 SML component hangs / freezes / reboots

Which version of ESPHome has the issue?

2023.9.3

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.10.2

What platform are you using?

ESP8266

Board

nodemcuv2 with chipset ESP8266MOD

Component causing the issue

SML

Example YAML snippet

esphome:
  name:  ${device_name}
  friendly_name: ${device_name_readable}
  platform: esp8266
  board: nodemcuv2  

uart:
  id: uart_bus
  tx_pin: GPIO1
  rx_pin: GPIO3
  baud_rate: 9600
  data_bits: 8
  parity: NONE
  stop_bits: 1

sml:
  id: mysml
  uart_id: uart_bus

sensor:
  - platform: sml
    name: "Total Energy Consumed"
    sml_id: mysml
    obis_code: "1-0:1.8.0"
    unit_of_measurement: kWh
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    filters:
      - multiply: 0.0001
#      - throttle: 20s
  - platform: sml
    name: "Total Energy Delivered"
    sml_id: mysml
    obis_code: "1-0:2.8.0"
    unit_of_measurement: kWh
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    filters:
      - multiply: 0.0001
#      - throttle: 20s
  - platform: sml
    name: "Current Power Total"
    sml_id: mysml
    obis_code: "1-0:16.7.0"
    unit_of_measurement: W
    accuracy_decimals: 0
    device_class: power
    state_class: measurement
    filters:
#      - throttle: 20s

Anything in the logs that might be useful for us?

[09:06:36][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:06:36][W][component:205]: Components should block for at most 20-30ms.
WARNING eeg-zaehler.local: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for eeg-zaehler.local
WARNING Disconnected from API
INFO Successfully connected to eeg-zaehler.local
[09:06:58][C][api:138]: API Server:
[09:06:58][C][api:139]:   Address: eeg-zaehler.local:6053
[09:06:58][C][api:141]:   Using noise encryption: YES
[09:06:58][W][sml:116]: Checksum error in received SML data.
[09:06:59][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:06:59][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.48523 kWh with 3 decimals of accuracy
[09:06:59][D][sensor:093]: 'Current Power Total': Sending state -1138.00000 W with 0 decimals of accuracy
[09:06:59][D][sml:066]: OBIS info:
[09:06:59][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:06:59][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc63a5]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb8e]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff29]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec5]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffda0]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x000000000000094c]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000956]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000945]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x000000000000006e]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000086]
[09:07:00][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x0000000000000109]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b0]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x000000000000096d]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x000000000000081f]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x000000000000077a]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078f]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:01][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:01][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:01][W][component:205]: Components should block for at most 20-30ms.
[09:07:02][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:07:02][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.48621 kWh with 3 decimals of accuracy
[09:07:02][D][sensor:093]: 'Current Power Total': Sending state -1149.00000 W with 0 decimals of accuracy
[09:07:02][D][sml:066]: OBIS info:
[09:07:02][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:07:02][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc63ae]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb83]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff20]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec5]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffda0]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x000000000000094a]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000959]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000947]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000070]
[09:07:03][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000086]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x0000000000000109]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b1]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x000000000000096d]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000814]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x000000000000077a]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078f]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:04][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:04][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:04][W][component:205]: Components should block for at most 20-30ms.
[09:07:05][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:07:05][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.48718 kWh with 3 decimals of accuracy
[09:07:05][D][sensor:093]: 'Current Power Total': Sending state -1147.00000 W with 0 decimals of accuracy
[09:07:05][D][sml:066]: OBIS info:
[09:07:05][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:07:05][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc63b8]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb85]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff23]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec5]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd9e]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x0000000000000947]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000957]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000946]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000073]
[09:07:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000087]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x0000000000000108]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b2]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x000000000000096b]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000813]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x000000000000077a]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078e]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:07][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:07][W][component:205]: Components should block for at most 20-30ms.
[09:07:09][D][api:102]: Accepted 192.168.1.10
[09:07:09][W][component:204]: Component api took a long time for an operation (0.32 s).
[09:07:09][W][component:205]: Components should block for at most 20-30ms.
WARNING eeg-zaehler.local: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for eeg-zaehler.local
WARNING Disconnected from API
INFO Successfully connected to eeg-zaehler.local
[09:07:30][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:07:30][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.49512 kWh with 3 decimals of accuracy
[09:07:30][D][sensor:093]: 'Current Power Total': Sending state -1159.00000 W with 0 decimals of accuracy
[09:07:30][D][sml:066]: OBIS info:
[09:07:30][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:07:30][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc6408]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb79]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff1f]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec2]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd9a]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x0000000000000944]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x000000000000094d]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x000000000000093f]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000074]
[09:07:31][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000088]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x000000000000010b]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b1]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x0000000000000967]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000811]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x0000000000000778]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078c]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:32][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:32][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:32][W][component:205]: Components should block for at most 20-30ms.
[09:07:33][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:07:33][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.49609 kWh with 3 decimals of accuracy
[09:07:33][D][sensor:093]: 'Current Power Total': Sending state -1157.00000 W with 0 decimals of accuracy
[09:07:33][D][sml:066]: OBIS info:
[09:07:33][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:07:33][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc6411]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb7b]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff20]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec2]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd99]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x0000000000000948]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000951]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000945]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000073]
[09:07:34][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000088]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x000000000000010b]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b2]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x0000000000000968]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000811]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x0000000000000778]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078d]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:35][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:35][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:35][W][component:205]: Components should block for at most 20-30ms.
[09:07:36][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:07:36][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.49707 kWh with 3 decimals of accuracy
[09:07:36][D][sensor:093]: 'Current Power Total': Sending state -1158.00000 W with 0 decimals of accuracy
[09:07:36][D][sml:066]: OBIS info:
[09:07:36][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:07:36][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc641b]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb7a]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff20]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffec2]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd99]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x000000000000094a]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000950]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000943]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000073]
[09:07:37][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000088]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x000000000000010b]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b2]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x0000000000000969]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000816]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x0000000000000779]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078c]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:07:38][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:07:38][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:07:38][W][component:205]: Components should block for at most 20-30ms.
[09:07:40][D][api:102]: Accepted 192.168.1.10
[09:07:40][W][component:204]: Component api took a long time for an operation (0.30 s).
[09:07:40][W][component:205]: Components should block for at most 20-30ms.
[09:07:40][W][sml:116]: Checksum error in received SML data.
WARNING eeg-zaehler.local: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for eeg-zaehler.local
WARNING Disconnected from API
INFO Successfully connected to eeg-zaehler.local
[09:08:04][C][ota:097]: Over-The-Air Updates:
[09:08:04][C][ota:098]:   Address: eeg-zaehler.local:8266
[09:08:04][C][ota:101]:   Using Password.
[09:08:04][W][ota:106]: Last Boot was an unhandled reset, will proceed to safe mode in 6 restarts
[09:08:04][C][api:138]: API Server:
[09:08:04][C][api:139]:   Address: eeg-zaehler.local:6053
[09:08:04][C][api:141]:   Using noise encryption: YES
[09:08:05][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:08:05][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.50635 kWh with 3 decimals of accuracy
[09:08:05][D][sensor:093]: 'Current Power Total': Sending state -1168.00000 W with 0 decimals of accuracy
[09:08:05][D][sml:066]: OBIS info:
[09:08:05][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:08:05][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc6478]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb70]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff1f]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffebf]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd94]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x0000000000000943]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000953]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000941]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000073]
[09:08:06][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x0000000000000089]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x000000000000010d]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b0]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x0000000000000964]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000812]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x0000000000000777]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078b]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f4]
[09:08:07][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:08:07][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:08:07][W][component:205]: Components should block for at most 20-30ms.
[09:08:08][D][sensor:093]: 'Total Energy Consumed': Sending state 338.01849 kWh with 3 decimals of accuracy
[09:08:08][D][sensor:093]: 'Total Energy Delivered': Sending state 1339.50732 kWh with 3 decimals of accuracy
[09:08:08][D][sensor:093]: 'Current Power Total': Sending state -1167.00000 W with 0 decimals of accuracy
[09:08:08][D][sml:066]: OBIS info:
[09:08:08][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.50.1 [0x4c4f47]
[09:08:08][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:96.1.0 [0x0a014c4f4700057ddaec]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:1.8.0 [0x00000000003393d9]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:2.8.0 [0x0000000000cc6482]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:16.7.0 [0xfffffffffffffb71]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:36.7.0 [0xffffffffffffff22]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:56.7.0 [0xfffffffffffffebe]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:76.7.0 [0xfffffffffffffd93]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:32.7.0 [0x0000000000000942]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:52.7.0 [0x0000000000000953]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:72.7.0 [0x0000000000000941]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:31.7.0 [0x0000000000000073]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:51.7.0 [0x000000000000008a]
[09:08:09][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:71.7.0 [0x000000000000010d]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.1 [0x00000000000004b0]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.2 [0x0000000000000967]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.4 [0x0000000000000815]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.15 [0x0000000000000777]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:81.7.26 [0x000000000000078b]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:14.7.0 [0x00000000000001f3]
[09:08:10][D][sml:072]:   (0a014c4f4700057ddaec) 1-0:0.2.0 [0x3036]
[09:08:10][W][component:204]: Component sml took a long time for an operation (2.07 s).
[09:08:10][W][component:205]: Components should block for at most 20-30ms.
[09:08:12][D][api:102]: Accepted 192.168.1.10
[09:08:12][W][component:204]: Component api took a long time for an operation (0.30 s).
[09:08:12][W][component:205]: Components should block for at most 20-30ms.

Additional information

It seems that the SML component / ESP8266 gets stuck after HomeAssitant connects to ESP in my case it is e.g. [09:08:12][D][api:102]: Accepted 192.168.1.10

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Skeletitor commented 2 months ago

@MichaBub Did you find a solution for this? My 8266 hangs as soon as I connect the RX diode

MichaBub commented 2 months ago

Hey @Skeletitor - yes I found a solution. I did change to a ESP32, than everything works smooth. ESP8266 did not work with SML component for me.

Skeletitor commented 2 months ago

@MichaBub This trick worked for mee too.

So, my good old D1mini (esp8266) is now retired :)