-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
我在验证红外学习部分的代码时出现了学习成功,但是日志报错的问题,最终红外还是不能控制空调的开关,我的idf版本是5.5
Actual behavior (suspected bug)
目前我学习的是格力的空调开关机,虽然界面上提示学习成功,并显示了可以控制空调的按钮,但是并没有成功开关机空调。
Error logs or terminal output
I (35060) ui_sensor_monitor: IR Learn ready
I (35185) ui_sensor_monitor: tips_info: Learning failed, retry!
I (36689) ui_sensor_monitor: tips_info: Press the button
I (43070) ui_sensor_monitor: IR Learn step:[1][1]
I (43243) ui_sensor_monitor: IR Learn step:[1][2]
I (43288) ui_sensor_monitor: tips_info: Press button again
I (45179) ui_sensor_monitor: IR Learn step:[2][1]
I (45349) ui_sensor_monitor: IR Learn step:[2][2]
I (45388) ui_sensor_monitor: tips_info: First learning successful
I (46585) ui_sensor_monitor: tips_info: Learn again, ready!
I (47804) ui_sensor_monitor: IR Learn step:[3][1]
I (47976) ui_sensor_monitor: IR Learn step:[3][2]
I (48089) ui_sensor_monitor: tips_info: Press button again
I (49183) ui_sensor_monitor: IR Learn step:[4][1]
I (49353) ui_sensor_monitor: IR Learn step:[4][2]
I (49853) ir learn: list:1-2
I (49853) ir learn: list:2-2
I (49853) ir learn: list:3-2
I (49853) ir learn: list:4-2
E (49854) ir learn: ./managed_components/espressif__ir_learn/ir_learn.c:415 (ir_learn_check_duration):add cmd duration error
E (49854) ir learn: ir_learn_check_valid(491): symbol add failed
I (49854) ir learn: list:1-2
I (49854) ir learn: list:2-2
I (49854) ui_sensor_monitor: IR Learn on ok
I (49854) ir learn: list:1-2
I (49855) ir learn: list:2-2
I (49855) ui_sensor_monitor: IR Learn off ok
I (51716) ui_sensor_monitor: IR Learn exit
Steps to reproduce the behavior
红外学习期间如果开关按键的时间间隔控制不好,很容易学习失败,需要多次尝试才能正确学习到红外码
Project release version
idf版本5.5
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
ubuntu24.04
Shell
Bash
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels