forked from amg0/ALTUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
I_ALTUI.xml
71 lines (71 loc) · 1.97 KB
/
I_ALTUI.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0"?>
<implementation>
<functions>
</functions>
<files>L_ALTUI.lua</files>
<startup>initstatus</startup>
<actionList>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>SetDebug</name>
<run>
setDebugMode(lul_device,lul_settings.newDebugMode)
</run>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>EnableWorkflows</name>
<job>
enableWorkflows(lul_device,lul_settings.newWorkflowMode)
return 4,0
</job>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>ResetWorkflow</name>
<job>
resetWorkflow(lul_device,lul_settings.workflowAltuiid)
return 4,0
</job>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>TriggerTransition</name>
<job>
triggerTransition(lul_device,lul_settings.workflowAltuiid,lul_settings.transitionId)
return 4,0
</job>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>RegisterPlugin</name>
<job>
UPNPregisterPlugin(lul_device,lul_settings.newDeviceType,lul_settings.newScriptFile,lul_settings.newDeviceDrawFunc,lul_settings.newStyleFunc,lul_settings.newDeviceIconFunc,lul_settings.newControlPanelFunc,lul_settings.newFavoriteFunc)
return 4,0
</job>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>RegisterDataProvider</name>
<job>
UPNPregisterDataProvider(lul_device, lul_settings.newName, lul_settings.newUrl, lul_settings.newJsonParameters)
return 4,0
</job>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>Reset</name>
<run>
return resetDevice(lul_device,true)
</run>
</action>
<action>
<serviceId>urn:upnp-org:serviceId:altui1</serviceId>
<name>SayTTS</name>
<job>
sayTTS(lul_device,lul_settings.newMessage,lul_settings.newVolume,lul_settings.newGroupDevices)
return 4,0
</job>
</action>
</actionList>
</implementation>