blob: e4482bb6bfbd84600b2492ab86b523c6883795ab (
plain)
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
|
<?xml version="1.0"?>
<application>
<metadata>
<entry name="name">mtx-youless</entry>
<entry name="detail">youless Fetcher</entry>
<entry name="version">1.100</entry>
</metadata>
<flags>
<category name="basic">
<subcategory>
<flag name="collect"><short>collect data from device</short></flag>
<flag name="nobackup"><short>don't backup old datafile</short></flag>
<flag name="nofile"><short>don't write data to file (for checking)</short></flag>
<flag name="electricity"><short>collected eletricity data (p)</short></flag>
<flag name="gas"><short>collected gas data</short></flag>
<flag name="pulse"><short>collected eletricity data (s)</short></flag>
<flag name="host"><short>ip address of device</short></flag>
<flag name="auto"><short>fetch (refresh) all data every hour</short></flag>
</subcategory>
</category>
</flags>
<examples>
<category>
<title>Example</title>
<subcategory>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --electricity somefile.lua</command></example>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --gas somefile.lua</command></example>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --pulse somefile.lua</command></example>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --auto file-prefix</command></example>
</subcategory>
</category>
</examples>
</application>
|