Reference Definition unraid simple - thica/ORCA-Remote GitHub Wiki
The unraid simple definition has only two function. It can power on or switch off the unraid server (NAS). As it uses Wake On Lan for Power On and Telnet to Power Off it might fit for other devices as well.
The main page in large screen and landscape mode. For more details please have a look in the user description for the definition
This definition has the following capabilities
Capability | Description |
---|---|
Orientation | Landscape and portrait |
Screen Size |
|
Interfaces | wakeonlan and telnet |
This definition uses the following definitionvars:
- "definition_alias_unraid": default value = "UNRAID"
This template defines the following settings:
$dvar(definition_alias_unraid)_INTERFACE_MAIN : The main interface to control the device $dvar(definition_alias_unraid)_CONFIGNAME_MAIN : The main configuration name to control the device $dvar(definition_alias_unraid)_INTERFACE_POWERON : The interface to power on the device $dvar(definition_alias_unraid)_CONFIGNAME_POWERON : The configuration name to control the device
You can import the definition by using the following syntax in your definition.xml
<def_parameter>
<definitionvars>{"definition_alias_unraid":"UNRAID"}</definitionvars>
</def_parameter>
<definitionimports>
<definition
importlanguages ="1"
importpages ="1"
importsettings ="1"
importactions ="1"
definitionvars ='{"definition_activity_template": "$dvar(definition_activity_template)",
"definition_alias_unraid": "$dvar(definition_alias_unraid)"}'>unraid simple</definition>
</definitionimports>
The following elements are defined to use:
Usual there no specific elements of the definition to use (Use the whole definition)
The following pages are defined:
- Page_Device_$dvar(definition_alias_unraid)
The following actions are defined:
- FKT SwitchOn $dvar(definition_alias_unraid)
- FKT SwitchOff $dvar(definition_alias_unraid)
- Add NavigationBar $dvar(definition_alias_unraid)
- FKT WaitForReady_$dvar(definition_alias_unraid) : This is an empty function