微信扫码登录
1
28
449
中级会员
使用道具 举报
3
116
1189
金牌会员
45
194
1879
23
637
3122
论坛元老
6
58
726
高级会员
15
306
2819
88
798
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, 2026-1-18 11:47 , Processed in 0.187447 second(s), 7 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2026 Discuz! Team.