cleaned for new home

This commit is contained in:
2025-06-23 12:40:35 +02:00
parent e426efb80f
commit 1f4970c17c
173 changed files with 16228 additions and 24225 deletions

View File

@@ -14,7 +14,7 @@ substitutions:
pin_led1: GPIO3
pin_led2: GPIO4
pin_led3: GPIO1
ledc_freq: "1220Hz"
ledc_freq: "25000Hz"
packages:
board: !include boards/esp32-C3.yaml

View File

@@ -1,6 +1,6 @@
substitutions:
device_name: "kersthuis-01"
friendly_name: "kersthuis-01"
friendly_name: "kersthuis-01_staircase"
comment: "esp32-c3"
location: "woonkamer"
api_password: !secret kersthuis-01_api
@@ -17,37 +17,28 @@ packages:
board: !include boards/esp32-C3.yaml
device_base: !include common/common.yaml
connection: !include common/wifi.yaml
# status: !include templates/status.yaml
logger: !include templates/logger.yaml
#led packages
ledje1: !include
file: templates/LedWithEffects.yaml
vars:
entityID: led_lights
entityName: "led string 1"
pin_led: ${pin_led1}
light:
- platform: monochromatic
id: led_lights
restore_mode: RESTORE_DEFAULT_ON
output: leds
name: "led string 1"
effects:
- flicker:
name: "Flicker"
alpha: 95%
intensity: 1.5%
output:
- platform: ledc
pin: ${pin_led1}
id: leds
# binary_sensor:
# - platform: gpio
# name: "Button"
# pin: ${pin_button}
# filters:
# - delayed_on: 20ms
# on_click:
# min_length: 50ms
# max_length: 1000ms
# then:
# - light.toggle:
# id: led_lights
binary_sensor:
- platform: gpio
name: "Button"
pin: ${pin_button}
filters:
- delayed_on: 20ms
on_click:
min_length: 50ms
max_length: 1000ms
then:
- light.toggle:
id: led_lights

View File

@@ -1,8 +1,8 @@
substitutions:
device_name: "kersthuis-02"
friendly_name: "kersthuis-02"
comment: "esp32-c3"
friendly_name: "kersthuis-02_peperkoekman"
comment: "esp32-c3: SK6812"
location: "woonkamer"
api_password: !secret kersthuis-02_api
ip: !secret kersthuis-02_ip
@@ -11,6 +11,8 @@ substitutions:
wifi_password: !secret wifi_password
gateway: !secret ip_gateway
subnet: !secret ip_subnet
chipset: SK6812
num_leds: "3"
pin_led1: GPIO3
@@ -20,21 +22,22 @@ packages:
connection: !include common/wifi.yaml
# status: !include templates/status.yaml
logger: !include templates/logger.yaml
leds: !include templates/light_rgbw_rmt.yaml
light:
- platform: esp32_rmt_led_strip
rmt_channel: 0
is_rgbw: true
id: led_lights
restore_mode: RESTORE_DEFAULT_ON
name: "kersthuisje2"
chipset: SK6812
rgb_order: GRB
num_leds: 1
pin: ${pin_led1}
effects:
- flicker:
name: "Flicker"
alpha: 95%
intensity: 1.5%
# light:
# - platform: esp32_rmt_led_strip
# rmt_channel: 0
# is_rgbw: true
# id: led_lights
# restore_mode: RESTORE_DEFAULT_ON
# name: "kersthuisje2"
# chipset: SK6812
# rgb_order: GRB
# num_leds: 1
# pin: ${pin_led1}
# effects:
# - flicker:
# name: "Flicker"
# alpha: 95%
# intensity: 1.5%

View File

@@ -19,72 +19,27 @@ packages:
board: !include boards/esp32-C3.yaml
device_base: !include common/common.yaml
connection: !include common/wifi.yaml
# status: !include templates/status.yaml
logger: !include templates/logger.yaml
light:
- platform: monochromatic
id: led_light1
restore_mode: RESTORE_DEFAULT_ON
output: led1
name: led_light1
effects:
- flicker:
name: "Flicker"
alpha: 95%
intensity: 1.5%
on_turn_on:
- light.turn_on:
id: led_light1
effect: flicker
brightness: 75%
- platform: monochromatic
id: led_light2
restore_mode: RESTORE_DEFAULT_ON
output: led2
name: led_light2
effects:
- flicker:
name: "Flicker"
alpha: 95%
intensity: 1.5%
on_turn_on:
- light.turn_on:
id: led_light2
effect: flicker
brightness: 75%
- platform: monochromatic
id: led_light3
restore_mode: RESTORE_DEFAULT_ON
output: led3
name: led_light3
effects:
- flicker:
name: "Flicker"
alpha: 95%
intensity: 1.5%
on_turn_on:
- light.turn_on:
id: led_light3
effect: flicker
brightness: 75%
output:
- platform: ledc
pin: ${pin_led1}
id: led1
- platform: ledc
pin: ${pin_led2}
id: led2
- platform: ledc
pin: ${pin_led3}
id: led3
#led packages
ledje1: !include
file: templates/LedWithEffects.yaml
vars:
entityID: led_light1
entityName: "led_light1"
pin_led: ${pin_led1}
ledje2: !include
file: templates/LedWithEffects.yaml
vars:
entityID: led_light2
entityName: "led_light2"
pin_led: ${pin_led2}
ledje3: !include
file: templates/LedWithEffects.yaml
vars:
entityID: led_light3
entityName: "led_light2"
pin_led: ${pin_led3}
binary_sensor:
- platform: gpio