2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

THZ: 5.39technican for thetrumpeter, forum topic=33211.msg1290244

git-svn-id: https://svn.fhem.de/fhem/trunk@28108 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
immi 2023-10-30 09:08:21 +00:00
parent 7da6307119
commit a3d4b2230d

View File

@ -1,8 +1,8 @@
##############################################
# 00_THZ
# $Id$
# by immi 08/2023
my $thzversion = "0.208";
# by immi 10/2023
my $thzversion = "0.209";
# this code is based on the hard work of Robert; I just tried to port it
# http://robert.penz.name/heat-pump-lwz/
########################################################################################
@ -399,7 +399,7 @@ my %parsinghash = (
#
########################################################################################
my %sets439technician =(
my %setsX39technician =(
# "zResetLast10errors" => {cmd2=>"D1", argMin => "0", argMax => "0", type =>"0clean", unit =>""},
"zResetLast10errors" => {cmd2=>"D1", argMin => "0", argMax => "0", type =>"D1last", unit =>""},
# "zPassiveCoolingtrigger" => {cmd2=>"0A0597", argMin => "0", argMax => "50", type =>"1clean", unit =>""},
@ -944,7 +944,7 @@ sub THZ_Initialize($) {
."interval_sBoostHCTotal:0,3600,7200,28800,43200,86400 "
."interval_sFlowRate:0,3600,7200,28800,43200,86400 "
."interval_sDisplay:0,60,120,180,300 "
."firmware:4.39,2.06,2.14,2.14j,5.39,4.39technician "
."firmware:4.39,2.06,2.14,2.14j,5.39,4.39technician,5.39technician "
."interval_sDewPointHC1:0,60,120,180,300 "
."simpleReadTimeout:0.25,0.5,0.75,1,2,4,6 " #standard has been 0.75 since msg468515 If blocking attribut is NOT enabled then set the timeout value to a maximum value of 0.75 sec.
."nonblocking:0,1 "
@ -2009,8 +2009,12 @@ sub THZ_Attr(@) {
%sets=(%sets439539common, %sets539only);
%gets=(%getsonly539, %sets);
}
elsif ($attrVal eq "5.39technician") {
%sets=(%sets439539common, %sets539only, %setsX39technician);
%gets=(%getsonly539, %sets);
}
elsif ($attrVal eq "4.39technician") {
%sets=(%sets439539common, %sets439only, %sets439technician);
%sets=(%sets439539common, %sets439only, %setsX39technician);
%gets=(%getsonly439, %sets);
}
else { #in all other cases I assume $attrVal eq "4.39" cambiato nella v0140