esp/86xx/led3xdrv-pro.yml
2025-10-31 17:45:18 +01:00

75 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

esphome:
name: led3xdrv
friendly_name: Led 3x
esp8266:
board: esp12e
logger:
api:
encryption:
key: "qHvgYr1RgkorYHuCq5kaolpW8Og8TUcV3YZH0KE8ndk="
ota:
- platform: esphome
password: "d1e7d153acd8591234576da1844f822f"
wifi:
ssid: "Lothlorien"
password: "LitwoOjczyznoMojaTysJestJakZdrowie"
web_server:
output:
- platform: esp8266_pwm
pin: GPI12
id: led_pwm01
frequency: 20000 Hz # 20 kHz bez pisku i bez migotania w kamerze
- platform: ledc
pin: GPI13
id: led_pwm02
frequency: 20000 Hz # 20 kHz bez pisku i bez migotania w kamerze
- platform: ledc
pin: GPIO14
id: led_pwm03
frequency: 20000 Hz # 20 kHz bez pisku i bez migotania w kamerze
light:
- platform: monochromatic
name: "LED PWM 1"
output: led_pwm01
gamma_correct: 1.0
- platform: monochromatic
name: "LED PWM 2"
output: led_pwm02
gamma_correct: 1.0
- platform: monochromatic
name: "LED PWM 3"
output: led_pwm03
gamma_correct: 1.0
sensor:
- platform: wifi_signal
name: "WiFi RSSI"
id: wifi_rssi
update_interval: 30s
- platform: uptime
name: "Uptime (s)"
id: uptime_s
update_interval: 60s
binary_sensor:
- platform: gpio
pin:
number: GPIO7
mode:
input: true
pullup: false
pulldown: true
name: "Czujnik ruchu SR505"
device_class: motion
filters:
- delayed_off: 2s