diff --git a/fhem/contrib/93_PWMR.pm b/fhem/contrib/93_PWMR.pm
index 4d5139a96..ab4e32b4e 100644
--- a/fhem/contrib/93_PWMR.pm
+++ b/fhem/contrib/93_PWMR.pm
@@ -1224,7 +1224,7 @@ PWMR_Boost(@)
Define
- define <name> PWMR <IODev> <factor[,offset]> <tsensor[:reading:[t_regexp]]> <actor>[:<a_regexp_on>] [<window|dummy>[,<window>[:w_regexp]] [<usePID 0|1>lt;PFactor>lt;IFactor>lt;DFactor>br>
+ define <name> PWMR <IODev> <factor[,offset]> <tsensor[:reading:[t_regexp]]> <actor>[:<a_regexp_on>] [<window|dummy>[,<window>[:<w_regexp>]] [<usePID 0|1>:<PFactor>:<IFactor>:<DFactor>]
Define a calculation object with the following parameters:
@@ -1250,13 +1250,23 @@ PWMR_Boost(@)
a_regexp_on defines a regular expression to be applied to the state of the actor. Default is 'on". If state matches the regular expression it is handled as "on", otherwise "off"
- - window[,window][:w_regexp]
+ - <window|dummy>[,<window>[:<w_regexp>]
window defines several window devices that can prevent heating to be turned on.
If STATE matches the regular expression then the desired-temp will be decreased to frost-protect temperature.
'dummy' can be used as a neutral value for window and will be ignored when processing the configuration.
w_regexp defines a regular expression to be applied to the reading. Default is '.*Open.*'.
+ - <usePID 0|1>:<PFactor>:<IFactor>:<DFactor>
+ usePID 0|1: 0 .. calculate Pulse based on PID but do not use it. 1 .. calculate Pulse based on PID and use it.
+ PFactor: Konstant for P.
+ IFactor: Konstant for I.
+ DFactor: Konstant for D.
+ Internals c_PID_PFactor, c_PID_IFactor, c_PID_DFactor and c_PID_useit will reflect the above configuration values.
+ Internals h_deltaTemp and h_pid_integrator will store the values needed for calculation of the next PID value.
+ Readings PID_DVal, PID_IVal, PID_PVal, PID_PWMOnTime and PID_PWMPulse will reflect the actual calculated PID values and Pulse.
+
+
@@ -1266,6 +1276,7 @@ PWMR_Boost(@)
define roomKitchen PWMR fh 1,0 tempKitchen relaisKitchen windowKitchen1,windowKitchen2
define roomKitchen PWMR fh 1,0 tempKitchen relaisKitchen windowKitchen1,windowKitchen2:.*Open.*
define roomKitchen PWMR fh 1,0 tempKitchen relaisKitchen windowKitchen1,windowKitchen2 0:0.8:1:0
+ define roomKitchen PWMR fh 1,0 tempKitchen relaisKitchen dummy 0:0.8:1:0
define roomKitchen PWMR fh 1,0 tempKitchen relaisKitchen dummy 1:0.8:1:0
@@ -1308,7 +1319,8 @@ PWMR_Boost(@)
autoCalcTemp
- Switch on (1) of off (0) autoCalcMode. desired-temp will be set based on the below temperatures and rules in autoCalcMode.
+ Switch on (1) of off (0) autoCalcMode. desired-temp will be set based on the below temperatures and rules in autoCalcMode.
+ Default is on.
tempDay
@@ -1344,6 +1356,20 @@ PWMR_Boost(@)
This results in tempDay 6:00-22:00 from Monday to Friday and tempNight outside this time window.
+ desiredTempFrom
+ This can be used as an alternative to the calculation of desired-temp based on the tempRules when autoCalcTemp is set to '1'.
+ If set correctly the desired-temp will be read from a reading of another device.
+ Format is <device>[:<reading>[:<regexp>]]
+ device defines the reference to the other object.
+ reading defines the reading that contains the value for desired-temp. Default is 'desired-temp'.
+ regexp defines a regular expression to extract the value used for 'desired-temp'. Default is '(\d[\d\.]+)'.
+ If regexp does not match (e.g. reading is 'off') then tempFrostProtect is used.
+ Internals c_desiredTempFrom reflects the actual setting and d_name, d_reading und d_regexpTemp the values used.
+ If this attribute is used then state will change from "Calculating" to "From <device>".
+ Calculation of desired-temp is (like when using tempRules) based on the interval specified for this device (default is 300 seconds).
+
+
+