From 2ebc92439c06a98c0ec4792a70e595fc5cc4e2be Mon Sep 17 00:00:00 2001 From: Andy Thomas Date: Thu, 7 Mar 2024 13:00:35 +0100 Subject: [PATCH] Lint --- docs/addon_climate.md | 16 +++++++++++++--- docs/error_compiling.md | 5 ++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/docs/addon_climate.md b/docs/addon_climate.md index d353f54..ccaee15 100644 --- a/docs/addon_climate.md +++ b/docs/addon_climate.md @@ -22,7 +22,8 @@ You will need to add the reference to `addon_climate_heat`, `addon_climate_cool` and after the `remote_package` (base code), as shown bellow (for `heat` in this example): > [!NOTE] -> From time to time, there are changes in ESPHome that lead to an added `_2` for the embedded thermostats. If you encounter this issue, please have a look at this [entry](https://community.home-assistant.io/t/esphome-devices-all-renamed-with-2-added/388146) in the Home Assistent Forum. +> From time to time, there are changes in ESPHome that lead to an added `_2` for the embedded thermostats. +> If you encounter this issue, please have a look at this [entry](https://community.home-assistant.io/t/esphome-devices-all-renamed-with-2-added/388146) in the Home Assistent Forum. ```yaml substitutions: @@ -208,7 +209,15 @@ packages: ### Concrete example: (Water) underfloor heating -The NSPanel is particularly nice as a replacement for existing water underfloor heating controllers. They are installed at approximately eye level and (often) supplied by 230V. In my case, the valve is type 'normally closed,' i.e. an open relay corresponds to 'no heating.' I am using relay #1. Please note that this is _not_ a PID controller, but simply on-off. At a certain value, the heating starts and at another value it switches off again. These value were set to `0.3°C` below and `0.1°C` above the setpoint, respectively. It turned out that `0.3`and `0.1` worked well for all off our 4 rooms. The minimum settable value is `15°C`, the maximum `22°C` and the granularity (step size) is `0.1°C`. In addition, I chose to set the default temperature to `21.2°C`. +The NSPanel is particularly nice as a replacement for existing water underfloor heating controllers. +They are installed at approximately eye level and (often) supplied by 230V. +In my case, the valve is type 'normally closed,' i.e. an open relay corresponds to 'no heating.' +I am using relay #1. Please note that this is _not_ a PID controller, but simply on-off. +At a certain value, the heating starts and at another value it switches off again. +These value were set to `0.3°C` below and `0.1°C` above the setpoint, respectively. +It turned out that `0.3`and `0.1` worked well for all off our 4 rooms. +The minimum settable value is `15°C`, the maximum `22°C` and the granularity (step size) is `0.1°C`. +In addition, I chose to set the default temperature to `21.2°C`. ```yaml ##### addon-configuration ##### @@ -229,7 +238,8 @@ climate: mode: "heat" ``` -Please note, that any filter that smoothes the temperature readings (e.g. averaging) is discouraged since it slows the response times of the already slow underwater floor heater. The temperature stability is quite nice which can be seen in the following viewgraph. +Please note, that any filter that smoothes the temperature readings (e.g. averaging) is discouraged since it slows the response times of the already slow underwater floor heater. +The temperature stability is quite nice which can be seen in the following viewgraph. ![temperature vs time](pics/addon_underfloor.png) diff --git a/docs/error_compiling.md b/docs/error_compiling.md index aedbb01..3a544d0 100644 --- a/docs/error_compiling.md +++ b/docs/error_compiling.md @@ -12,7 +12,10 @@ Go to your ESPHome Dashboard, click the 3-dot menu related to your device and th ## Limited resources on ESPHome compiler host ### Free Up Server Resources -1. First, please check the available memory of the ESPHome compiler host. 4GB of memory are recommended if you are installing ESPHome as a Home Assistant add-on. Therefore, a RasPi 4 with 4GB RAM is the minimum if you are using a Raspberry Pi. A manual installation requires at least 2GB of memory and 500MB of swap space or 3GB of memory. With less memory the compiler will crash! +1. First, please check the available memory of the ESPHome compiler host. 4GB of memory are recommended if you are installing ESPHome as a Home Assistant add-on. +Therefore, a RasPi 4 with 4GB RAM is the minimum if you are using a Raspberry Pi. +A manual installation requires at least 2GB of memory and 500MB of swap space or 3GB of memory. +With less memory the compiler will crash! 2. Add the following to your device's YAML to reduce resource usage (this may slow down the compilation process):