Probleme mit Modul Heating_Control

Begonnen von guhu, 12 April 2016, 18:11:21

Vorheriges Thema - Nächstes Thema

Dietmar63

HC kann kein Gerät vom Typ Heating_Control  steuern. Du musst ein Gerät angeben, das mit desired-temp oder so gesteuert werden kann.

Ich vermute du hast zu viele Parameter angegeben, und deshalb werden die Zeiten nicht  richtig geparst.

define HC Heating_Control  zusteuerndesGerät listeDerZeiten <command>

gib mal in fhem list HCB an und poste den output.
Die Liste der Zeiten muss detailiert zu sehen sein.
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

guhu

#16
Gerne:
Internals:
   CFGFN
   COMMAND    HzThrmst1_Clima 7|08:30|20 8|06:30|20 22:00|16
   CONDITION
   DEF        Heating_Control HzThrmst1_Clima 7|08:30|20  8|06:30|20  22:00|16
   DEVICE     Heating_Control
   GlobalDaylistSpec
   LANGUAGE   de
   NAME       HCB
   NR         46884
   STATE      16
   STILLDONETIME 0
   TYPE       Heating_Control
   Readings:
     2016-04-12 22:33:36   currValue       16
     2016-04-14 13:35:16   disabled        0
     2016-04-12 22:33:36   nextUpdate      2016-04-13 06:30:00
     2016-04-12 22:33:36   nextValue       20
     2016-04-12 22:33:36   state           16
   SWITCHINGTIMES:
   Timer:
     Hcb_settimerofday:
       HASH       HCB
       MODIFIER   SetTimerOfDay
       NAME       HCB_SetTimerOfDay
       SETTIMERATMIDNIGHT 1
     Hcb_delayed:
       HASH       HCB
       MODIFIER   delayed
       NAME       HCB_delayed
   Daynumber:
     !$we       8
     $we        7
     di         2
     do         4
     fr         5
     mi         3
     mo         1
     sa         6
     so         0
   Helper:
     daysRegExp (so|mo|di|mi|do|fr|sa|\$we|\!\$we)
     daysRegExpMessage (so|mo|di|mi|do|fr|sa|$we|!$we)
     Switchingtime:
   Longdays:
     de:
       Sonntag
       Montag
       Dienstag
       Mittwoch
       Donnerstag
       Freitag
       Samstag
       Wochenende
       Werktags
     en:
       Sunday
       Monday
       Tuesday
       Wednesday
       Thursday
       Friday
       Saturday
       weekend
       weekdays
     fr:
       Dimanche
       Lundi
       Mardi
       Mercredi
       Jeudi
       Vendredi
       Samedi
       weekend
       jours de la semaine
   Profil:
   Shortdays:
     de:
       so
       mo
       di
       mi
       do
       fr
       sa
       $we
       !$we
     en:
       su
       mo
       tu
       we
       th
       fr
       sa
       $we
       !$we
     fr:
       di
       lu
       ma
       me
       je
       ve
       sa
       $we
       !$we
Attributes:
   alias      Bad
   disable    0
   group      Heizplan
   room       Bad,Heizung
   verbose    0
   windowSensor FenSch1


Edit: so hatte ich das definiert:
define HCB Heating_Control HzThrmst1 7|08:30|20  8|06:30|20  22:00|16
FHEM 5.9 auf Synology DS918+ (in Docker), HM-CFG-USB2 mit hmlan, HM-CC-RT-DN, HM-SEC-SC-2, nanoCUL,a-culfw,deCONZ,Brennenstuhl-Steckdosen,-FB
Module:ENIGMA2,SONOS,FRITZBOX,FB_CALLLIST,WDT_TIMER,VCONTROL300,WITHINGS

Dietmar63

bei dir fehlt eine Menge inder list:


