2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 20:06:18 +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 # 00_THZ
# $Id$ # $Id$
# by immi 08/2023 # by immi 10/2023
my $thzversion = "0.208"; my $thzversion = "0.209";
# this code is based on the hard work of Robert; I just tried to port it # this code is based on the hard work of Robert; I just tried to port it
# http://robert.penz.name/heat-pump-lwz/ # 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 =>"0clean", unit =>""},
"zResetLast10errors" => {cmd2=>"D1", argMin => "0", argMax => "0", type =>"D1last", unit =>""}, "zResetLast10errors" => {cmd2=>"D1", argMin => "0", argMax => "0", type =>"D1last", unit =>""},
# "zPassiveCoolingtrigger" => {cmd2=>"0A0597", argMin => "0", argMax => "50", type =>"1clean", 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_sBoostHCTotal:0,3600,7200,28800,43200,86400 "
."interval_sFlowRate:0,3600,7200,28800,43200,86400 " ."interval_sFlowRate:0,3600,7200,28800,43200,86400 "
."interval_sDisplay:0,60,120,180,300 " ."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 " ."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. ."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 " ."nonblocking:0,1 "
@ -2001,7 +2001,7 @@ sub THZ_Attr(@) {
%sets = (%sets206, %setsonly214); %sets = (%sets206, %setsonly214);
%gets = (%getsonly2xx, %getsonly214, %sets206); %gets = (%getsonly2xx, %getsonly214, %sets206);
} }
elsif ($attrVal eq "2.14j") { elsif ($attrVal eq "2.14j") {
%sets = (%sets206, %setsonly214); %sets = (%sets206, %setsonly214);
%gets = (%getsonly2xx, %getsonly214j, %sets206); %gets = (%getsonly2xx, %getsonly214j, %sets206);
} }
@ -2009,8 +2009,12 @@ sub THZ_Attr(@) {
%sets=(%sets439539common, %sets539only); %sets=(%sets439539common, %sets539only);
%gets=(%getsonly539, %sets); %gets=(%getsonly539, %sets);
} }
elsif ($attrVal eq "5.39technician") {
%sets=(%sets439539common, %sets539only, %setsX39technician);
%gets=(%getsonly539, %sets);
}
elsif ($attrVal eq "4.39technician") { elsif ($attrVal eq "4.39technician") {
%sets=(%sets439539common, %sets439only, %sets439technician); %sets=(%sets439539common, %sets439only, %setsX39technician);
%gets=(%getsonly439, %sets); %gets=(%getsonly439, %sets);
} }
else { #in all other cases I assume $attrVal eq "4.39" cambiato nella v0140 else { #in all other cases I assume $attrVal eq "4.39" cambiato nella v0140