DF clean-up.
This commit is contained in:
@@ -5,9 +5,9 @@ substitutions:
|
|||||||
friendly_name: Prj 3
|
friendly_name: Prj 3
|
||||||
duct_fan_pin: GPIO14
|
duct_fan_pin: GPIO14
|
||||||
duct_fan_name: ${sn} Duct Fan Spd
|
duct_fan_name: ${sn} Duct Fan Spd
|
||||||
duct_fan_tgt_spd_in_name: ${sn} Duct Fan Tgt Spd In
|
duct_fan_tgt_spd_in_name: ${sn} DF Tgt Spd In
|
||||||
duct_fan_tgt_spd_prj_name: ${sn} Duct Fan Tgt Spd Prj
|
duct_fan_tgt_spd_prj_name: ${sn} DF Tgt Spd Prj
|
||||||
duct_fan_tgt_spd_out_name: ${sn} Duct Fan Tgt Spd Out
|
duct_fan_tgt_spd_out_name: ${sn} DF Tgt Spd Out
|
||||||
duct_fan_pwmfreq: 5000Hz
|
duct_fan_pwmfreq: 5000Hz
|
||||||
duct_fan_off_spd: "0.0"
|
duct_fan_off_spd: "0.0"
|
||||||
duct_fan_lo_spd: "1.0"
|
duct_fan_lo_spd: "1.0"
|
||||||
@@ -42,7 +42,7 @@ globals:
|
|||||||
<<: !include .wifi-oss.yaml
|
<<: !include .wifi-oss.yaml
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: prj3
|
name: ${dn}
|
||||||
platform: ESP32
|
platform: ESP32
|
||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
on_boot:
|
on_boot:
|
||||||
|
|||||||
@@ -28,16 +28,16 @@ substitutions:
|
|||||||
dallas_update_interval: 30s
|
dallas_update_interval: 30s
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
- id: duct_fan_off_spd
|
- id: duct_fan_off_spd_id
|
||||||
type: float
|
type: float
|
||||||
initial_value: ${duct_fan_off_spd}
|
initial_value: ${duct_fan_off_spd}
|
||||||
- id: duct_fan_lo_spd
|
- id: duct_fan_lo_spd_id
|
||||||
type: float
|
type: float
|
||||||
initial_value: ${duct_fan_lo_spd}
|
initial_value: ${duct_fan_lo_spd}
|
||||||
- id: duct_fan_vent_spd
|
- id: duct_fan_vent_spd_id
|
||||||
type: float
|
type: float
|
||||||
initial_value: ${duct_fan_vent_spd}
|
initial_value: ${duct_fan_vent_spd}
|
||||||
- id: duct_fan_hi_spd
|
- id: duct_fan_hi_spd_id
|
||||||
type: float
|
type: float
|
||||||
initial_value: ${duct_fan_hi_spd}
|
initial_value: ${duct_fan_hi_spd}
|
||||||
|
|
||||||
@@ -143,10 +143,10 @@ number:
|
|||||||
lo_temp = id(thermostat_out_id).target_temperature_low;
|
lo_temp = id(thermostat_out_id).target_temperature_low;
|
||||||
hi_temp = id(thermostat_out_id).target_temperature_high;
|
hi_temp = id(thermostat_out_id).target_temperature_high;
|
||||||
curtemp = id(dallas_out_id).state;
|
curtemp = id(dallas_out_id).state;
|
||||||
off_spd = id(duct_fan_off_spd);
|
off_spd = id(duct_fan_off_spd_id);
|
||||||
lo_spd = id(duct_fan_lo_spd);
|
lo_spd = id(duct_fan_lo_spd_id);
|
||||||
vent_spd = id(duct_fan_vent_spd);
|
vent_spd = id(duct_fan_vent_spd_id);
|
||||||
hi_spd = id(duct_fan_hi_spd);
|
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 Ventilate House: %d", id(ventilate_house).state);
|
||||||
ESP_LOGD("fan_speed", "DEBUG Current Temp: %f", curtemp);
|
ESP_LOGD("fan_speed", "DEBUG Current Temp: %f", curtemp);
|
||||||
ESP_LOGD("fan_speed", "DEBUG Thermostat State: %d", id(thermostat_on_id).state);
|
ESP_LOGD("fan_speed", "DEBUG Thermostat State: %d", id(thermostat_on_id).state);
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ globals:
|
|||||||
<<: !include .wifi-oss.yaml
|
<<: !include .wifi-oss.yaml
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: rack_3
|
name: ${dn}
|
||||||
platform: ESP32
|
platform: ESP32
|
||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
on_boot:
|
on_boot:
|
||||||
|
|||||||
Reference in New Issue
Block a user