Interfaces aquos_v1 - thica/ORCA-Remote GitHub Wiki

aquos_v1

The aquos_v1 interface sends commands to an Sahrp Aquos TV (Non EU Models) by LAN. . This is a bi-directional interface, which means, that the interface can read information. The interface supports several actions/commands, so codesets files are required. The interface does not support discover of of devices by uPnP. THIS INTERFACE HAS NOT BEEN FINISHED AND NEVER BEEN TESTED, DUE TO A LACK OF AVAILABLE TEST DEVICE. SO IT LIKELY DONT WORK!

The following settings are supported by the interface

Setting Description
Host Host-Name or IP-Address of your TV.
Port Port Address of your adb interfaces. Defaults is 4998
FNCodeset Filename of your codeset. Without path
TimeToClose Timeout in seconds, until the connection from the interface to the device will be close.
  • -1 The connection will not be closed
  • 0 The connection will be closed immediately
  • all other, Timeout in seconds
DisableInterFaceOnError Disables the interface, if an error occurs. Prevents the interface to continue to send commands to a broken connection.
DisconnectInterFaceOnSleep Disconnects the interface, when your remote control device goes to sleep

You need to define the codeset filename, which contains the command set for your device

A codeset file could look like that (shortened version):

```xml <codeset> &lt;action name=&quot;power_toggle&quot;&gt; &amp;lt;action type=&amp;quot;alias&amp;quot; cmd=&amp;quot;enablepower&amp;quot;&amp;gt;&amp;lt;/action&amp;gt; &amp;lt;action string=&amp;quot;codeset&amp;quot; name=&amp;quot;power_on&amp;quot; type=&amp;quot;string&amp;quot; cmd=&amp;quot;RCKY12 &amp;quot;&amp;gt;&amp;lt;/action&amp;gt; &lt;/action&gt; &lt;action string=&quot;codeset&quot; name=&quot;left&quot; type=&quot;string&quot; cmd=&quot;RCKY43 &quot;&gt;&lt;/action&gt; &lt;action string=&quot;codeset&quot; name=&quot;right&quot; type=&quot;string&quot; cmd=&quot;RCKY44 &quot;&gt;&lt;/action&gt; &lt;action string=&quot;codeset&quot; name=&quot;up&quot; type=&quot;string&quot; cmd=&quot;RCKY41 &quot;&gt;&lt;/action&gt; &lt;action string=&quot;codeset&quot; name=&quot;down&quot; type=&quot;string&quot; cmd=&quot;RCKY42 &quot;&gt;&lt;/action&gt; </codeset> ```
Attribute Description
action Defines, to which ORCA action the command should be send
getvar This defines, which information will be collected from the json respons., Only the last attribute will be used. If an attribute belongs to a list, only the first list entry is parsed.
ldestvar This defines, which variable should be set by the information parsed by getvar. This variable is local to the interface and local to the configuration
gdestvar This defines, which variable should be set by the information parsed by getvar. This variable is global to all ORCA functions
cmd This is the command to transmit using adb.

Variable replacement: You can use variable placeholder to use variables in your adb command string

var Description
var() Uses a global variable name to be replaced
lvar() Uses a language variable name to be replaced
cvar() Uses a local variable to be replaced

You can have as much actions as you like in your codeset file. You can use the same codeset file for several configurations. You should have a "ping" command in your codeset

⚠️ **GitHub.com Fallback** ⚠️