From 2bdb8a781b025fb76ce14ce6e625d8cef74a9c8b Mon Sep 17 00:00:00 2001 From: Illia Khovanskyi Date: Fri, 26 Jul 2024 15:20:01 +0200 Subject: [PATCH 1/5] Added Electrolux AC into supported list (#3873) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: H. Árkosi Róbert --- components/climate/climate_ir.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/climate/climate_ir.rst b/components/climate/climate_ir.rst index 8cf167f22..653688120 100644 --- a/components/climate/climate_ir.rst +++ b/components/climate/climate_ir.rst @@ -48,7 +48,7 @@ submit a feature request (see FAQ). +---------------------------------------+---------------------+----------------------+ | Noblex | ``noblex`` | yes | +---------------------------------------+---------------------+----------------------+ -| TCL112, Fuego | ``tcl112`` | yes | +| Electrolux, TCL, Fuego | ``tcl112`` | yes | +---------------------------------------+---------------------+----------------------+ | :ref:`Toshiba` | ``toshiba`` | yes | +---------------------------------------+---------------------+----------------------+ From 15032c2892f09771f8b802024e1b91ef094983a6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 30 Jul 2024 15:58:32 +0200 Subject: [PATCH 2/5] Fix example YAML for Haier climate component (#4096) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix example YAML for Haier climate component The valid value is `hon` and not `h0n`. Did same PR for source component https://github.com/paveldn/haier-esphome/pull/48 * Update haier.rst - Consequently replace `h0n` with `hon` in all the examples - Put values in text fields to conform docs site styling --------- Co-authored-by: H. Árkosi Róbert --- components/climate/haier.rst | 60 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/components/climate/haier.rst b/components/climate/haier.rst index 8849a406f..c14b14c6c 100644 --- a/components/climate/haier.rst +++ b/components/climate/haier.rst @@ -61,7 +61,7 @@ This component requires a :ref:`uart` to be setup. climate: - platform: haier id: haier_ac - protocol: hOn + protocol: hon name: Haier AC uart_id: ac_port wifi_signal: true @@ -113,23 +113,23 @@ Configuration variables: - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - **uart_id** (*Optional*, :ref:`config-id`): ID of the UART port to communicate with AC. -- **protocol** (*Optional*, string): Defines communication protocol with AC. Possible values: hon or smartair2. The default value is smartair2. +- **protocol** (*Optional*, string): Defines communication protocol with AC. Possible values: ``hon`` or ``smartair2``. The default value is ``smartair2``. - **name** (**Required**, string): The name of the climate device. -- **wifi_signal** (*Optional*, boolean): If true - send wifi signal level to AC. -- **answer_timeout** (*Optional*, :ref:`config-time`): Responce timeout. The default value is 200ms. -- **alternative_swing_control** (*Optional*, boolean): (supported by smartAir2 only) If true - use alternative values to control swing mode. Use only if the original control method is not working for your AC. -- **status_message_header_size** (*Optional*, int): (supported only by hOn) Define the header size of the status message. Can be used to handle some protocol variations. Use only if you are sure what you are doing. The default value: 0. -- **control_packet_size** (*Optional*, int): (supported only by hOn) Define the size of the control packet. Can help with some newer models of ACs that use bigger packets. The default value: 10. -- **sensors_packet_size** (*Optional*, int): (supported only by hOn) Define the size of the sensor packet of the status message. Can help with some models of ACs that have bigger sensor packet. The default value: 22, minimum value: 18. -- **control_method** (*Optional*, list): (supported only by hOn) Defines control method (should be supported by AC). Supported values: MONITOR_ONLY - no control, just monitor status, SET_GROUP_PARAMETERS - set all AC parameters with one command (default method), SET_SINGLE_PARAMETER - set each parameter individually (this method is supported by some new ceiling ACs like AD71S2SM3FA) +- **wifi_signal** (*Optional*, boolean): If ``true`` - send wifi signal level to AC. +- **answer_timeout** (*Optional*, :ref:`config-time`): Responce timeout. The default value is ``200ms``. +- **alternative_swing_control** (*Optional*, boolean): (supported by smartAir2 only) If ``true`` - use alternative values to control swing mode. Use only if the original control method is not working for your AC. +- **status_message_header_size** (*Optional*, int): (supported only by hOn) Define the header size of the status message. Can be used to handle some protocol variations. Use only if you are sure what you are doing. The default value: ``0``. +- **control_packet_size** (*Optional*, int): (supported only by hOn) Define the size of the control packet. Can help with some newer models of ACs that use bigger packets. The default value: ``10``. +- **sensors_packet_size** (*Optional*, int): (supported only by hOn) Define the size of the sensor packet of the status message. Can help with some models of ACs that have bigger sensor packet. The default value: ``22``, minimum value: ``18``. +- **control_method** (*Optional*, list): (supported only by hOn) Defines control method (should be supported by AC). Supported values: ``MONITOR_ONLY`` - no control, just monitor status, ``SET_GROUP_PARAMETERS`` - set all AC parameters with one command (default method), ``SET_SINGLE_PARAMETER`` - set each parameter individually (this method is supported by some new ceiling ACs like AD71S2SM3FA) - **display** (*Optional*, boolean): Can be used to set the AC display off. - **beeper** (*Optional*, boolean): Can be used to disable beeping on commands from AC. Supported only by hOn protocol. -- **supported_modes** (*Optional*, list): Can be used to disable some of AC modes. Possible values: 'OFF', HEAT_COOL, COOL, HEAT, DRY, FAN_ONLY -- **supported_swing_modes** (*Optional*, list): Can be used to disable some swing modes if your AC does not support it. Possible values: 'OFF', VERTICAL, HORIZONTAL, BOTH -- **supported_presets** (*Optional*, list): Can be used to disable some presets. Possible values for smartair2 are: AWAY, BOOST, COMFORT. Possible values for hOn are: AWAY, ECO, BOOST, SLEEP. AWAY preset can be enabled only in HEAT mode, it is disabled by default -- **on_alarm_start** (*Optional*, :ref:`Automation `): (supported only by hOn) Automation to perform when AC activates a new alarm. See :ref:`haier-on_alarm_start` -- **on_alarm_end** (*Optional*, :ref:`Automation `): (supported only by hOn) Automation to perform when AC deactivates a new alarm. See :ref:`haier-on_alarm_end` -- **on_status_message** (*Optional*, :ref:`Automation `): Automation to perform when status message received from AC. See :ref:`haier-on_status_message` +- **supported_modes** (*Optional*, list): Can be used to disable some of AC modes. Possible values: ``'OFF'``, ``HEAT_COOL``, ``COOL``, ``HEAT``, ``DRY``, ``FAN_ONLY``. +- **supported_swing_modes** (*Optional*, list): Can be used to disable some swing modes if your AC does not support it. Possible values: ``'OFF'``, ``VERTICAL``, ``HORIZONTAL``, ``BOTH``. +- **supported_presets** (*Optional*, list): Can be used to disable some presets. Possible values for smartair2 are: ``AWAY``, ``BOOST``, ``COMFORT``. Possible values for hOn are: ``AWAY``, ``ECO``, ``BOOST``, ``SLEEP``. ``AWAY`` preset can be enabled only in ``HEAT`` mode, it is disabled by default. +- **on_alarm_start** (*Optional*, :ref:`Automation `): (supported only by hOn) Automation to perform when AC activates a new alarm. See :ref:`haier-on_alarm_start`. +- **on_alarm_end** (*Optional*, :ref:`Automation `): (supported only by hOn) Automation to perform when AC deactivates a new alarm. See :ref:`haier-on_alarm_end`. +- **on_status_message** (*Optional*, :ref:`Automation `): Automation to perform when status message received from AC. See :ref:`haier-on_status_message`. - All other options from :ref:`Climate `. Automations @@ -140,12 +140,12 @@ Automations ``on_alarm_start`` Trigger ************************** -This automation will be triggered when a new alarm is activated by AC. The error code of the alarm will be given in the variable ``code`` (``uint8_t``), error message in the variable ``message`` (``const char *``). Those variables can be used in :ref:`lambdas ` +This automation will be triggered when a new alarm is activated by AC. The error code of the alarm will be given in the variable ``code`` (``uint8_t``), error message in the variable ``message`` (``const char *``). Those variables can be used in :ref:`lambdas `. .. code-block:: yaml climate: - - protocol: hOn + - protocol: hon on_alarm_start: then: - logger.log: @@ -158,12 +158,12 @@ This automation will be triggered when a new alarm is activated by AC. The error ``on_alarm_end`` Trigger ************************ -This automation will be triggered when a previously activated alarm is deactivated by AC. The error code of the alarm will be given in the variable ``code`` (``uint8_t``), error message in the variable ``message`` (``const char *``). Those variables can be used in :ref:`lambdas ` +This automation will be triggered when a previously activated alarm is deactivated by AC. The error code of the alarm will be given in the variable ``code`` (``uint8_t``), error message in the variable ``message`` (``const char *``). Those variables can be used in :ref:`lambdas `. .. code-block:: yaml climate: - - protocol: hOn + - protocol: hon on_alarm_end: then: - logger.log: @@ -176,13 +176,13 @@ This automation will be triggered when a previously activated alarm is deactivat ``on_status_message`` Trigger ***************************** -This automation will be triggered when component receives new status packet from AC. Raw message binary (without header and checksum) will be provided in the variable ``data`` (``const char *``), message length in the variable ``data_size`` (``uint8_t``). Those variables can be used in :ref:`lambdas ` +This automation will be triggered when component receives new status packet from AC. Raw message binary (without header and checksum) will be provided in the variable ``data`` (``const char *``), message length in the variable ``data_size`` (``uint8_t``). Those variables can be used in :ref:`lambdas `. This trigger can be used to support some features that unique for the model and not supported by others. .. code-block:: yaml climate: - - protocol: hOn + - protocol: hon on_status_message: then: - logger.log: @@ -226,7 +226,7 @@ This action toggles AC power ``climate.haier.display_on`` Action *********************************** -This action turns the AC display on +This action turns the AC display on. .. code-block:: yaml @@ -237,7 +237,7 @@ This action turns the AC display on ``climate.haier.display_off`` Action ************************************ -This action turns the AC display off +This action turns the AC display off. .. code-block:: yaml @@ -248,7 +248,7 @@ This action turns the AC display off ``climate.haier.health_on`` Action ********************************** -Turn on health mode (`UV light sterilization `__) +Turn on health mode (`UV light sterilization `__). .. code-block:: yaml @@ -259,7 +259,7 @@ Turn on health mode (`UV light sterilization `__ +(supported only by hOn) Start `self-cleaning `__. .. code-block:: yaml @@ -329,7 +329,7 @@ Turn off health mode ``climate.haier.start_steri_cleaning`` Action ********************************************* -(supported only by hOn) Start 56°C steri-cleaning +(supported only by hOn) Start 56°C steri-cleaning. .. code-block:: yaml From 2f4c7279bd277816eddd5f188d0737d21209779d Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Tue, 30 Jul 2024 15:56:25 -0700 Subject: [PATCH 3/5] fix pipsolar example (#4087) --- components/pipsolar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pipsolar.rst b/components/pipsolar.rst index 89b63d2f6..466be5ab3 100644 --- a/components/pipsolar.rst +++ b/components/pipsolar.rst @@ -320,7 +320,7 @@ target level of the output. then: - output.pipsolar.set_level: id: my_pipsolar_output - level: 48.0 + value: 48.0 Configuration options: From 4a47ef5aae86fd52992c6ecd5a62042318b510f5 Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Tue, 30 Jul 2024 15:56:40 -0700 Subject: [PATCH 4/5] fix SMS example (#4094) --- components/sim800l.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sim800l.rst b/components/sim800l.rst index 4babcb9e6..1f993dc37 100644 --- a/components/sim800l.rst +++ b/components/sim800l.rst @@ -340,7 +340,7 @@ Relay management commands received from an authorized sender: sim800l: on_sms_received: - lambda: |- - if ( (id(sms_sender).state == "+79991234567") && ( (id(sms_message).state == "relay_1_on") OR (id(sms_message).state == "Relay_1_on") ) ) { + if ( (id(sms_sender).state == "+79991234567") && ( (id(sms_message).state == "relay_1_on") || (id(sms_message).state == "Relay_1_on") ) ) { id(relay_1).turn_on(); } switch: From cc923164b3bfbb26a38ec3732d912a9a48d2e15e Mon Sep 17 00:00:00 2001 From: Chris Nesbitt-Smith Date: Wed, 31 Jul 2024 03:03:30 +0100 Subject: [PATCH 5/5] add chrisns/childrens-clock to diy.rst (#3892) Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> --- guides/diy.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/diy.rst b/guides/diy.rst index 07c1311d4..9611c994d 100644 --- a/guides/diy.rst +++ b/guides/diy.rst @@ -59,6 +59,7 @@ Blog Posts & Videos - `Automated Coffee Bean Roaster `__ by `brooksben11 `__ - `Droplet Smart Irrigation System `__ by `PricelessToolkit `__ - `Garage door opener controller for devices with optical encoder `__ by :ghuser:`serg987` +- `An IoT clock designed for children `__ by :ghuser:`chrisns` Custom Components & Code ------------------------