PID moved from contrib into FHEM
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@726 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -80,13 +80,10 @@
|
||||
<a href="#CUL_RFR">CUL_RFR</a>
|
||||
<a href="#CUL_WS">CUL_WS</a>
|
||||
<a href="#DS18S20">DS18S20</a>
|
||||
<a href="#DbLog">DbLog</a>
|
||||
<a href="#EM">EM</a>
|
||||
<a href="#EMEM">EMEM</a>
|
||||
<a href="#EMGZ">EMGZ</a>
|
||||
<a href="#EMWZ">EMWZ</a>
|
||||
<a href="#FHEMRENDERER">FHEMRENDERER</a>
|
||||
<a href="#FHEMWEB">FHEMWEB</a>
|
||||
<a href="#FHT">FHT</a>
|
||||
<a href="#FHT8V">FHT8V</a>
|
||||
<a href="#FHZ">FHZ</a>
|
||||
@@ -114,7 +111,6 @@
|
||||
<a href="#WS3600">WS3600</a>
|
||||
<a href="#Weather">Weather</a>
|
||||
<a href="#X10">X10</a>
|
||||
<a href="#structure">structure</a>
|
||||
<a href="#xxLG7000">xxLG7000</a>
|
||||
|
||||
|
||||
@@ -123,8 +119,12 @@
|
||||
<br>
|
||||
<b>Helper modules</b>
|
||||
<ul>
|
||||
<a href="#DbLog">DbLog</a>
|
||||
<a href="#FHEMRENDERER">FHEMRENDERER</a>
|
||||
<a href="#FHEMWEB">FHEMWEB</a>
|
||||
<a href="#FileLog">FileLog</a>
|
||||
<a href="#PachLog">PachLog</a>
|
||||
<a href="#PID">PID</a>
|
||||
<a href="#SUNRISE_EL">SUNRISE_EL</a>
|
||||
<a href="#at">at</a>
|
||||
<a href="#autocreate">autocreate</a>
|
||||
@@ -132,6 +132,7 @@
|
||||
<a href="#dumpdef">dumpdef</a>
|
||||
<a href="#holiday">holiday</a>
|
||||
<a href="#notify">notify</a>
|
||||
<a href="#structure">structure</a>
|
||||
<a href="#watchdog">watchdog</a>
|
||||
<a href="#weblink">weblink</a>
|
||||
|
||||
@@ -1618,6 +1619,80 @@ A line ending with \ will be concatenated with the next one, so long lines
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="PID"></a>
|
||||
<h3>PID</h3>
|
||||
<ul>
|
||||
The PID device is a loop controller, used to set the value e.g of a heating
|
||||
valve dependent of the current and desired temperature.
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<a name="FHT8Vdefine"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define <name> PID sensor[:reading:regexp] actor[:cmd:min:max] [p i d]</code>
|
||||
<br><br>
|
||||
|
||||
<code>sensor[:reading:regexp]</code> specifies the sensor, which is an
|
||||
already defined fhem device, e.g. a S300TH temperature sensor. The reading
|
||||
and regexp fields are necessary only for unknown devices (currently <a
|
||||
href="#CUL_WS">CUL_WS</a> and <a href="#HMS">HMS</a> devices are "known").
|
||||
Reading specifies the READINGS field of the sensor, and the regexp extracts
|
||||
the number from this field. E.g. for the complete definition for a CUL_WS
|
||||
device is: <code>s300th_dev:temperature:([\d\.]*)</code>
|
||||
<br><br>
|
||||
|
||||
<code>actor[:cmd:min:max]</code> specifies the actor, which is an
|
||||
already defined fhem device, e.g. an FHT8V valve. The cmd, min and max
|
||||
fields are necessary only for unknown devices (currently <a
|
||||
href="#FHT8V">FHT8V</a> is "known"). cmd specifies the command name for the
|
||||
actor, min the minimum value and max the maximum value. The complete
|
||||
definition for an FHT8V device is:<code>fht8v_dev:valve:0:100</code>
|
||||
<br><br>
|
||||
|
||||
p, i and d are the parameters use to controlling, see also the <a
|
||||
href="http://de.wikipedia.org/wiki/Regler">this</a> wikipedia entry.
|
||||
The default values are around 25.5, 3 and 5.88, you probably need to tune
|
||||
these values. They can be also changed later.
|
||||
<br><br>
|
||||
|
||||
Examples:
|
||||
<ul>
|
||||
<code>define wz_pid PID wz_th wz_fht8v</code><br>
|
||||
</ul>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<a name="PIDset"></a>
|
||||
<b>Set </b>
|
||||
<ul>
|
||||
<li>set <name> factors p i d<br>
|
||||
Set the p, i and d factors, as described above.
|
||||
</li>
|
||||
<li>set <name> desired <value><br>
|
||||
Set the desired value (e.g. temperature). Note: until this value is not
|
||||
set, no command is issued.
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<a name="FHT8Vget"></a>
|
||||
<b>Get </b>
|
||||
<ul>
|
||||
N/A
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<a name="FHT8Vattr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
<li><a href="#disable">disable</a></li>
|
||||
<li><a href="#loglevel">loglevel</a></li>
|
||||
</ul>
|
||||
<br>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<a name="CUL_FHTTK"></a>
|
||||
<h3>CUL_FHTTK</h3>
|
||||
|
||||
Reference in New Issue
Block a user