summaryrefslogtreecommitdiff
path: root/doc/context/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-11-07 12:49:36 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-11-07 12:49:36 +0100
commit75fbb107b15d01179a4b772844144e0661240e77 (patch)
treec5210f4f9ade25c89a540f755912a52966404792 /doc/context/scripts
parent7830451577b876020de2a26bbfbf069625ab4d6f (diff)
downloadcontext-75fbb107b15d01179a4b772844144e0661240e77.tar.gz
2017-11-07 11:43:00
Diffstat (limited to 'doc/context/scripts')
-rw-r--r--doc/context/scripts/mkiv/mtx-youless.html2
-rw-r--r--doc/context/scripts/mkiv/mtx-youless.man3
-rw-r--r--doc/context/scripts/mkiv/mtx-youless.xml2
3 files changed, 7 insertions, 0 deletions
diff --git a/doc/context/scripts/mkiv/mtx-youless.html b/doc/context/scripts/mkiv/mtx-youless.html
index 726403371..d5678920b 100644
--- a/doc/context/scripts/mkiv/mtx-youless.html
+++ b/doc/context/scripts/mkiv/mtx-youless.html
@@ -45,11 +45,13 @@
<tr><th>--kwh</th><td></td><td>summative kwh data</td></tr>
<tr><th>--watt</th><td></td><td>collected watt data</td></tr>
<tr><th>--host</th><td></td><td>ip address of device</td></tr>
+ <tr><th>--auto</th><td></td><td>fetch kwh and watt data every hour</td></tr>
</table>
<br/>
<h1>Example</h1>
<tt>mtxrun --script youless --collect --host=192.168.2.50 --kwh</tt>
<br/><tt>mtxrun --script youless --collect --host=192.168.2.50 --watt somefile.lua</tt>
+<br/><tt>mtxrun --script youless --collect --host=192.168.2.50 --auto file-prefix</tt>
<br/><br/> </div>
</div>
</body>
diff --git a/doc/context/scripts/mkiv/mtx-youless.man b/doc/context/scripts/mkiv/mtx-youless.man
index b48113381..64a108402 100644
--- a/doc/context/scripts/mkiv/mtx-youless.man
+++ b/doc/context/scripts/mkiv/mtx-youless.man
@@ -28,6 +28,9 @@ collected watt data
.TP
.B --host
ip address of device
+.TP
+.B --auto
+fetch kwh and watt data every hour
.SH AUTHOR
More information about ConTeXt and the tools that come with it can be found at:
diff --git a/doc/context/scripts/mkiv/mtx-youless.xml b/doc/context/scripts/mkiv/mtx-youless.xml
index cd402c3d0..888c34934 100644
--- a/doc/context/scripts/mkiv/mtx-youless.xml
+++ b/doc/context/scripts/mkiv/mtx-youless.xml
@@ -14,6 +14,7 @@
<flag name="kwh"><short>summative kwh data</short></flag>
<flag name="watt"><short>collected watt data</short></flag>
<flag name="host"><short>ip address of device</short></flag>
+ <flag name="auto"><short>fetch kwh and watt data every hour</short></flag>
</subcategory>
</category>
</flags>
@@ -23,6 +24,7 @@
<subcategory>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --kwh</command></example>
<example><command>mtxrun --script youless --collect --host=192.168.2.50 --watt somefile.lua</command></example>
+ <example><command>mtxrun --script youless --collect --host=192.168.2.50 --auto file-prefix</command></example>
</subcategory>
</category>
</examples>