Update 98_WKRCD4.pm

Changed "WW-Temp-Soll" to "Temp-WW-Soll", and add it to the "sets" section, now you get the actual value if you select "Temp-WW-Soll" in the set dialog. Also added the min and max limit for "Temp-WW-Soll" (30.0-55.0).
This commit is contained in:
amigatommy
2017-12-13 22:15:19 +01:00
committed by GitHub
parent 5fe1385936
commit 3558a67a8d

View File

@@ -19,14 +19,15 @@ use Time::HiRes qw(gettimeofday);
# from the WP with the GET command
my %WKRCD4_gets = (
"Hzg-TempBasisSoll" => "Hzg-TempBasisSoll",
"WW-Temp-Soll" => "Temp-WW-Soll",
"Hzg-TempEinsatz" => "Hzg-TempEinsatz"
"Hzg-TempEinsatz" => "Hzg-TempEinsatz",
"Temp-WW-Soll" => "Temp-WW-Soll"
);
# list of Readings / values that can be written to the WP
my %WKRCD4_sets = (
"Hzg-TempBasisSoll" => "Hzg-TempBasisSoll",
"Hzg-TempEinsatz" => "Hzg-TempEinsatz"
"Hzg-TempEinsatz" => "Hzg-TempEinsatz",
"Temp-WW-Soll" => "Temp-WW-Soll"
);
# Definition of the values that can be read / written
@@ -43,7 +44,7 @@ my %frameReadings = (
'Temp-Ruecklauf-Soll' => { addr => 0x0014, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-Ruecklauf' => { addr => 0x0018, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-Vorlauf' => { addr => 0x001C, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-WW-Soll' => { addr => 0x0020, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-WW-Soll' => { addr => 0x0020, bytes => 0x0004, fmat => '%0.1f', unp => 'f<', min => 30.0, max => 55.0 },
'Temp-WW' => { addr => 0x0024, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-Raum' => { addr => 0x0028, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },
'Temp-WQuelle-Ein' => { addr => 0x0030, bytes => 0x0004, fmat => '%0.1f', unp => 'f<' },