Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: wohnzimmerlampe
- platform: ESP8266
- board: d1_mini
- includes:
- - diyhueasyncudp.h
- libraries:
- - ESPAsyncUDP@697c75a025
- custom_component:
- - lambda: |-
- auto diyhue = new diyhueudp();
- return {diyhue};
- wifi:
- ssid: "***"
- password: "***"
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- light:
- - platform: fastled_clockless
- chipset: WS2811
- pin: GPIO2
- num_leds: 34
- id: color_led
- rgb_order: GRB
- name: "Stehlampe Wohnzimmer"
- effects:
- - addressable_rainbow:
- - addressable_scan:
- - addressable_fireworks:
- - addressable_color_wipe:
- - addressable_flicker:
- - platform: cwww
- id: white_led
- name: "white_led"
- cold_white: cold_white_gpio
- warm_white: warm_white_gpio
- cold_white_color_temperature: 6500 K
- warm_white_color_temperature: 2000 K
- gamma_correct: 0.8
- default_transition_length: 0.4s
- output:
- - platform: esp8266_pwm
- pin: GPIO5
- id: cold_white_gpio
- frequency: 1000 Hz
- inverted: False
- min_power: 0
- max_power: 0.7
- - platform: esp8266_pwm
- pin: GPIO12
- id: warm_white_gpio
- frequency: 1000 Hz
- inverted: False
- min_power: 0
- max_power: 0.7
- switch:
- - platform: template
- name: entertainment_switch
- id: entertainment_switch
- optimistic: true
- text_sensor:
- - platform: template
- name: "light_id"
- id: light_id
- lambda: |-
- return {"esphome_diyhue_light;SUPER-SECRET-MAC;LIGHT-NAME;CT-BOOST;RGB-BOOST"};
- update_interval: 24h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement