From 5a0ce5ce5b016938f23834b610b2e3ca84284963 Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sat, 30 Jul 2016 11:25:24 +0000 Subject: [PATCH] HMConfig:TC-IT hysterese Bugfix git-svn-id: https://svn.fhem.de/fhem/trunk@11863 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_CUL_HM.pm | 2 +- fhem/FHEM/HMConfig.pm | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index cebe6df32..23495bbfa 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -641,7 +641,7 @@ sub CUL_HM_Attr(@) {################################# } elsif ($md eq "HM-Dis-EP-WM55" && $chn eq "03"){#reWriteDislay if ($cmd eq "set"){ - if ($attrVal =~ m/(^reWriteDislay(..)$)/){# no action, just set + if ($attrVal =~ m/(^reWriteDislay([0-9][0-9])$)/){# no action, just set my $delay = substr($attrVal,10,2); if($delay < 1 || $delay >99){ return "invalid $delay- select between reWriteDislay01 and reWriteDislay99"; diff --git a/fhem/FHEM/HMConfig.pm b/fhem/FHEM/HMConfig.pm index c63cd5d88..2360e6940 100644 --- a/fhem/FHEM/HMConfig.pm +++ b/fhem/FHEM/HMConfig.pm @@ -814,8 +814,9 @@ foreach my $al (keys %culHmModel){ # duplicate entries for alias devices noMinMax4Manu =>{a=> 14.6,s=>0.1,l=>7,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"min/max is irrelevant for manual mode",lit=>{off=>0,on=>1}}, showWeekday =>{a=> 14.7,s=>0.1,l=>7,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>0,t=>"show weekday" ,lit=>{off=>0,on=>1}}, - #hyst2point addr is 15 according to XML - not to my device - hyst2point =>{a=> 21.0,s=>0.5,l=>7,min=>0 ,max=>2 ,c=>'' ,f=>'10' ,u=>'C' ,d=>1,t=>"hysteresis range",}, + #hyst2point addr is 15 according to XML - not to my device. add "bug" register justin case + hyst2pointBug =>{a=> 15.0,s=>0.5,l=>7,min=>0 ,max=>2 ,c=>'' ,f=>'10' ,u=>'C' ,d=>1,t=>"hysteresis range",}, + hyst2point =>{a=> 15.0,s=>0.5,l=>7,min=>0 ,max=>2 ,c=>'' ,f=>'10' ,u=>'C' ,d=>1,t=>"hysteresis range",}, heatCool =>{a=> 15.7,s=>0.1,l=>7,min=>0 ,max=>1 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"select heating or cooling" ,lit=>{heating=>0,cooling=>1}}, weekPrgSel =>{a=> 16.0,s=>1.0,l=>7,min=>0 ,max=>2 ,c=>'lit' ,f=>'' ,u=>'' ,d=>1,t=>"select week program" ,lit=>{prog1=>0,prog2=>1,prog3=>2}}, @@ -1226,7 +1227,7 @@ $culHmRegModel{"ROTO_ZEL-STG-RM-DWT-10"}= $culHmRegModel{"HM-PB-4DIS-WM"}; ,noMinMax4Manu =>1,daylightSaveTime=>1,sendWeatherData =>1 ,modePrioParty =>1,modePrioManu =>1,weekPrgSel =>1 } - ,"HM-TC-IT-WM-W-EU07"=>{ hyst2point =>1} + ,"HM-TC-IT-WM-W-EU07"=>{ hyst2point =>1,hyst2pointBug =>1} ,"HM-ES-PMSw1-Pl01" =>{ OnTime =>1,OffTime =>1,OnDly =>1,OffDly =>1 ,SwJtOn =>1,SwJtOff =>1,SwJtDlyOn =>1,SwJtDlyOff =>1 ,CtValLo =>1,CtValHi =>1