Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphomeyaml:
- name: esp32light2
- platform: ESP32
- board: nodemcu-32s
- wifi:
- ssid: '********'
- password: '**********'
- mqtt:
- broker: '192.168.1.60'
- username: 'admin'
- password: '********'
- # Enable logging
- logger:
- ota:
- password: 'password'
- output:
- - platform: ledc
- pin: 18
- id: gpio_18
- frequency: 10000
- - platform: ledc
- pin: 19
- id: gpio_19
- frequency: 10000
- - platform: ledc
- pin: 5
- id: gpio_5
- light:
- - platform: monochromatic
- name: "Kitchen Lights"
- output: gpio_18
- default_transition_length: 1.5s
- id: mono18
- - platform: monochromatic
- name: "Kitchen Lights2"
- output: gpio_19
- id: mono19
- - platform: fastled_clockless
- chipset: NEOPIXEL
- pin: 5
- num_leds: 128
- # rgb_order: GRB
- name: "FastLED Light-Bar"
- id: rgb1
- sensor:
- - platform: esp32_hall
- name: "ESP32 Hall Sensor"
- update_interval: 1s
- # filters:
- esp32_touch:
- setup_mode: False
- binary_sensor:
- - platform: esp32_touch
- name: "ESP32 Touch GPIO15"
- pin: 15
- threshold: 1000
- on_click:
- min_length: 50ms
- max_length: 350ms
- then:
- # - light.toggle:
- # id: mono18
- # - delay: 5s
- - light.toggle:
- id: rgb1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement