微信扫码登录
1
28
449
中级会员
使用道具 举报
3
116
1189
金牌会员
44
188
1855
23
637
3122
论坛元老
6
58
726
高级会员
15
291
2728
86
782
19
260
esphome: name: xxxxxxxx # 啟動後 關閉 LCD on_boot: - priority: 5000 then: - output.turn_off: onbaord_led # 略 interval: # 定義ESP8266版上LED關閉,假設 wifi 連接就關閉 - interval: 10s then: if: condition: wifi.connected: then: - output.turn_off: onbaord_led else: - output.turn_on: onbaord_led output: - platform: esp8266_pwm id: onbaord_led pin: GPIO2 inverted: True light: - platform: monochromatic output: onbaord_led name: "Onboard LED"
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-12-1 20:38 , Processed in 0.840879 second(s), 12 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.