03-12-2022, 02:00 PM
(03-12-2022, 01:44 PM)admin Wrote: do you use my code directly? or changed something?
I use your code nearly without modifications, here it is:
Code:
substitutions:
friendly_name: kincony-netatmo
esphome:
name: $friendly_name
esp32:
board: esp32dev
framework:
type: arduino
logger:
web_server:
ota:
wifi:
networks:
- ssid: !secret wifi
password: !secret wifi_passwd
- ssid: !secret wifi_puppy
password: !secret wifi_puppy_passwd
ap:
ssid: $friendly_name
captive_portal:
api:
reboot_timeout: 120min
#i2c:
# sda: 4
# scl: 16
# scan: true
# id: bus_a
dallas:
- pin: GPIO27
update_interval: 15s
sensor:
- platform: dallas
address: 0x0800000004680128
name: "Temperature"
light:
- platform: fastled_clockless
chipset: WS2812B
pin: GPIO32 # Pin Define connected with LED strip
num_leds: 4 #LEDs number
rgb_order: GRB
name: "Ring"
effects:
- addressable_rainbow: ##defined 7 effects styles
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
- addressable_random_twinkle:
- addressable_fireworks:
- addressable_flicker:
- platform: fastled_clockless
chipset: WS2812B
pin: GPIO33 # Pin Define connected with LED strip
num_leds: 1 #LEDs number
rgb_order: RGB
name: "Bar"
effects:
- addressable_rainbow: ##defined 7 effects styles
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
- addressable_random_twinkle:
- addressable_fireworks:
- addressable_flicker: