Rflink: added support for lights with toggle type (#2284)

* Update switch.rpi_rf.markdown

updated to reflect the changes for supporting multiple codes being executed in a row

* added toggle type and fire_event fix for typo

removed additional incorrect underscore from fire_event

* removed one more instance of fire_event with additional underscore
This commit is contained in:
martinfrancois 2017-03-19 11:49:54 +01:00 committed by Fredrik Lindqvist
parent 14ecb68bae
commit 7f66e700c2
2 changed files with 8 additions and 7 deletions

View file

@ -35,8 +35,8 @@ switch:
code_off: 133742
living_room_light:
protocol: 5
code_on: 654321
code_off: 654320
code_on: 654321,565874,233555,149874
code_off: 654320,565873,233554,149873
signal_repetitions: 15
```
@ -45,8 +45,8 @@ Configuration variables:
- **gpio** (*Required*): GPIO to which the data line of the TX module is connected.
- **switches:** (*Required*): The array that contains all switches.
- **[entry]** (*Required*): Name of the switch. Multiple entries are possible.
- **code_on** (*Required*): Decimal code to switch the device on.
- **code_off** (*Required*): Decimal code to switch the device off.
- **code_on** (*Required*): Decimal code(s) to switch the device on. To run multiple codes in a sequence, separate the individual codes with commas ','.
- **code_off** (*Required*): Decimal code(s) to switch the device off. To run multiple codes in a sequence, separate the individual codes with commas ','.
- **protocol** (*Optional*): RF Protocol (Default is `1`).
- **pulselength** (*Optional*): Pulselength (Default is the protocol default).
- **signal_repetitions** (*Optional*): Number of times to repeat transmission (default is 10, can increase to try to improve reliability).