- showtime added for pgm2 (useful for FS20 piri display)

- defattr command added, it makes easier to assign room, type, etc for a group
    of devices.
  - em1010.pl added to the contrib directory. It seems that we are able
    to read out the EM1010PC. Not verified with multiple devices.


git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@11 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2007-02-11 17:58:23 +00:00
parent 8e4694eb19
commit 2a3187cc88
6 changed files with 79 additions and 15 deletions

View File

@@ -228,6 +228,11 @@ split in multiple lines<br><br>
(<code>fht80b, fs20du, fs20led, fs20piri, fs20s20, fs20s4a,
fs20st fs20ts, hms100mg, rm100-2uni-s,</code> etc.).
</li>
<li>showtime<br>
Used in the webfrontend pgm2 to show the time of last activity
instead of the state in the summary view. Useful e.g. for FS20 PIRI
devices.
</li>
</ul>
Examples:
@@ -246,7 +251,37 @@ split in multiple lines<br><br>
Notes:<br>
<ul>
<li>There is no way to delete a single attribute.</li>
</ul> </ul>
</ul>
</ul>
<a name="defattr"></a>
<h3>defattr</h3>
<ul>
<code>defattr [&lt;attrname&gt; [&lt;value&gt;]] </code><br>
<br>Set the default attribute. Each device defined from now on will receive
this attribute (see the <a href="#at">at</a> for details on attribute names
and values).<br>
If no attrname is specified, then the default attribute list will be deleted.
<br><br>
Example to set the attribute "room kitchen" and "loglevel 4" to
each of the lamps:
<ul>
<code>defattr room kitchen</code><br>
<code>defattr loglevel 4</code><br>
<code>define lamp1 FS20 1234 11</code><br>
<code>define lamp2 FS20 1234 12</code><br>
<code>define lamp3 FS20 1234 13</code><br>
<code>defattr</code><br>
</ul>
<br>
Notes:<br>
<ul>
<li>There is no way to delete a single default-attribute from the list</li>
</ul>
</ul>