Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: carportsensor
- friendly_name: Carportsensor
- esp8266:
- board: esp01_1m
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- encryption:
- key: "GcA243yVw9+1Yuu2I2Z77j2o5vaKQgTSRlhXa6KGORY="
- ota:
- password: "8098fa2c27f1e759a4b25ea854594a03"
- wifi:
- ssid: XXXXXXXXXXXXXXXXX
- password: XXXXXXXXXXXXXX
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Carportsensor Fallback Hotspot"
- password: "qiv5oD0dYlAK"
- captive_portal:
- output:
- - platform: gpio
- id: "carport_laser"
- pin: 2
- light:
- - platform: binary
- id: "cport_laser"
- output: "carport_laser"
- name: Carport Laser
- sensor:
- - platform: ultrasonic
- trigger_pin: 5
- echo_pin: 4
- name: "ultrasensor"
- update_interval: 5s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement