Correctly set voltage thresholds
According to 5528 scale and ESP32 ADC attenuation.
This commit is contained in:
+6
-2
@@ -74,6 +74,8 @@ sensor:
|
|||||||
pin: GPIO32
|
pin: GPIO32
|
||||||
update_interval: 1s
|
update_interval: 1s
|
||||||
id: furnace_led_brightness
|
id: furnace_led_brightness
|
||||||
|
attenuation: auto
|
||||||
|
# Make voltage value available in UI for debugging and history.
|
||||||
name: "Furnace LED brightness"
|
name: "Furnace LED brightness"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
disabled_by_default: true
|
disabled_by_default: true
|
||||||
@@ -82,6 +84,8 @@ sensor:
|
|||||||
pin: GPIO33
|
pin: GPIO33
|
||||||
update_interval: 1s
|
update_interval: 1s
|
||||||
id: heating_led_brightness
|
id: heating_led_brightness
|
||||||
|
attenuation: auto
|
||||||
|
# Make voltage value available in UI for debugging and history.
|
||||||
name: "Floor heating LED brightness"
|
name: "Floor heating LED brightness"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
disabled_by_default: true
|
disabled_by_default: true
|
||||||
@@ -91,7 +95,7 @@ binary_sensor:
|
|||||||
id: furnace_burning
|
id: furnace_burning
|
||||||
name: "Furnace burning"
|
name: "Furnace burning"
|
||||||
sensor_id: furnace_led_brightness
|
sensor_id: furnace_led_brightness
|
||||||
threshold: 0.7
|
threshold: 1.8
|
||||||
filters:
|
filters:
|
||||||
- invert:
|
- invert:
|
||||||
|
|
||||||
@@ -99,7 +103,7 @@ binary_sensor:
|
|||||||
id: heating_enabled
|
id: heating_enabled
|
||||||
name: "Floor heating active"
|
name: "Floor heating active"
|
||||||
sensor_id: heating_led_brightness
|
sensor_id: heating_led_brightness
|
||||||
threshold: 0.7
|
threshold: 1.8
|
||||||
filters:
|
filters:
|
||||||
- invert:
|
- invert:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user