Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Miklos Szanyi committed Nov 21, 2020
1 parent d199ec5 commit fd8174b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ sensor:
room_temp:
value_template: "{{ states.input_number.room_temp.state | int | round(1) }}"
entity_id: input_number.room_temp
floor_temp:
value_template: "{{ states.input_number.room_floor_temp.state | int | round(1) }}"
entity_id: input_number.room_floor_temp

switch:
- platform: template
Expand Down Expand Up @@ -87,11 +90,13 @@ climate:
- input_boolean.window_open
- input_boolean.window_open2
target_sensor: sensor.room_temp
floor_sensor: sensor.floor_temp
min_temp: 15
max_temp: 28
target_temp: 23
target_temp_high: 26
target_temp_low: 23
max_floor_temp: 28
cold_tolerance: 0.3
hot_tolerance: 0
min_cycle_duration:
Expand All @@ -106,6 +111,7 @@ climate:
name: Heat Room
heater: switch.heater
target_sensor: sensor.room_temp
floor_sensor: sensor.floor_temp
openings:
- input_boolean.window_open
- input_boolean.window_open2
Expand Down
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@

The `dual_smart_thermostat` is an enhaced verion of generic thermostat implemented in Home Assistant. It uses several sensors and dedicated switches connected to a heater and air conditioning under the hood. When in heater-cooler mode, if the measured temperature is cooler than the target low `target_temp_low` temperature, the heater will be turned on off when the required low temperature is reached, if the measured temperature is hotter than the target high temperature, the cooling (air conditioning) will be turned on and turned off when the required high `target_temp_high` temperature is reached. When in heater mode, if the measured temperature is cooler than the target temperature, the heater will be turned on and turned off when the required temperature is reached. When in cooling mode, if the measured temperature is hotter than the target temperature, the coooler (air conditioning) will be turned on and turned off when required high temperature is reached.

## Openings

The `dual_smart_thermostat` can turn off heating or cooling if a window or door is opened and turn heating or cooling back on when the door or window is closed to save energy.
The `openings` configuration variable accepts a list of openings.

## Floor heating temperature cap

The `dual_smart_thermostat` can turn off if the floor heating reaches tha maximum allowed temperature you define in order to protect the floor from overheating and damage.
To enable this protection you need to set two variables:
```yaml
floor_sensor: sensor.floor_temp
max_floor_temp: 28
```
## Configuration
```yaml
# Example configuration.yaml entry
climate:
Expand Down Expand Up @@ -37,6 +53,10 @@ climate:

    _(required) (string)_ "`entity_id` for a temperature sensor, target_sensor.state must be temperature."

### floor_sensor

    _(optional) (string)_ "`entity_id` for the foor temperature sensor, floor_sensor.state must be temperature."

### openings
    _(optional) (list)_ "list of opening `entity_id`'s for detecting open widows or doors that will idle the termostat until any of them are open"

Expand All @@ -52,6 +72,12 @@ climate:

    _default: 35_

### max_floor_temp

    _(optional) (float)_

    _default: 28_

### target_temp

    _(optional) (float)_ Set initial target temperature. Failure to set this variable will result in target temperature being set to null on startup.
Expand Down Expand Up @@ -117,6 +143,8 @@ climate:
heater: switch.study_heater
cooler: switch.study_cooler
target_sensor: sensor.study_temperature
floor_sensor: sensor.floor_temp
max_floor_temp: 28
openings:
- sensor.window1
- sensor.window2
Expand Down

0 comments on commit fd8174b

Please sign in to comment.