Interfaces aquos_v1 - thica/ORCA-Remote GitHub Wiki
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.
|
| 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):
| 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