Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added remote samsung36 protocol docs #904

Merged
merged 2 commits into from
Feb 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions components/remote_receiver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Configuration variables:
- **pioneer**: Decode and dump Pioneer infrared codes.
- **jvc**: Decode and dump JVC infrared codes.
- **samsung**: Decode and dump Samsung infrared codes.
- **samsung36**: Decode and dump Samsung36 infrared codes.
- **sony**: Decode and dump Sony infrared codes.
- **rc_switch**: Decode and dump RCSwitch RF codes.
- **rc5**: Decode and dump RC5 IR codes.
Expand Down Expand Up @@ -80,6 +81,9 @@ Automations:
- **on_samsung** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Samsung remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::SamsungData`
is passed to the automation for use in lambdas.
- **on_samsung36** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Samsung36 remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::Samsung36Data`
is passed to the automation for use in lambdas.
- **on_panasonic** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Panasonic remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::PanasonicData`
is passed to the automation for use in lambdas.
Expand Down Expand Up @@ -153,6 +157,11 @@ Remote code selection (exactly one of these has to be included):

- **data** (**Required**, int): The data to trigger on, see dumper output for more info.

- **samsung36**: Trigger on a decoded Samsung36 remote code with the given data.

- **address** (**Required**, int): The address to trigger on, see dumper output for more info.
- **command** (**Required**, int): The command.

- **panasonic**: Trigger on a decoded Panasonic remote code with the given data.

- **address** (**Required**, int): The address to trigger on, see dumper output for more info.
Expand Down
18 changes: 18 additions & 0 deletions components/remote_transmitter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@ Configuration variables:
- **data** (**Required**, int): The data to send, see dumper output for more details.
- All other options from :ref:`remote_transmitter-transmit_action`.

``remote_transmitter.transmit_samsung36`` Action
************************************************

This :ref:`action <config-action>` sends a Samsung36 infrared remote code to a remote transmitter.

.. code-block:: yaml

on_...:
- remote_transmitter.transmit_samsung36:
address: 0x0400
command: 0x000E00FF

Configuration variables:

- **address** (**Required**, int): The address to send, see dumper output for more details.
- **command** (**Required**, int): The Samsung36 command to send, see dumper output for more details.
- All other options from :ref:`remote_transmitter-transmit_action`.

``remote_transmitter.transmit_panasonic`` Action
************************************************

Expand Down