Update switch.rpi_rf.markdown (#2018)

updated to reflect the changes for supporting multiple codes being executed in a row
This commit is contained in:
martinfrancois 2017-03-18 00:57:08 +01:00 committed by Paulus Schoutsen
parent 6ee5f72b21
commit 641bb83191

View File

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