Difference between revisions of "Remote-control"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="2048:10" name="TV" type="remote-control" sub-type="Samsung"> <remote-signal identifier="...")
 
(Marked this version for translation)
 
(2 intermediate revisions by 2 users not shown)
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>

Latest revision as of 12:48, 26 January 2022

Other languages:
English • ‎русский

Example of description in XML

1<item addr="2048:10" name="TV" type="remote-control" sub-type="Samsung">
2    <remote-signal identifier="signal-power" transmitter-addr="210:12" value="196406...7F09FC"/>
3    <remote-signal identifier="signal-1" transmitter-addr="210:12" value="196406...7F09FC"/>
4    …..
5<remote-signal identifier="signal-ch-down" transmitter-addr="210:12" value="196406...7F09FC"/>
6</item>

Parameters

Name type and variety description default value
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) -
identifier enum remote control button identifier -
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 -
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

  1. 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.
  2. Activate the engineering mode in " Larnitech " app settings.
  3. In the device list find the remote control added from LT Setup and choose "Edit mode".
  4. In the window that appears select the IR-transmitter from which the IR-signals will be sent to the device (TV, DVD, Receiver).
  5. In the window that appears select the IR-receiver (gateway) for reading the IR-signals from the device remote control (TV, DVD, Receiver).
  6. 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.
  7. Set each the button of the device remote control as it is shown in paragraph No.6.