Skip to content

Commit 59bb74f

Browse files
committed
remote_base: dyson decoder added
1 parent 9a03af3 commit 59bb74f

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

all_automations.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@
287287
"remote_transmitter.transmit_dish",
288288
"remote_transmitter.transmit_dooya",
289289
"remote_transmitter.transmit_drayton",
290+
"remote_transmitter.transmit_dyson",
290291
"remote_transmitter.transmit_haier",
291292
"remote_transmitter.transmit_jvc",
292293
"remote_transmitter.transmit_keeloq",

components/remote_receiver.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Configuration variables:
4444
- **dish**: Decode and dump Dish infrared codes.
4545
- **dooya**: Decode and dump Dooya RF codes.
4646
- **drayton**: Decode and dump Drayton Digistat RF codes.
47+
- **dyson**: Decode and dump Dyson Cool AM7 tower fan codes.
4748
- **jvc**: Decode and dump JVC infrared codes.
4849
- **gobox**: Decode and dump Go-Box infrared codes.
4950
- **keeloq**: Decode and dump KeeLoq RF codes.
@@ -154,6 +155,9 @@ Automations:
154155
- **on_drayton** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
155156
Drayton Digistat RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DraytonData`
156157
is passed to the automation for use in lambdas.
158+
- **on_dyson** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
159+
Dyson cool AM07 code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DysonData`
160+
is passed to the automation for use in lambdas.
157161
- **on_gobox** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
158162
Go-Box remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::GoboxData`
159163
is passed to the automation for use in lambdas.
@@ -367,6 +371,11 @@ Remote code selection (exactly one of these has to be included):
367371
- **channel** (**Required**, int): The 7-bit switch/channel to listen for.
368372
- **command** (**Required**, int): The 5-bit command to listen for.
369373

374+
- **dyson**: Trigger on a decoded dyson cool AM07 infrared remote code with the given data.
375+
376+
- **code** (**Required**, int): The 16-bit code to trigger on, e.g. 0x1200=power, 0x1215=fan++,0x122a=swing..., see dumper output for more info.
377+
- **index** (**Required**, int): The 8-bit rolling index [0..3], to be increased with every transmit, see dumper output for more info.
378+
370379
- **gobox**: Trigger on a decoded Go-Box remote code with the given data.
371380

372381
- **code** (**Required**, int): The Go-Box code to trigger on, see dumper output for more info.

components/remote_transmitter.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ companies.
193193
.. _remote_transmitter-transmit_beo4:
194194

195195
``remote_transmitter.transmit_beo4`` **Action**
196+
***********************************************
196197

197198
This :ref:`action <config-action>` sends a B&O Beo4 infrared protocol code to a remote transmitter.
198199

@@ -377,9 +378,30 @@ Configuration variables:
377378
- **command** (**Required**, int): The command to send, between 0 and 63 inclusive.
378379
- All other options from :ref:`remote_transmitter-transmit_action`.
379380

381+
.. _remote_transmitter-transmit_dyson:
382+
383+
``remote_transmitter.transmit_dyson`` **Action**
384+
************************************************
385+
386+
This :ref:`action <config-action>` sends a Dyson cool AM07 infrared protocol code to a remote transmitter.
387+
388+
.. code-block:: yaml
389+
390+
on_...:
391+
- remote_transmitter.transmit_dyson:
392+
code: '0x1200'
393+
index: '0'
394+
395+
Configuration variables:
396+
397+
- **code** (**Required**, int): The 16-bit code to trigger on, e.g. 0x1200=power, 0x1215=fan++,0x122a=swing..., see dumper output for more info.
398+
- **index** (**Required**, int): The 8-bit rolling index [0..3], to be increased with every transmit, see dumper output for more info.
399+
- All other options from :ref:`remote_transmitter-transmit_action`.
400+
380401
.. _remote_transmitter-transmit_gobox:
381402

382403
``remote_transmitter.transmit_gobox`` **Action**
404+
************************************************
383405

384406
This :ref:`action <config-action>` sends a command to a Go-Box via the IR transmitter.
385407

0 commit comments

Comments
 (0)