Using an D1 mini, I’ve connected a vibration sensor as a binary_sensor which is functional well only if I connect the DO (sensor data out) to the D1 mini pin after boot. If I boot the D1 mini with all the pins connected it doesn’t connect to ESPHOME
Code below / I would really appreciate the help
esphome:
name: washer_dryer
platform: ESP8266
board: d1_mini
wifi:
ssid: "masked"
password: "masked"
captive_portal:
logger:
api:
ota:
web_server:
port: 80
time:
- platform: sntp
id: washer_dryer_d1mini_time
sensor:
- platform: uptime
name: "Uptime washer dryer D1 Mini"
- platform: wifi_signal
name: "WiFi Signal at washer dryer"
update_interval: 60s
binary_sensor:
- platform: gpio
name: "Washer"
id: "Washer"
device_class: vibration
pin:
number: D3
mode: INPUT_PULLUP
- platform: gpio
name: "Dryer"
id: "Dryer"
device_class: vibration
pin:
number: D4
mode: INPUT_PULLUP