DF clean-up.

This commit is contained in:
2022-07-03 08:50:48 -07:00
parent d9bbeb1704
commit b410af4ef3
3 changed files with 13 additions and 13 deletions

View File

@@ -5,9 +5,9 @@ substitutions:
friendly_name: Prj 3
duct_fan_pin: GPIO14
duct_fan_name: ${sn} Duct Fan Spd
duct_fan_tgt_spd_in_name: ${sn} Duct Fan Tgt Spd In
duct_fan_tgt_spd_prj_name: ${sn} Duct Fan Tgt Spd Prj
duct_fan_tgt_spd_out_name: ${sn} Duct Fan Tgt Spd Out
duct_fan_tgt_spd_in_name: ${sn} DF Tgt Spd In
duct_fan_tgt_spd_prj_name: ${sn} DF Tgt Spd Prj
duct_fan_tgt_spd_out_name: ${sn} DF Tgt Spd Out
duct_fan_pwmfreq: 5000Hz
duct_fan_off_spd: "0.0"
duct_fan_lo_spd: "1.0"
@@ -42,7 +42,7 @@ globals:
<<: !include .wifi-oss.yaml
esphome:
name: prj3
name: ${dn}
platform: ESP32
board: esp32doit-devkit-v1
on_boot:

View File

@@ -28,16 +28,16 @@ substitutions:
dallas_update_interval: 30s
globals:
- id: duct_fan_off_spd
- id: duct_fan_off_spd_id
type: float
initial_value: ${duct_fan_off_spd}
- id: duct_fan_lo_spd
- id: duct_fan_lo_spd_id
type: float
initial_value: ${duct_fan_lo_spd}
- id: duct_fan_vent_spd
- id: duct_fan_vent_spd_id
type: float
initial_value: ${duct_fan_vent_spd}
- id: duct_fan_hi_spd
- id: duct_fan_hi_spd_id
type: float
initial_value: ${duct_fan_hi_spd}
@@ -143,10 +143,10 @@ number:
lo_temp = id(thermostat_out_id).target_temperature_low;
hi_temp = id(thermostat_out_id).target_temperature_high;
curtemp = id(dallas_out_id).state;
off_spd = id(duct_fan_off_spd);
lo_spd = id(duct_fan_lo_spd);
vent_spd = id(duct_fan_vent_spd);
hi_spd = id(duct_fan_hi_spd);
off_spd = id(duct_fan_off_spd_id);
lo_spd = id(duct_fan_lo_spd_id);
vent_spd = id(duct_fan_vent_spd_id);
hi_spd = id(duct_fan_hi_spd_id);
ESP_LOGD("fan_speed", "DEBUG Ventilate House: %d", id(ventilate_house).state);
ESP_LOGD("fan_speed", "DEBUG Current Temp: %f", curtemp);
ESP_LOGD("fan_speed", "DEBUG Thermostat State: %d", id(thermostat_on_id).state);

View File

@@ -43,7 +43,7 @@ globals:
<<: !include .wifi-oss.yaml
esphome:
name: rack_3
name: ${dn}
platform: ESP32
board: esp32doit-devkit-v1
on_boot: