Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: underbed
- platform: ESP8266
- board: esp01_1m
- wifi:
- ssid: "SSID"
- password: password
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Underbed Fallback Hotspot"
- password: "3YkVk0OPyqjx"
- captive_portal:
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- web_server:
- port: 80
- output:
- - platform: esp8266_pwm
- pin: 0
- frequency: 1000Hz
- id: LED_gpio_00
- light:
- - platform: monochromatic
- name: "Light"
- default_transition_length: 2s
- output: LED_gpio_00
- binary_sensor:
- - platform: gpio
- pin: 2
- name: "PIR Sensor"
- device_class: motion
Advertisement
Add Comment
Please, Sign In to add comment