Fine tuned values for brightness, dim/bright x-over voltage and alarm states.

This commit is contained in:
Marcus Scholz 2021-09-18 19:37:46 +02:00
parent 5f027414e7
commit 81ad03992e
1 changed files with 9 additions and 9 deletions

View File

@ -117,8 +117,8 @@ sensor:
name: "WiFi Signalstärke"
update_interval: 60s
# SCD30 CO2 + temperature + humidity sensor
# * air quality category 0: LED is purple, sensor needs calibration (<400ppm)
# • air quality category 1: LED is green (400-800ppm)
# * air quality category 0: LED is purple, sensor needs calibration (<380ppm)
# • air quality category 1: LED is green (380-800ppm)
# • air quality category 2: LED is yellow (900-1200ppm)
# • air quality category 3: LED is orange/amber (1200 bis 1600ppm)
# • air quality category 4: LED is red (1600-2000ppm)
@ -129,7 +129,7 @@ sensor:
id: co2_value
accuracy_decimals: 1
on_value_range:
- below: 400
- below: 380
then:
- text_sensor.template.publish:
id: co2_warn
@ -139,7 +139,7 @@ sensor:
red: 75%
green: 0%
blue: 100%
- above: 400
- above: 380
below: 800
then:
- text_sensor.template.publish:
@ -149,7 +149,7 @@ sensor:
id: co2_light
red: 0%
green: 100%
blue: 9%
blue: 0%
- above: 800
below: 1200
then:
@ -233,16 +233,16 @@ sensor:
update_interval: 1s
internal: true
on_value_range:
- below: 0.3
- below: 0.25
then:
light.turn_on:
id: co2_light
brightness: 50%
- above: 0.3
brightness: 30%
- above: 0.4
then:
light.turn_on:
id: co2_light
brightness: 100%
brightness: 60%
# IR Receiver, dumps all received values into serial
remote_receiver: