lambda'return -85 / 180.0;'#这里舵机角度自己调试好,多少能把门打开on_turn_off:-servo.write:# 关闭时舵机复位id:my_servolevel:!lambda'return 50.0 / 180.0;'# 除了远程控制外,我还接了一个开关,用于手动开门,为了避免误触,我设定开关是长按启动,并设置一个传感器用来接收开关信号binary_sensor:# 这里定...
binary_sensor: - platform: gpio pin: number: D2 mode: INPUT_PULLUP id: water name: "water_sensor" 接入ha 打开ha选择配置--集成 点击➕--选择esphome,输入esphome的IP地址即可 然后回到主页面就可以看到灯和雨滴传感器了(默认的statsUI可能卡片方式不同) 创建自动化 点击配置,选择自动化 点击右下角的...
binary_sensor: - platform: gpio pin: number: D2 mode: INPUT_PULLUP id: water name: "water_sensor" 水滴传感器+esphome接入homeassistant,实现下雨联动智能家居 接入ha 打开ha选择配置--集成 水滴传感器+esphome接入homeassistant,实现下雨联动智能家居 点击➕--选择esphome,输入esphome的IP地址即可 水滴传感器+...
Pull request inesphomewith YAML changes (if applicable):esphome/esphome#8296 Checklist: I am merging intoesphomeas linked above. or botcommentedFeb 21, 2025 Walkthrough The touchscreen component documentation has been updated with an optional configuration variable nameddimensions. This variable enables ...
echo_microphone# Configuration for the binary sensor (Boot Switch)binary_sensor: - platform: gpio pin: number: GPIO2 mode: input: true pullup: true name: Boot Switch internal: true on_press: - voice_assistant.start: - light.turn_off: light0 on_release: - voice_assistant.stop: - light...
Add support for cst226 binary sensor 7b66917 probot-esphome bot added has-tests integration: cst226 new-platform by-code-owner labels Mar 10, 2025 clydebarrow mentioned this pull request Mar 10, 2025 Document cst226 binary sensor esphome/esphome-docs#4743 Open 3 tasks codecov-commenter...
binary_sensor: - platform: gpio pin: number: GPIO1 mode: INPUT_PULLUP name: "Key" device_class: window # Enable logging logger: baud_rate: 0 deassert_rts_dtr: true # Enable Home Assistant API api: encryption: key: "XXXX" ota: ...
- binary_sensor.template.publish: id: is_motor_running state: OFF # The position switch is ok, clear any error. - script.stop: flash_pos_switch_error - switch.turn_on: led_red #--- - platform: gpio pin: number: GPIO2 id: unknown_usage #---...
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_...
2x Dallas temperature sensor pins with 5 kOhm pull-up resistors USB – 1x USB Type-C for programming via CP2102 USB to TTL chip Misc 6x control buttons, Reset button 6x status LED’s, 2x status LED’s Input Voltage – 85 to 305V AC ...