mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
getstate added
git-svn-id: https://svn.fhem.de/fhem/trunk@326 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d2d24b3857
commit
04c05dfe1a
@ -24,6 +24,7 @@
|
|||||||
<a href="#delete">delete</a>
|
<a href="#delete">delete</a>
|
||||||
<a href="#deleteattr">deleteattr</a>
|
<a href="#deleteattr">deleteattr</a>
|
||||||
<a href="#get">get</a>
|
<a href="#get">get</a>
|
||||||
|
<a href="#getstate">getstate</a>
|
||||||
<a href="#help">?,help</a>
|
<a href="#help">?,help</a>
|
||||||
<a href="#include">include</a>
|
<a href="#include">include</a>
|
||||||
<a href="#inform">inform</a>
|
<a href="#inform">inform</a>
|
||||||
@ -409,6 +410,29 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<a name="getstate"></a>
|
||||||
|
<h3>getstate</h3>
|
||||||
|
<ul>
|
||||||
|
<code>getstate <devspec></code>
|
||||||
|
<br><br>
|
||||||
|
Output a short space seperated status for <devspec>. It is useful for
|
||||||
|
monitoring the device in e.g. Cacti.<br>
|
||||||
|
Examples:
|
||||||
|
<ul>
|
||||||
|
<pre><code> getstate lamp
|
||||||
|
state:1
|
||||||
|
|
||||||
|
getstate fl
|
||||||
|
ack:0 actuator:2 day-temp:21.5 desired-temp:22.5 [...] measured-temp:22.9 [...]
|
||||||
|
</code></pre>
|
||||||
|
</ul>
|
||||||
|
Note: to use this command copy the file contrib/getstate/99_getstate.pm into
|
||||||
|
you FHEM directory.
|
||||||
|
<br>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<a name="include"></a>
|
<a name="include"></a>
|
||||||
<h3>include</h3>
|
<h3>include</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user