Skip to content

Instantly share code, notes, and snippets.

@fwartner
Last active April 26, 2023 08:32
Show Gist options
  • Save fwartner/0eeb5e54bde1e6648901af72951fa409 to your computer and use it in GitHub Desktop.
Save fwartner/0eeb5e54bde1e6648901af72951fa409 to your computer and use it in GitHub Desktop.
esphome:
name: esphome-web-d64945
esp8266:
board: nodemcu
logger:
api:
encryption:
key: "GydS91DcZ2FOU...."
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "Bett-Sensor Fallback Hotspot"
password: "m9Btby7WkU8U"
captive_portal:
binary_sensor:
- platform: gpio
id: bett_links # Bed Left
pin:
number: D3
mode: INPUT_PULLUP
inverted: true
name: "Bett Links" # Bed Left
icon: mdi:bed
- platform: gpio
id: bett_rechts # Bed Right
pin:
number: D4
mode: INPUT_PULLUP
inverted: true
name: "Bett Rechts" # Bed Right
icon: mdi:bed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment