『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1718|回复: 8

[求助] 请教ESP32频繁发送component:204是什么意思?

[复制链接]

4

主题

62

帖子

882

积分

论坛DIY达人

积分
882
金钱
820
HASS币
0
发表于 2023-12-7 13:27:10 | 显示全部楼层 |阅读模式
本帖最后由 nbxzl 于 2023-12-7 13:41 编辑

[tr][/tr]
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:11[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:11[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:12[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:12[W][component:205]Components should block for at most 20-30ms.
13:25:13[W][component:204]Component <unknown> took a long time for an operation (0.10 s).
13:25:13[W][component:205]


esp32上启用了有线LAN8720、串口收发,开关
回复

使用道具 举报

13

主题

575

帖子

3047

积分

论坛元老

HomeAssistant

Rank: 8Rank: 8

积分
3047
金钱
2467
HASS币
20
发表于 2023-12-7 15:17:35 | 显示全部楼层
https://esphome.io/search.html?q ... for+at+most+20-30ms
我之前做了一个oled一开始也显示这个,把iic的速率调到最大就不显示了
回复

使用道具 举报

4

主题

62

帖子

882

积分

论坛DIY达人

积分
882
金钱
820
HASS币
0
 楼主| 发表于 2023-12-7 16:50:59 | 显示全部楼层
DDDear 发表于 2023-12-7 15:17
https://esphome.io/search.html?q=Components+should+block+for+at+most+20-30ms
我之前做了一个oled一开 ...

谢谢,明白了
回复

使用道具 举报

51

主题

1340

帖子

5598

积分

论坛DIY达人

积分
5598
金钱
4258
HASS币
20
发表于 2023-12-8 08:04:03 | 显示全部楼层
DDDear 发表于 2023-12-7 15:17
https://esphome.io/search.html?q=Components+should+block+for+at+most+20-30ms
我之前做了一个oled一开 ...

自从更新了ESPHOME比较新的版本后,好像经常看到这类黄色字,iiC是什么东西,怎么调?
回复

使用道具 举报

13

主题

575

帖子

3047

积分

论坛元老

HomeAssistant

Rank: 8Rank: 8

积分
3047
金钱
2467
HASS币
20
发表于 2023-12-8 08:14:40 | 显示全部楼层
sorrypqa 发表于 2023-12-8 08:04
自从更新了ESPHOME比较新的版本后,好像经常看到这类黄色字,iiC是什么东西,怎么调? ...

i2c,我调成800kHz后,只有刷动画的时候会出现了
i2c:
  sda: GPIO4
  scl: GPIO5
  scan: false
  id: oled
  frequency: 800kHz
回复

使用道具 举报

51

主题

1340

帖子

5598

积分

论坛DIY达人

积分
5598
金钱
4258
HASS币
20
发表于 2023-12-8 08:50:05 | 显示全部楼层
DDDear 发表于 2023-12-8 08:14
i2c,我调成800kHz后,只有刷动画的时候会出现了

但有很多我没用I2C也有这提示呀!
回复

使用道具 举报

8

主题

690

帖子

4556

积分

论坛元老

Rank: 8Rank: 8

积分
4556
金钱
3861
HASS币
0
QQ
发表于 2023-12-8 09:13:00 | 显示全部楼层
不用在意,调试好直接屏蔽就行了。
logger:
  level: ERROR
回复

使用道具 举报

13

主题

575

帖子

3047

积分

论坛元老

HomeAssistant

Rank: 8Rank: 8

积分
3047
金钱
2467
HASS币
20
发表于 2023-12-8 09:13:20 | 显示全部楼层
sorrypqa 发表于 2023-12-8 08:50
但有很多我没用I2C也有这提示呀!

官网上有介绍,有些是不可避免的,没办法
回复

使用道具 举报

4

主题

62

帖子

882

积分

论坛DIY达人

积分
882
金钱
820
HASS币
0
 楼主| 发表于 2023-12-8 12:26:29 | 显示全部楼层
QQ617250210 发表于 2023-12-8 09:13
不用在意,调试好直接屏蔽就行了。

谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 04:01 , Processed in 0.157597 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表