alengwenus / esphome_components

External components for ESPHome
GNU General Public License v3.0
29 stars 9 forks source link

Component SML took long time for an operation (80ms) #20

Open wettermann32 opened 6 months ago

wettermann32 commented 6 months ago

Hi, my log is filled with this warning: Component SML took long time for an operation (80ms). I also have issues using i2c in parallel. Either one works, but not together. Any ideas why it would block so long? or what i could test?

[18:11:37][D][sml:078]: OBIS info: [18:11:37][D][sml:084]: (xxxxxxxxxxxxxxxxxxxx) 1-0:96.50.1 [0xxxxxxx] [18:11:37][D][sml:084]: (xxxxxxxxxxxxxxxxxxxx) 1-0:96.1.0 [xxxxxxxxxxxxxxxxxxxx] [18:11:37][D][sml:084]: (xxxxxxxxxxxxxxxxxxxx) 1-0:1.8.0 [0x000000000xxxxxxx] [18:11:37][D][sml:084]: (xxxxxxxxxxxxxxxxxxxx) 1-0:2.8.0 [0x0000000000xxxxxx] [18:11:37][D][sml:084]: (xxxxxxxxxxxxxxxxxxxx) 1-0:16.7.0 [0x0000000000000xxx] [18:11:37][W][component:214]: Component sml took a long time for an operation (0.08 s). [18:11:37][W][component:215]: Components should block for at most 20-30ms.

uart: id: uart_bus rx_pin: 23 tx_pin: 18 baud_rate: 9600 data_bits: 8 parity: NONE stop_bits: 1