many changes

This commit is contained in:
2024-11-15 02:30:04 +01:00
parent 1746412a11
commit bd9f1ce260
22 changed files with 412 additions and 170 deletions

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 30%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 30%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: true
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -28,9 +46,6 @@ wifi:
password: !secret wifi_password
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
@@ -40,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 30%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -8,14 +8,32 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on: my_light
# Enable logging
logger:
web_server:
port: 80
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 30%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
# Enable Home Assistant API
api:
@@ -29,8 +47,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
light:
- platform: rgbw
id: my_light
@@ -39,10 +55,6 @@ light:
green: pwm_g
blue: pwm_b
white: pwm_w
effects:
- random:
- strobe:
- flicker:
output:
- platform: esp8266_pwm

View File

@@ -12,12 +12,17 @@ esphome:
then:
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -26,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -12,12 +12,17 @@ esphome:
then:
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -26,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -8,15 +8,21 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -25,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -8,15 +8,21 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -25,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -8,15 +8,21 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -25,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -8,15 +8,21 @@ esphome:
platform: ESP8266
board: esp01_1m
on_boot:
priority: 300
then:
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
red: 0.2
green: 0.1
blue: 0
white: 0.2
color_brightness: 0.2
brightness: 0.2
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
red: 100%
green: 50%
blue: 0%
white: 100%
interval:
- interval: 15s
@@ -25,9 +31,9 @@ interval:
condition:
api.connected: # check if api connected
else:
- light.dim_relative:
- light.turn_on:
id: my_light
relative_brightness: 1
brightness: 100%
# Enable Home Assistant API
api:

View File

@@ -9,13 +9,34 @@ esphome:
board: esp01_1m
on_boot:
then:
- light.turn_on: my_light
- light.turn_on:
id: my_light
- delay: 100ms
- light.turn_on:
id: my_light
brightness: 20%
- delay: 100ms
- light.turn_on:
id: my_light
color_temperature: 2700 K
# Enable logging
logger:
web_server:
port: 80
interval:
- interval: 15s
then:
- if:
condition:
api.connected: # check if api connected
else:
- light.turn_on:
id: my_light
brightness: 100%
- delay: 100ms
- light.turn_on:
id: my_light
color_temperature: 6500 K
# Enable Home Assistant API
api:
@@ -29,8 +50,6 @@ wifi:
fast_connect: True
domain: .cloonar.smart
captive_portal:
output:
- platform: esp8266_pwm
id: warm_white