esphome:
name: kc868-uair
platform: ESP32
board: esp32dev
on_boot:
priority: 200
then:
- lambda: |-
delay(500);
external_components:
- source:
type: git
url:
https://github.com/mrtoy-me/esphome-my-components
# ref: main
components: [ sht3xd ]
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
- platform: esphome
password: "978e66f878ed5041b830cfb427383c79"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
captive_portal:
# follow configure use for DS18B20 temperature sensor, SHT30 temperature and humidity sensor. WS2812B RGB LEDs.
i2c:
sda: 4
scl: 16
scan: true
id: bus_a
frequency: 800khz
timeout: 10ms
# Example configuration entry
one_wire:
- platform: gpio
pin: GPIO27
# Individual sensors
sensor:
- platform: dallas_temp
address: 0x840000000d028228 # your DS18B20 address
name: "internal Temperature"
# Example configuration entry
- platform: sht3xd
temperature:
name: "extend Temperature"
humidity:
name: "extend Humidity"
address: 0x44
update_interval: 15s
light:
- platform: fastled_clockless
chipset: WS2812B
pin: GPIO32 # Pin Define connected with LED strip
num_leds: 4 #LEDs number
rgb_order: GRB
name: "Uair-Bottom-LED"
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: "Uair-Vertical-LED"
effects:
- addressable_rainbow: ##defined 7 effects styles
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
- addressable_random_twinkle:
- addressable_fireworks:
- addressable_flicker:
ESPhome Current version: 2024.6.2