Habe einen PID Regler in Betrieb genommen.
Im LOG von FHEM tauchen nach dem laden des PID Reglers PERL WARNING Meldungen auf.
define PID.HVL_A3_P PID20 DL2_T07:state:([\d\.]*) HVL_A3_P_D
attr PID.HVL_A3_P alias Heizung - Heizung Vorlauf Pumpe A3 - PID Regler
attr PID.HVL_A3_P event-min-interval actuation:1800,actuationCalc:1800,delta:1800,sollwert:1800,Istwert:1800,p_d:1800,p_i:1800,p_p:1800
attr PID.HVL_A3_P event-on-change-reading actuation:1,actuationCalc:0.5,delta:0.2,sollwert,Istwert:0.2,p_d:0.1,p_i:1.0,p_p:1.0
attr PID.HVL_A3_P group Steuerungen
attr PID.HVL_A3_P icon sani_pump
attr PID.HVL_A3_P pidActorErrorAction errorPos
attr PID.HVL_A3_P pidActorErrorPos 35
attr PID.HVL_A3_P pidActorInterval 180
attr PID.HVL_A3_P pidActorKeepAlive 1800
attr PID.HVL_A3_P pidActorLimitLower 30
attr PID.HVL_A3_P pidActorLimitUpper 100
attr PID.HVL_A3_P pidActorTreshold 1
attr PID.HVL_A3_P pidActorValueDecPlaces 0
attr PID.HVL_A3_P pidCalcInterval 60
attr PID.HVL_A3_P pidDebugActuation 0
attr PID.HVL_A3_P pidDebugCalc 0
attr PID.HVL_A3_P pidDebugDelta 0
attr PID.HVL_A3_P pidDebugNotify 0
attr PID.HVL_A3_P pidDebugSensor 0
attr PID.HVL_A3_P pidDebugUpdate 0
attr PID.HVL_A3_P pidDeltaTreshold 0
attr PID.HVL_A3_P pidDesiredName Sollwert
attr PID.HVL_A3_P pidFactor_D 0
attr PID.HVL_A3_P pidFactor_I 0.25
attr PID.HVL_A3_P pidFactor_P 25
attr PID.HVL_A3_P pidMeasuredName Istwert
attr PID.HVL_A3_P pidReverseAction 0
attr PID.HVL_A3_P pidSensorTimeout 3600
attr PID.HVL_A3_P pidUpdateInterval 300
attr PID.HVL_A3_P room Heizung
attr PID.HVL_A3_P stateFormat {sprintf("Soll: %.1f°C | Ist: %.1f°C | Drehzahl: %d %% | AC: %d",\
ReadingsVal("$name","sollwert",0),\
ReadingsVal("$name","Istwert",0),\
ReadingsVal("$name","actuation",0),\
ReadingsVal("$name","actuationCalc",0))}
attr PID.HVL_A3_P userReadings {sprintf("I: 0.9 P: 28 D: 50");;},\
pidFactor_D { AttrVal("$name","pidFactor_D",1)},\
pidFactor_I { AttrVal("$name","pidFactor_I",1)},\
pidFactor_P { AttrVal("$name","pidFactor_P",1)}
2017.03.26 14:32:56 1: PERL WARNING: given is experimental at ./FHEM/98_PID20.pm line 305, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 307, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: given is experimental at ./FHEM/98_PID20.pm line 339, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 341, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 345, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 356, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 363, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 370, <$fh> line 57.
2017.03.26 14:32:56 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 385, <$fh> line 57.
Was verursacht diese PERL WARNING Meldungen?
given und when sind wohl immer noch experimentelle Features in perl, und ab perl 5.18 kriegt man das auch endlich mit.
Wenn ich die Zeile
no if ($] >= 5.018), 'warnings' => 'experimental';
unter "use vars qw(%modules);" einfuege, dann sind die Warnungen weg. Ob das im Sinne des Erfinders ist, weiss ich nicht.
Dann sind diese Warnungen einstweilen zu ignorieren?
Hat sich bei diesem Modul betreffend der Log Einträge schon etwas geändert?
2017.05.29 17:57:05 1: PERL WARNING: given is experimental at ./FHEM/98_PID20.pm line 305, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 307, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: given is experimental at ./FHEM/98_PID20.pm line 339, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 341, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 345, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 356, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 363, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 370, <$fh> line 67.
2017.05.29 17:57:05 1: PERL WARNING: when is experimental at ./FHEM/98_PID20.pm line 385, <$fh> line 67.