Internals:
   CFGFN
   COMMAND
   CONDITION
   DEF        HzThrmst1 7|08:30|20  8|06:30|20  22:00|16
   DEVICE     HzThrmst1
   GlobalDaylistSpec
   LANGUAGE   de
   NAME       HCx
   NR         480
   Profil 0: Sonntag 08:30:00 20, 22:00:00 16
   Profil 1: Montag 06:30:00 20, 22:00:00 16
   Profil 2: Dienstag 06:30:00 20, 22:00:00 16
   Profil 3: Mittwoch 06:30:00 20, 22:00:00 16
   Profil 4: Donnerstag 06:30:00 20, 22:00:00 16
   Profil 5: Freitag 06:30:00 20, 22:00:00 16
   Profil 6: Samstag 08:30:00 20, 22:00:00 16
   Profil 7: Wochenende 08:30:00 20
   Profil 8: Werktags 06:30:00 20
   STATE      active
   STILLDONETIME 0
   TYPE       Heating_Control
   Readings:
     2016-04-14 23:39:26   currValue       16
     2016-04-14 23:39:26   nextUpdate      2016-04-15 06:30:00
     2016-04-14 23:39:26   nextValue       20
     2016-04-14 23:39:26   state           active
   SWITCHINGTIMES:
     7|08:30|20
     8|06:30|20
     22:00|16
   Timer:


:::::
   Profil 0: Sonntag 08:30:00 20, 22:00:00 16
   Profil 1: Montag 06:30:00 20, 22:00:00 16
   Profil 2: Dienstag 06:30:00 20, 22:00:00 16
   Profil 3: Mittwoch 06:30:00 20, 22:00:00 16
   Profil 4: Donnerstag 06:30:00 20, 22:00:00 16
   Profil 5: Freitag 06:30:00 20, 22:00:00 16
   Profil 6: Samstag 08:30:00 20, 22:00:00 16
   Profil 7: Wochenende 08:30:00 20
   Profil 8: Werktags 06:30:00 20
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Dietmar63

falsch:
DEF        Heating_Control HzThrmst1_Clima 7|08:30|20  8|06:30|20  22:00|16
richtig:
DEF        HzThrmst1 7|08:30|20  8|06:30|20  22:00|16
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

guhu

Danke!
Ich weiß jetzt auch die Ursache: ich hatte die Defs im Laufe der Tests mit modify geändert, dabei aber den Typ Heating_Control drin gelassen.
Jetzt sieht alles viel besser aus. Ich teste noch weiter.

Du hast mir sehr geholfen!

:)
FHEM 5.9 auf Synology DS918+ (in Docker), HM-CFG-USB2 mit hmlan, HM-CC-RT-DN, HM-SEC-SC-2, nanoCUL,a-culfw,deCONZ,Brennenstuhl-Steckdosen,-FB
Module:ENIGMA2,SONOS,FRITZBOX,FB_CALLLIST,WDT_TIMER,VCONTROL300,WITHINGS

guhu

#20
PS: jetzt habe ich aber wieder folgendes Problem:

2016.04.15 08:31:52 4: [HCB] device type CUL_HM:HM-CC-RT-DN recognized, setModifier:desired-temp
2016.04.15 08:31:52 4: [HCB] aktParam:14.0 newParam:20.0 - is  not disabled
2016.04.15 08:31:52 4: [HCB] command: 'set $NAME desired-temp $EVENT' executed with %EVENT=>20.0,%NAME=>HzThrmst1
2016.04.15 08:31:52 3: Unknown argument desired-temp, choose one of assignHmKey burstXmit clear:readings,trigger,register,oldRegs,rssi,msgEvents,attack,all deviceRename fwUpdate getConfig getRegRaw inhibit:on,off raw regBulk regSet reset sysTime unpair

Das war der Grund, warum ich nicht HzThrmst1, sondern HzThrmst1_Clima als Device genommen habe.
Was meinst Du?

Edit: mit device HzThrmst1_Clima klappt es! Nochmal vielen Dank.


FHEM 5.9 auf Synology DS918+ (in Docker), HM-CFG-USB2 mit hmlan, HM-CC-RT-DN, HM-SEC-SC-2, nanoCUL,a-culfw,deCONZ,Brennenstuhl-Steckdosen,-FB
Module:ENIGMA2,SONOS,FRITZBOX,FB_CALLLIST,WDT_TIMER,VCONTROL300,WITHINGS