From 641bb8319100216eea361119f3349d1d52c72dc3 Mon Sep 17 00:00:00 2001 From: martinfrancois Date: Sat, 18 Mar 2017 00:57:08 +0100 Subject: [PATCH] Update switch.rpi_rf.markdown (#2018) updated to reflect the changes for supporting multiple codes being executed in a row --- source/_components/switch.rpi_rf.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/switch.rpi_rf.markdown b/source/_components/switch.rpi_rf.markdown index 1436601fd34..8a1d9c19b7d 100644 --- a/source/_components/switch.rpi_rf.markdown +++ b/source/_components/switch.rpi_rf.markdown @@ -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).