Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: cabinet_2
- platform: ESP32
- board: esp-wrover-kit
- wifi:
- ssid: "WIFI_SSID"
- password: "WIFI_PWD"
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Cabinet 2 Fallback Hotspot"
- # password: "2YQw1dp3lN4k"
- captive_portal:
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- web_server:
- output:
- - platform: ledc
- pin: GPIO19
- id: gpio_19
- # min_power: 10%
- # Example usage in a light
- light:
- - platform: monochromatic
- output: gpio_19
- name: "Cabinet 2"
- default_transition_length: 500ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement