| Line 1: |
Line 1: |
| − | ===Example of description in XML=== | + | <languages/> |
| | + | <translate> |
| | + | ===Example of description in XML=== <!--T:1--> |
| | | | |
| | + | <!--T:2--> |
| | <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| | <item addr="2048:10" name="TV" type="remote-control" sub-type="Samsung"> | | <item addr="2048:10" name="TV" type="remote-control" sub-type="Samsung"> |
| Line 10: |
Line 13: |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | | | |
| − | ===Parameters=== | + | ===Parameters=== <!--T:3--> |
| | | | |
| | + | <!--T:4--> |
| | {|class="wikitable" | | {|class="wikitable" |
| | + | |- |
| | + | |- |
| | !Name!!type and variety!!description!!default value | | !Name!!type and variety!!description!!default value |
| | + | |- |
| | |id||number 2048||ID of the device where this element is located physically (always use 2048)||2048 | | |id||number 2048||ID of the device where this element is located physically (always use 2048)||2048 |
| | + | |- |
| | |sub-type||enum||displayed remote control module (it should be specified in the interface)||- | | |sub-type||enum||displayed remote control module (it should be specified in the interface)||- |
| | + | |- |
| | |identifier||enum||remote control button identifier||- | | |identifier||enum||remote control button identifier||- |
| | + | |- |
| | |transmitter-addr||ADDR||IR signals transmitter address or address of another executor (script, interface etc.)||- | | |transmitter-addr||ADDR||IR signals transmitter address or address of another executor (script, interface etc.)||- |
| | + | |- |
| | |value||HEX||Data sent by IR transmitter when activating the button||- | | |value||HEX||Data sent by IR transmitter when activating the button||- |
| − | ||string-value||String||Data sent to ADDR when activating the button||- | + | |- |
| | + | |string-value||String||Data sent to ADDR when activating the button||- |
| | |} | | |} |
| | | | |
| − | ===In order to add the device IR-console to "Larnitech" application it is required=== | + | ===In order to add the device IR-console to "Larnitech" application it is required=== <!--T:5--> |
| | | | |
| | + | <!--T:6--> |
| | #Add to logic.xml file the device of remote-control type using LT Setup (Add remote control) or choose "Edit mode" in mobile app and press "Create remote" button from main menu. | | #Add to logic.xml file the device of remote-control type using LT Setup (Add remote control) or choose "Edit mode" in mobile app and press "Create remote" button from main menu. |
| | #Activate the engineering mode in " Larnitech " app settings. | | #Activate the engineering mode in " Larnitech " app settings. |
| Line 31: |
Line 44: |
| | #Press the remote control button in "Larnitech" application, the countdown will start during which you are to send the IR-signal to the IR-receiver (gateway). The gateway will capture the signal and the button in "Larnitech" application will be activated. | | #Press the remote control button in "Larnitech" application, the countdown will start during which you are to send the IR-signal to the IR-receiver (gateway). The gateway will capture the signal and the button in "Larnitech" application will be activated. |
| | #Set each the button of the device remote control as it is shown in paragraph No.6. | | #Set each the button of the device remote control as it is shown in paragraph No.6. |
| | + | </translate> |