restore_mode: ALWAYS_ON 1. 2. 3. 4. 5. RESTORE_DEFAULT_OFF(默认值)- 尝试还原状态,如果无法还原,则默认为 OFF。 RESTORE_DEFAULT_ON- 尝试恢复状态并默认为 ON。 ALWAYS_OFF- 始终在启动时将引脚初始化为OFF。 ALWAYS_ON- 始终在启动时将引脚初始化为 ON 15.实时读取GPIO输入状态1/0 binary_sensor...
relay2,relay3]restore_mode:ALWAYS_OFF-platform:gpio# GPIO 4 Relay3 接 電風扇 弱檔位name:"gree...
"Bedroom1 Night_light"# restore_mode: ALWAYS_OFFoutput:output_component1output:-platform:esp8266...
-platform:gpioname:"s31-plug-03 Relay"pin:GPIO12id:relay#The following will make this switch always on#restore_mode: ALWAYS_ON#on_turn_off:#- delay: 10s#- switch.turn_on: relaystatus_led:pin:number:GPIO13inverted:true Anything in the logs that might be useful for us? No response Add...
esp8266_restore_from_flash: yes arduino_version: 2.5.0 platformio_options: platform:https://github.com/Samuel-0-0/platform-espressif8266.git#dc1# 项目作用上面有介绍过 INFO:$device_name是使用了substitutions设定的变量。 INFO:编译后生成固件路径{build_path}/.pioenvs/{NODE_NAME}/firmware.bin ...
unit_of_measurement:minutes-platform:wifi_signalname:Wifi Signalupdate_interval:60sbinary_sensor:-platform:gpiodevice_class:powername:Buttonpin:number:PA18mode:INPUT_PULLUPinverted:trueon_press:-switch.toggle:relayswitch:-platform:gpioid:relayname:${friendly_name}pin:PA15restore_mode:RESTORE_DEFAULT_...
restore_mode: ALWAYS_OFF - platform: monochromatic name: ${device_name}_blue_led id: blue_led output: blue_output restore_mode: ALWAYS_OFF # https://esphome.io/guides/automations.html#interval interval: - interval: 500ms then: # https://esphome.io/guides/automations.html#if-action ...
[18:08:36][C][switch.gpio:091]: Restore Mode: always OFF [18:08:36][C][switch.gpio:031]: Pin: GPIO18 [18:08:36][C][bme680.sensor:215]: BME680: [18:08:36][C][bme680.sensor:216]: Address: 0x77 [18:08:36][E][bme680.sensor:218]: Communication with BME680 failed!
mode: box update_interval: never optimistic: true restore_value: true initial_value: 100 icon: "mdi:arrow-collapse-right" entity_category: CONFIG #Occupancy sensor binary_sensor: - platform: ld2410 has_target: name: Radar Target id: radar_has_target ...
esp8266_restore_from_flash: yes arduino_version: 2.5.0 platformio_options: platform:https://github.com/Samuel-0-0/platform-espressif8266.git#dc1# 项目作用上面有介绍过 INFO:$device_name是使用了substitutions设定的变量。 INFO:编译后生成固件路径{build_path}/.pioenvs/{NODE_NAME}/firmware.bin ...