mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-27 04:13:07 +02:00
Added documentation for Drayton Digistat codec (#2712)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
7d0fbc19fe
commit
53cdf2436b
@ -35,6 +35,7 @@ Configuration variables:
|
|||||||
- **canalsatld**: Decode and dump CanalSatLD infrared codes.
|
- **canalsatld**: Decode and dump CanalSatLD infrared codes.
|
||||||
- **coolix**: Decode and dump Coolix infrared codes.
|
- **coolix**: Decode and dump Coolix infrared codes.
|
||||||
- **dish**: Decode and dump Dish infrared codes.
|
- **dish**: Decode and dump Dish infrared codes.
|
||||||
|
- **drayton**: Decode and dump Drayton Digistat RF codes.
|
||||||
- **jvc**: Decode and dump JVC infrared codes.
|
- **jvc**: Decode and dump JVC infrared codes.
|
||||||
- **lg**: Decode and dump LG infrared codes.
|
- **lg**: Decode and dump LG infrared codes.
|
||||||
- **magiquest**: Decode and dump MagiQuest wand infrared codes.
|
- **magiquest**: Decode and dump MagiQuest wand infrared codes.
|
||||||
@ -91,6 +92,9 @@ Automations:
|
|||||||
dish network remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DishData`
|
dish network remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DishData`
|
||||||
is passed to the automation for use in lambdas.
|
is passed to the automation for use in lambdas.
|
||||||
Beware that Dish remotes use a different carrier frequency (57.6kHz) that many receiver hardware don't decode.
|
Beware that Dish remotes use a different carrier frequency (57.6kHz) that many receiver hardware don't decode.
|
||||||
|
- **on_drayton** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
||||||
|
Drayton Digistat RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DraytonData`
|
||||||
|
is passed to the automation for use in lambdas.
|
||||||
- **on_jvc** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
- **on_jvc** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
|
||||||
JVC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::JVCData`
|
JVC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::JVCData`
|
||||||
is passed to the automation for use in lambdas.
|
is passed to the automation for use in lambdas.
|
||||||
@ -219,6 +223,12 @@ Remote code selection (exactly one of these has to be included):
|
|||||||
- **address** (*Optional*, int): The number of the receiver to target, between 1 and 16 inclusive. Defaults to ``1``.
|
- **address** (*Optional*, int): The number of the receiver to target, between 1 and 16 inclusive. Defaults to ``1``.
|
||||||
- **command** (**Required**, int): The Dish command to listen for, between 0 and 63 inclusive.
|
- **command** (**Required**, int): The Dish command to listen for, between 0 and 63 inclusive.
|
||||||
|
|
||||||
|
- **drayton**: Trigger on a decoded Drayton Digistat RF remote code with the given data.
|
||||||
|
|
||||||
|
- **address** (**Required**, int): The 16-bit ID code to trigger on, see dumper output for more info.
|
||||||
|
- **channel** (**Required**, int): The 7-bit switch/channel to listen for.
|
||||||
|
- **command** (**Required**, int): The 5-bit command to listen for.
|
||||||
|
|
||||||
- **jvc**: Trigger on a decoded JVC remote code with the given data.
|
- **jvc**: Trigger on a decoded JVC remote code with the given data.
|
||||||
|
|
||||||
- **data** (**Required**, int): The JVC code to trigger on, see dumper output for more info.
|
- **data** (**Required**, int): The JVC code to trigger on, see dumper output for more info.
|
||||||
|
@ -192,6 +192,28 @@ Configuration variables:
|
|||||||
|
|
||||||
You can find a list of commands in the `LIRC project <https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/dishnet/Dish_Network.lircd.conf>`__.
|
You can find a list of commands in the `LIRC project <https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/dishnet/Dish_Network.lircd.conf>`__.
|
||||||
|
|
||||||
|
.. _remote_transmitter-transmit_drayton:
|
||||||
|
|
||||||
|
``remote_transmitter.transmit_drayton`` Action
|
||||||
|
**********************************************
|
||||||
|
|
||||||
|
This :ref:`action <config-action>` sends a Draton Digistat RF remote code to a remote transmitter.
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
on_...:
|
||||||
|
- remote_transmitter.transmit_drayton:
|
||||||
|
address: '0x6180'
|
||||||
|
channel: '0x12'
|
||||||
|
command: '0x02'
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **address** (**Required**, int): The 16-bit ID to send, see dumper output for more info.
|
||||||
|
- **channel** (**Required**, int): The switch/channel to send, between 0 and 127 inclusive.
|
||||||
|
- **command** (**Required**, int): The command to send, between 0 and 63 inclusive.
|
||||||
|
- All other options from :ref:`remote_transmitter-transmit_action`.
|
||||||
|
|
||||||
.. _remote_transmitter-transmit_jvc:
|
.. _remote_transmitter-transmit_jvc:
|
||||||
|
|
||||||
``remote_transmitter.transmit_jvc`` Action
|
``remote_transmitter.transmit_jvc`` Action
|
||||||
|
Loading…
Reference in New Issue
Block a user