@@ -1,6 +1,7 @@
|
||||
# Add-on: Climate
|
||||
|
||||
## Description
|
||||
|
||||
This add-on enables the use of your panel's relays to act as a thermostat (either cooler or heater) using the internal temperature sensor and independent of the network availability.
|
||||
|
||||
### Attention
|
||||
@@ -11,44 +12,46 @@ This add-on enables the use of your panel's relays to act as a thermostat (eithe
|
||||
|
||||
2. A target temperature must be set on the climate entity in Home Assistant or the page Climate in your panel.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
You will need to add the reference to `addon_climate_heat`, `addon_climate_cool` or `addon_climate_dual` files on your ESPHome settings in the `package` section and after the `remote_package` (base code), as shown bellow (for `heat` in this example):
|
||||
|
||||
```yaml
|
||||
substitutions:
|
||||
###### CHANGE ME START ######
|
||||
# Settings - Editable values
|
||||
device_name: "YOUR_NSPANEL_NAME"
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
|
||||
nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"
|
||||
nextion_blank_url: "http://homeassistant.local:8123/local/nspanel_blank.tft"
|
||||
|
||||
##### addon-configuration #####
|
||||
## addon_climate ##
|
||||
heater_relay: "1" # possible values: 1/2
|
||||
|
||||
##### CHANGE ME END #####
|
||||
nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"
|
||||
|
||||
# Add-on configuration (if needed)
|
||||
## Add-on climate
|
||||
heater_relay: "1" # Possible values: "1" or "2"
|
||||
|
||||
# Customization area
|
||||
##### My customization - Start #####
|
||||
##### My customization - End #####
|
||||
|
||||
# Core and optional configurations
|
||||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: main
|
||||
files:
|
||||
- nspanel_esphome.yaml # Core package
|
||||
# - nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
|
||||
- nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
|
||||
# - nspanel_esphome_addon_climate_dual.yaml # activate for local climate (dual) control
|
||||
# Optional advanced and add-on configurations
|
||||
# - advanced/esphome/nspanel_esphome_advanced.yaml
|
||||
# - nspanel_esphome_addon_climate_cool.yaml
|
||||
- nspanel_esphome_addon_climate_heat.yaml
|
||||
# - nspanel_esphome_addon_climate_dual.yaml
|
||||
refresh: 300s
|
||||
|
||||
esp32:
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
The following keys are available to be used in your `substitutions`:
|
||||
@@ -70,40 +73,43 @@ temp_step|Optional|Number representing a temperature in the selected unit|`0.5`|
|
||||
- All values must be delimited with `""`
|
||||
- For more details on the keys, please take a look at [ESPHome Base Climate Configurations](https://esphome.io/components/climate/index.html#base-climate-configuration) and [ESPHome Climate Thermostat - Additional actions behavior](https://esphome.io/components/climate/thermostat.html#additional-actions-behavior).
|
||||
|
||||
|
||||
### Examples:
|
||||
### Examples
|
||||
|
||||
#### Cooler:
|
||||
#### Cooler
|
||||
|
||||
```yaml
|
||||
substitutions:
|
||||
###### CHANGE ME START ######
|
||||
# Settings - Editable values
|
||||
device_name: "YOUR_NSPANEL_NAME"
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
|
||||
nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"
|
||||
|
||||
|
||||
##### addon-configuration #####
|
||||
## addon_climate ##
|
||||
cooler_relay: "1" #Use relay 1
|
||||
temp_units: "°F" #Temperatures in Fahrenheit
|
||||
temp_min: "40" #Min supported temperature is 40°F
|
||||
temp_max: "80" #Max supported temperature is 80°F
|
||||
temp_step: "1" #Temperature granularity is 1°F
|
||||
|
||||
##### CHANGE ME END #####
|
||||
# Add-on configuration (if needed)
|
||||
## Add-on climate
|
||||
cooler_relay: "1" # Possible values: "1" or "2"
|
||||
temp_units: "°F" # Temperatures in Fahrenheit
|
||||
temp_min: "40" # Min supported temperature is 40°F
|
||||
temp_max: "80" # Max supported temperature is 80°F
|
||||
temp_step: "1" # Temperature granularity is 1°F
|
||||
|
||||
# Customization area
|
||||
##### My customization - Start #####
|
||||
##### My customization - End #####
|
||||
|
||||
# Core and optional configurations
|
||||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: main
|
||||
files:
|
||||
- nspanel_esphome.yaml # Core package
|
||||
- nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
|
||||
# - nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
|
||||
# - nspanel_esphome_addon_climate_dual.yaml # activate for local climate (dual) control
|
||||
# Optional advanced and add-on configurations
|
||||
# - advanced/esphome/nspanel_esphome_advanced.yaml
|
||||
- nspanel_esphome_addon_climate_cool.yaml
|
||||
# - nspanel_esphome_addon_climate_heat.yaml
|
||||
# - nspanel_esphome_addon_climate_dual.yaml
|
||||
refresh: 300s
|
||||
|
||||
esp32:
|
||||
@@ -111,38 +117,41 @@ esp32:
|
||||
type: esp-idf
|
||||
```
|
||||
|
||||
|
||||
#### Heater:
|
||||
#### Heater
|
||||
|
||||
```yaml
|
||||
substitutions:
|
||||
###### CHANGE ME START ######
|
||||
# Settings - Editable values
|
||||
device_name: "YOUR_NSPANEL_NAME"
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
|
||||
nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"
|
||||
|
||||
|
||||
##### addon-configuration #####
|
||||
## addon_climate ##
|
||||
heater_relay: "1" #Use relay 1
|
||||
temp_units: "°F" #Temperatures in Fahrenheit
|
||||
temp_min: "40" #Min supported temperature is 40°F
|
||||
temp_max: "80" #Max supported temperature is 80°F
|
||||
temp_step: "1" #Temperature granularity is 1°F
|
||||
|
||||
##### CHANGE ME END #####
|
||||
# Add-on configuration (if needed)
|
||||
## Add-on climate
|
||||
heater_relay: "1" # Possible values: "1" or "2"
|
||||
temp_units: "°F" # Temperatures in Fahrenheit
|
||||
temp_min: "40" # Min supported temperature is 40°F
|
||||
temp_max: "80" # Max supported temperature is 80°F
|
||||
temp_step: "1" # Temperature granularity is 1°F
|
||||
|
||||
# Customization area
|
||||
##### My customization - Start #####
|
||||
##### My customization - End #####
|
||||
|
||||
# Core and optional configurations
|
||||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: main
|
||||
files:
|
||||
- nspanel_esphome.yaml # Core package
|
||||
# - nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
|
||||
- nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
|
||||
# Optional advanced and add-on configurations
|
||||
# - advanced/esphome/nspanel_esphome_advanced.yaml
|
||||
# - nspanel_esphome_addon_climate_cool.yaml
|
||||
- nspanel_esphome_addon_climate_heat.yaml
|
||||
# - nspanel_esphome_addon_climate_dual.yaml
|
||||
refresh: 300s
|
||||
|
||||
esp32:
|
||||
@@ -150,3 +159,45 @@ esp32:
|
||||
type: esp-idf
|
||||
```
|
||||
|
||||
#### Dual
|
||||
|
||||
```yaml
|
||||
substitutions:
|
||||
# Settings - Editable values
|
||||
device_name: "YOUR_NSPANEL_NAME"
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
|
||||
nextion_update_url: "http://homeassistant.local:8123/local/nspanel_us.tft"
|
||||
|
||||
# Add-on configuration (if needed)
|
||||
## Add-on climate
|
||||
heater_relay: "1" # Possible values: "1" or "2"
|
||||
cooler_relay: "2" # Possible values: "1" or "2"
|
||||
temp_units: "°F" # Temperatures in Fahrenheit
|
||||
temp_min: "40" # Min supported temperature is 40°F
|
||||
temp_max: "80" # Max supported temperature is 80°F
|
||||
temp_step: "1" # Temperature granularity is 1°F
|
||||
|
||||
# Customization area
|
||||
##### My customization - Start #####
|
||||
##### My customization - End #####
|
||||
|
||||
# Core and optional configurations
|
||||
packages:
|
||||
remote_package:
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: main
|
||||
files:
|
||||
- nspanel_esphome.yaml # Core package
|
||||
# Optional advanced and add-on configurations
|
||||
# - advanced/esphome/nspanel_esphome_advanced.yaml
|
||||
# - nspanel_esphome_addon_climate_cool.yaml
|
||||
# - nspanel_esphome_addon_climate_heat.yaml
|
||||
- nspanel_esphome_addon_climate_dual.yaml
|
||||
refresh: 300s
|
||||
|
||||
esp32:
|
||||
framework:
|
||||
type: esp-idf
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user