forked from 999LV/DarkSkyWeather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathI_DarkSkyWeather.xml
63 lines (63 loc) · 1.63 KB
/
I_DarkSkyWeather.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
<?xml version="1.0"?>
<!--
Module I_DarkSkyWeather.xml
Written by R.Boer.
V0.7, 9 April 2019
-->
<implementation>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<settings>
<protocol>crlf</protocol>
</settings>
<incoming></incoming>
<files>L_DarkSkyWeather.lua</files>
<startup>init</startup>
<actionList>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetUnits</name>
<run>
var.Set("Units", (lul_settings.newUnits or "auto"))
</run>
</action>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetLocation</name>
<run>
var.Set("Latitude", (lul_settings.newLatitude or ""))
var.Set("Longitude", (lul_settings.newLongitude or ""))
</run>
</action>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetPeriod</name>
<run>
var.Set("Period", (lul_settings.newPeriod or "1800"))
</run>
</action>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetLanguage</name>
<run>
var.Set("Language", (lul_settings.newLanguage or "en"))
</run>
</action>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetProviderKey</name>
<run>
var.Set("Key", (lul_settings.newKey or ""))
</run>
</action>
<action>
<serviceId>urn:upnp-micasaverde-com:serviceId:Weather1</serviceId>
<name>SetLogLevel</name>
<run>
DS_SetLogLevel(lul_settings.newLogLevel or "1")
</run>
</action>
</actionList>
</implementation>