Coolix IR protocol improvements (#3071)

* coolix changes

* remove templateable
This commit is contained in:
Sergey Dudanov 2023-07-23 00:16:06 +04:00 committed by GitHub
parent 80a00046ab
commit 87854b1e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -213,9 +213,12 @@ Remote code selection (exactly one of these has to be included):
- **address** (*Optional*, int): The address (or subdevice) to trigger on, see dumper output for more info. Defaults to ``0``
- **command** (**Required**, int): The command to listen for.
- **coolix**: Trigger on a decoded Coolix remote code with the given data.
- **coolix**: Trigger on a decoded Coolix remote code with the given data. It is possible to directly specify a 24-bit code,
it will be checked for a match to at least one of the two received packets. The main configuration scheme is below.
- **data** (**Required**, int): The 24-bit Coolix code to trigger on, see dumper output for more info.
- **first** (**Required**, uint32_t): The first 24-bit Coolix code to trigger on, see dumper output for more info.
- **second** (**Optional**, uint32_t): The second 24-bit Coolix code to trigger on, see dumper output for more info.
If not set, trigger on on only single non-strict packet, specified by the ``first`` parameter.
- **dish**: Trigger on a decoded Dish Network remote code with the given data.
Beware that Dish remotes use a different carrier frequency (57.6kHz) that many receiver hardware don't decode.

View File

@ -158,17 +158,19 @@ Configuration variables:
``remote_transmitter.transmit_coolix`` Action
*********************************************
This :ref:`action <config-action>` sends a 24-bit Coolix infrared remote code to a remote transmitter.
This :ref:`action <config-action>` sends one or two (stricted or not) 24-bit Coolix infrared remote codes to a remote transmitter.
.. code-block:: yaml
on_...:
- remote_transmitter.transmit_coolix:
data: 0xB23FE4
first: 0xB23FE4
second: 0xB23FE4
Configuration variables:
- **data** (**Required**, int): The Coolix code to send, see dumper output for more info.
- **first** (**Required**, :ref:`templatable <config-templatable>`, uint32_t): The first 24-bit Coolix code to send, see dumper output for more info.
- **second** (**Optional**, :ref:`templatable <config-templatable>`, uint32_t): The second 24-bit Coolix code to send, see dumper output for more info.
.. _remote_transmitter-transmit_dish: