0
30
396
中级会员
使用道具 举报
25
615
2919
金牌会员
lannister 发表于 2022-7-25 15:50 呃,我家是遥控器控制的, 所以一直有220v通电的...没电的话还要想办法拉线才行 ...
3
168
2035
lannister 发表于 2022-7-25 15:57 你也是前端编译的吧? 编译后 报错信息发我看看,我没试过前端编译,应该也是有路径地址的 ...
2
45
532
高级会员
嘻嘻 发表于 2022-7-26 18:19 谢谢大佬
includes: - uart_read_line_sensor.h
lannister 发表于 2022-7-27 02:00 你这个错误是 yaml 没有包含头文件
6
38
251
17
140
1630
29
365
42
495
3152
论坛元老
INFO Reading configuration /config/1115h.yaml... Failed config number: [source /config/1115h.yaml:50] Component not found: number - platform: template id: motion_th1 name: th1 移动灵敏度 mode: box optimistic: True min_value: 0 max_value: 500 step: 1 restore_value: True initial_value: 120 on_value: then: - uart.write: !lambda |- int v = (int)x; std::string cmd = "th1=" + to_string(v); return std::vector<unsigned char>(cmd.begin(), cmd.end());
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-6-3 07:57 , Processed in 0.070063 second(s), 23 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.