Neues Modul - Heating_Control, WeekdayTimer

Begonnen von Dietmar63, 04 Januar 2013, 19:42:26

Vorheriges Thema - Nächstes Thema

Dietmar63

Bin leider jetzt schlecht verfügbar - Kurzurlaub in Amsterdam
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Mitch

Zitat von: Dietmar63 am 18 Oktober 2015, 14:51:09
Okay, HCAutomatik werde ich mir gleich anschauen.
Ich teste gerne, wenn Du mir sagst was.


Was was um 14:23 Uhr los? Warum wurden die readings gesetzt?
Liefere Protokolle eines  HC mit dem Inhalt HCAutomatik

Um 14:23 Uhr wurde ein Heating_Control_SetAllTemps() gemacht.

Leider funktioniert aber, vermutlich aufgrund des inactive, ein Heating_Control_SetAllTemps() nicht.
Es werden nicht die aktuellen Temperaturen gesetzt.
FHEM im Proxmox Container

Dietmar63

Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Mitch

#618
Alle Definitionen warnen inactive.

Im Moment sind z.B. von 13, 4 inactive.
Ich kann leider keine Logik darin sehen. Mal ist es die, mal eine andere.
Sehr häufig ist es nur eine, die vom Bad.

Gerade um 22:30 Uhr war ein "Schaltpunkt" bei einer Definition. Es wurde zwar geschalten, aber es steht immer noch auf inactive.

Internals:
   CONDITION  (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEF        HZ_Wohnzimmer_WT_Climate 12345|06:00|22 1234|07:30|16 5|07:30|21.5 1234|12:00|21.5 7|08:00|21.5 19:00|22 22:30|16 (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEVICE     HZ_Wohnzimmer_WT_Climate
   GlobalDaylistSpec
   LANGUAGE   de
   NAME       HCW
   NR         668
   Profil 0: Sonntag 08:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 1: Montag 06:00:00 22, 07:30:00 16, 12:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 2: Dienstag 06:00:00 22, 07:30:00 16, 12:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 3: Mittwoch 06:00:00 22, 07:30:00 16, 12:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 4: Donnerstag 06:00:00 22, 07:30:00 16, 12:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 5: Freitag 06:00:00 22, 07:30:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 6: Samstag 08:00:00 21.5, 19:00:00 22, 22:30:00 16
   Profil 7: Wochenende 08:00:00 21.5
   STATE      inactive
   STILLDONETIME
   TYPE       Heating_Control
   Readings:
     2015-10-18 14:07:50   disabled        0
     2015-10-18 22:36:01   nextUpdate      2015-10-19 06:00:00
     2015-10-18 22:36:01   nextValue       22
     2015-10-18 22:36:01   state           inactive
   SWITCHINGTIMES:
     12345|06:00|22
     1234|07:30|16
     5|07:30|21.5
     1234|12:00|21.5
     7|08:00|21.5
     19:00|22
     22:30|16
   Timer:
     Hcw_3:
       HASH       HCW
       MODIFIER   3
       NAME       HCW_3
     Hcw_7:
       HASH       HCW
       MODIFIER   7
       NAME       HCW_7
     Hcw_settimerofday:
       HASH       HCW
       MODIFIER   SetTimerOfDay
       NAME       HCW_SetTimerOfDay
   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:
       0:
         08:00:00   21.5
         19:00:00   22
         22:30:00   16
       1:
         06:00:00   22
         07:30:00   16
         12:00:00   21.5
         19:00:00   22
         22:30:00   16
       2:
         06:00:00   22
         07:30:00   16
         12:00:00   21.5
         19:00:00   22
         22:30:00   16
       3:
         06:00:00   22
         07:30:00   16
         12:00:00   21.5
         19:00:00   22
         22:30:00   16
       4:
         06:00:00   22
         07:30:00   16
         12:00:00   21.5
         19:00:00   22
         22:30:00   16
       5:
         06:00:00   22
         07:30:00   21.5
         19:00:00   22
         22:30:00   16
       6:
         08:00:00   21.5
         19:00:00   22
         22:30:00   16
       7:
         08:00:00   21.5
   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:
     1:
       EPOCH      1445140800
       PARA       22
       TIME       06:00
       TAGE:
         1
         2
         3
         4
         5
     2:
       EPOCH      1445146200
       PARA       16
       TIME       07:30
       TAGE:
         1
         2
         3
         4
     3:
       EPOCH      1445146200
       PARA       21.5
       TIME       07:30
       TAGE:
         5
     4:
       EPOCH      1445162400
       PARA       21.5
       TIME       12:00
       TAGE:
         1
         2
         3
         4
     5:
       EPOCH      1445148000
       PARA       21.5
       TIME       08:00
       TAGE:
         7
     6:
       EPOCH      1445187600
       PARA       22
       TIME       19:00
       TAGE:
         0
         1
         2
         3
         4
         5
         6
     7:
       EPOCH      1445200200
       PARA       16
       TIME       22:30
       TAGE:
         0
         1
         2
         3
         4
         5
         6
   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      Wohnzimmer/Küche
   group      Heizplan
   room       Heizung
   verbose    3
   windowSensor d_ECOMode Fenster_Kueche Fenster_Wohnzimmer_Ost Fenster_Terrasse



Bad wurde nicht geschalten und steht noch auf 21.5 Grad (hätte aber schon um 22 Uhr geschalten werden sollen

Internals:
   CONDITION  (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEF        HZ_Bad_WT_Climate 12345|06:00|22 1234|07:00|16 5|07:00|20 7|08:30|21.5 7|10:00|20 1234|12:00|20 1234|19:30|21.5 57|20:30|21.5 22:00|16 (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEVICE     HZ_Bad_WT_Climate
   GlobalDaylistSpec
   LANGUAGE   de
   NAME       HCB
   NR         667
   Profil 0: Sonntag 08:30:00 21.5, 10:00:00 20, 20:30:00 21.5, 22:00:00 16
   Profil 1: Montag 06:00:00 22, 07:00:00 16, 12:00:00 20, 19:30:00 21.5, 22:00:00 16
   Profil 2: Dienstag 06:00:00 22, 07:00:00 16, 12:00:00 20, 19:30:00 21.5, 22:00:00 16
   Profil 3: Mittwoch 06:00:00 22, 07:00:00 16, 12:00:00 20, 19:30:00 21.5, 22:00:00 16
   Profil 4: Donnerstag 06:00:00 22, 07:00:00 16, 12:00:00 20, 19:30:00 21.5, 22:00:00 16
   Profil 5: Freitag 06:00:00 22, 07:00:00 20, 20:30:00 21.5, 22:00:00 16
   Profil 6: Samstag 08:30:00 21.5, 10:00:00 20, 20:30:00 21.5, 22:00:00 16
   Profil 7: Wochenende 08:30:00 21.5, 10:00:00 20, 20:30:00 21.5
   STATE      21.5
   STILLDONETIME
   TYPE       Heating_Control
   Readings:
     2015-10-18 14:07:49   disabled        0
     2015-10-18 22:30:02   nextUpdate      2015-10-19 06:00:00
     2015-10-18 22:30:02   nextValue       22
     2015-10-18 22:30:02   state           21.5
   SWITCHINGTIMES:
     12345|06:00|22
     1234|07:00|16
     5|07:00|20
     7|08:30|21.5
     7|10:00|20
     1234|12:00|20
     1234|19:30|21.5
     57|20:30|21.5
     22:00|16
   Timer:
     Hcb_4:
       HASH       HCB
       MODIFIER   4
       NAME       HCB_4
     Hcb_settimerofday:
       HASH       HCB
       MODIFIER   SetTimerOfDay
       NAME       HCB_SetTimerOfDay
   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:
       0:
         08:30:00   21.5
         10:00:00   20
         20:30:00   21.5
         22:00:00   16
       1:
         06:00:00   22
         07:00:00   16
         12:00:00   20
         19:30:00   21.5
         22:00:00   16
       2:
         06:00:00   22
         07:00:00   16
         12:00:00   20
         19:30:00   21.5
         22:00:00   16
       3:
         06:00:00   22
         07:00:00   16
         12:00:00   20
         19:30:00   21.5
         22:00:00   16
       4:
         06:00:00   22
         07:00:00   16
         12:00:00   20
         19:30:00   21.5
         22:00:00   16
       5:
         06:00:00   22
         07:00:00   20
         20:30:00   21.5
         22:00:00   16
       6:
         08:30:00   21.5
         10:00:00   20
         20:30:00   21.5
         22:00:00   16
       7:
         08:30:00   21.5
         10:00:00   20
         20:30:00   21.5
   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:
     1:
       EPOCH      1445140800
       PARA       22
       TIME       06:00
       TAGE:
         1
         2
         3
         4
         5
     2:
       EPOCH      1445144400
       PARA       16
       TIME       07:00
       TAGE:
         1
         2
         3
         4
     3:
       EPOCH      1445144400
       PARA       20
       TIME       07:00
       TAGE:
         5
     4:
       EPOCH      1445149800
       PARA       21.5
       TIME       08:30
       TAGE:
         7
     5:
       EPOCH      1445155200
       PARA       20
       TIME       10:00
       TAGE:
         7
     6:
       EPOCH      1445162400
       PARA       20
       TIME       12:00
       TAGE:
         1
         2
         3
         4
     7:
       EPOCH      1445189400
       PARA       21.5
       TIME       19:30
       TAGE:
         1
         2
         3
         4
     8:
       EPOCH      1445193000
       PARA       21.5
       TIME       20:30
       TAGE:
         5
         7
     9:
       EPOCH      1445198400
       PARA       16
       TIME       22:00
       TAGE:
         0
         1
         2
         3
         4
         5
         6
   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
   group      Heizplan
   room       Heizung
   verbose    3
   windowSensor Fenster_Bad


Dann habe ich gerade noch drei, die nicht geschalten wurde und der state noch auf dem falschen (hohen) Wert steht. Alle drei hätten um 20 Uhr auf 14 Grad geschalten werden.

Hier einer als Beispiel

Internals:
   CONDITION  (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEF        FHT_Hobbyraum 1234|12:30|18 57|09:00|18 19:00|14 (ReadingsVal("HCAutomatik", "state", "off") eq "on")
   DEVICE     FHT_Hobbyraum
   GlobalDaylistSpec
   LANGUAGE   de
   NAME       HCH
   NR         675
   Profil 0: Sonntag 09:00:00 18, 19:00:00 14
   Profil 1: Montag 12:30:00 18, 19:00:00 14
   Profil 2: Dienstag 12:30:00 18, 19:00:00 14
   Profil 3: Mittwoch 12:30:00 18, 19:00:00 14
   Profil 4: Donnerstag 12:30:00 18, 19:00:00 14
   Profil 5: Freitag 09:00:00 18, 19:00:00 14
   Profil 6: Samstag 09:00:00 18, 19:00:00 14
   Profil 7: Wochenende 09:00:00 18
   STATE      18
   STILLDONETIME
   TYPE       Heating_Control
   Readings:
     2015-10-18 14:07:50   disabled        0
     2015-10-18 22:30:01   nextUpdate      2015-10-19 12:30:00
     2015-10-18 22:30:01   nextValue       18
     2015-10-18 22:30:01   state           18
   SWITCHINGTIMES:
     1234|12:30|18
     57|09:00|18
     19:00|14
   Timer:
     Hch_2:
       HASH       HCH
       MODIFIER   2
       NAME       HCH_2
     Hch_settimerofday:
       HASH       HCH
       MODIFIER   SetTimerOfDay
       NAME       HCH_SetTimerOfDay
   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:
       0:
         09:00:00   18
         19:00:00   14
       1:
         12:30:00   18
         19:00:00   14
       2:
         12:30:00   18
         19:00:00   14
       3:
         12:30:00   18
         19:00:00   14
       4:
         12:30:00   18
         19:00:00   14
       5:
         09:00:00   18
         19:00:00   14
       6:
         09:00:00   18
         19:00:00   14
       7:
         09:00:00   18
   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:
     1:
       EPOCH      1445164200
       PARA       18
       TIME       12:30
       TAGE:
         1
         2
         3
         4
     2:
       EPOCH      1445151600
       PARA       18
       TIME       09:00
       TAGE:
         5
         7
     3:
       EPOCH      1445187600
       PARA       14
       TIME       19:00
       TAGE:
         0
         1
         2
         3
         4
         5
         6
   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      Hobbyraum
   group      Heizplan
   room       Heizung
   verbose    3
   windowSensor CUL_FHTTK_Hobbyraum_rechts CUL_FHTTK_Hobbyraum_links CUL_FHTTK_Hobbyraum_Ost
FHEM im Proxmox Container

Mitch

Hab gerade nochmal einen Test gemacht.

Bei dem Device HCWK sollte eigentlich jetzt state 14 sein, ist aber 18 (also die Tagestemperatur).

Wenn ich jetzt auf DEF und dann modify HCWK klicke, wird state ganz kurz 14, also richtig und schlatet dann wieder auf 18.

Habe das ganze dann nochmal mit verbose 5 gemacht (Log ist von unten nach oben zu lesen):

2015.10.18 23:02:32 2: FHT set FHT_Waschkeller desired-temp 18.0
2015.10.18 23:02:32 4: [HCWK] command: set FHT_Waschkeller desired-temp 18.0 executed
2015.10.18 23:02:32 4: [HCWK] aktParam:14.0 newParam:18.0 - is  not disabled
2015.10.18 23:02:32 4: [HCWK] device type FHT: recognized, setModifier:desired-temp
2015.10.18 23:02:32 4: [HCWK] next: 2015-10-19 12:30:00(mo) -->> 18
2015.10.18 23:02:32 4: [HCWK] akt:  2015-10-18 19:00:00(so) -->> 14
2015.10.18 23:02:32 4: [HCWK] Update   - timer seems to be active today: 57|09:00|18
2015.10.18 23:02:32 5: [HCWK] sensor 'd_ECOMode' Reading/Attribute 'state' is 'closed'
2015.10.18 23:02:32 5: [HCWK] sensor 'CUL_FHTTK_Waschkeller' Reading/Attribute 'Window' is 'Closed'
2015.10.18 23:02:32 5: [HCWK] list of window sensors found: 'CUL_FHTTK_Waschkeller  d_ECOMode HCWK'
2015.10.18 23:02:32 5: [HCWK] setting  Timer: HCWK_2 2015-10-18 19:00:00
2015.10.18 23:02:32 5: [HCWK] sensor 'd_ECOMode' Reading/Attribute 'state' is 'closed'
2015.10.18 23:02:32 5: [HCWK] sensor 'CUL_FHTTK_Waschkeller' Reading/Attribute 'Window' is 'Closed'
2015.10.18 23:02:32 5: [HCWK] list of window sensors found: 'CUL_FHTTK_Waschkeller  d_ECOMode HCWK'
2015.10.18 23:02:32 4: [HCWK] next: 2015-10-19 12:30:00(mo) -->> 18
2015.10.18 23:02:32 4: [HCWK] akt:  2015-10-18 19:00:00(so) -->> 14
2015.10.18 23:02:32 4: [HCWK] Heating recognized - switch in the past activated
2015.10.18 23:02:32 4: [HCWK] device type FHT: recognized, setModifier:desired-temp
2015.10.18 23:02:31 5: [HCWK] setting  Timer: HCWK_SetTimerOfDay 2015-10-19 00:00:05
2015.10.18 23:02:31 5: [HCWK] removing Timer: HCWK_SetTimerOfDay
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18 (Profil 7: Wochenende)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 6: Samstag)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 5: Freitag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 4: Donnerstag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 3: Mittwoch)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 2: Dienstag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 1: Montag)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 0: Sonntag)
2015.10.18 23:02:31 4: [HCWK] 07:07:13 18:51:57 Sonntag
2015.10.18 23:02:31 3: [HCWK] "7" in daylist now means $we(weekend) - see dokumentation!!!
2015.10.18 23:02:31 3: [HCWK] "7" in daylist now means $we(weekend) - see dokumentation!!!
2015.10.18 23:02:31 5: [HCWK] removing Timer: HCWK_2
FHEM im Proxmox Container

Dietmar63

Ich kann mir das am Mittwoch mal ansehen. Habe hier nur ein paar Handy zur Verteidigung.
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Mitch

FHEM im Proxmox Container

Dietmar63

Zitat von: Mitch am 18 Oktober 2015, 23:07:36
Hab gerade nochmal einen Test gemacht.

Bei dem Device HCWK sollte eigentlich jetzt state 14 sein, ist aber 18 (also die Tagestemperatur).

Wenn ich jetzt auf DEF und dann modify HCWK klicke, wird state ganz kurz 14, also richtig und schlatet dann wieder auf 18.

Habe das ganze dann nochmal mit verbose 5 gemacht (Log ist von unten nach oben zu lesen):

2015.10.18 23:02:32 2: FHT set FHT_Waschkeller desired-temp 18.0
2015.10.18 23:02:32 4: [HCWK] command: set FHT_Waschkeller desired-temp 18.0 executed
2015.10.18 23:02:32 4: [HCWK] aktParam:14.0 newParam:18.0 - is  not disabled
2015.10.18 23:02:32 4: [HCWK] device type FHT: recognized, setModifier:desired-temp
2015.10.18 23:02:32 4: [HCWK] next: 2015-10-19 12:30:00(mo) -->> 18
2015.10.18 23:02:32 4: [HCWK] akt:  2015-10-18 19:00:00(so) -->> 14
2015.10.18 23:02:32 4: [HCWK] Update   - timer seems to be active today: 57|09:00|18
2015.10.18 23:02:32 5: [HCWK] sensor 'd_ECOMode' Reading/Attribute 'state' is 'closed'
2015.10.18 23:02:32 5: [HCWK] sensor 'CUL_FHTTK_Waschkeller' Reading/Attribute 'Window' is 'Closed'
2015.10.18 23:02:32 5: [HCWK] list of window sensors found: 'CUL_FHTTK_Waschkeller  d_ECOMode HCWK'
2015.10.18 23:02:32 5: [HCWK] setting  Timer: HCWK_2 2015-10-18 19:00:00
2015.10.18 23:02:32 5: [HCWK] sensor 'd_ECOMode' Reading/Attribute 'state' is 'closed'
2015.10.18 23:02:32 5: [HCWK] sensor 'CUL_FHTTK_Waschkeller' Reading/Attribute 'Window' is 'Closed'
2015.10.18 23:02:32 5: [HCWK] list of window sensors found: 'CUL_FHTTK_Waschkeller  d_ECOMode HCWK'
2015.10.18 23:02:32 4: [HCWK] next: 2015-10-19 12:30:00(mo) -->> 18
2015.10.18 23:02:32 4: [HCWK] akt:  2015-10-18 19:00:00(so) -->> 14
2015.10.18 23:02:32 4: [HCWK] Heating recognized - switch in the past activated
2015.10.18 23:02:32 4: [HCWK] device type FHT: recognized, setModifier:desired-temp
2015.10.18 23:02:31 5: [HCWK] setting  Timer: HCWK_SetTimerOfDay 2015-10-19 00:00:05
2015.10.18 23:02:31 5: [HCWK] removing Timer: HCWK_SetTimerOfDay
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18 (Profil 7: Wochenende)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 6: Samstag)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 5: Freitag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 4: Donnerstag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 3: Mittwoch)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 2: Dienstag)
2015.10.18 23:02:31 4: [HCWK] 12:30:00 18, 19:00:00 14 (Profil 1: Montag)
2015.10.18 23:02:31 4: [HCWK] 09:00:00 18, 19:00:00 14 (Profil 0: Sonntag)
2015.10.18 23:02:31 4: [HCWK] 07:07:13 18:51:57 Sonntag
2015.10.18 23:02:31 3: [HCWK] "7" in daylist now means $we(weekend) - see dokumentation!!!
2015.10.18 23:02:31 3: [HCWK] "7" in daylist now means $we(weekend) - see dokumentation!!!
2015.10.18 23:02:31 5: [HCWK] removing Timer: HCWK_2


Ich benötige die Definition zu Waschkeller noch
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Mitch

#623
Bitte sehr (aus der cfg):

define HCWK Heating_Control FHT_Waschkeller 1234|12:30|18 57|09:00|18 19:00|14 (ReadingsVal("HCAutomatik", "state", "off") eq "on")
attr HCWK alias Waschkeller
attr HCWK group Heizplan
attr HCWK room Heizung
attr HCWK verbose 3
attr HCWK windowSensor CUL_FHTTK_Waschkeller  d_ECOMode



FHEM im Proxmox Container

cotecmania

Hi,

hier der erste Test mit Verbose 4 und mehrern MAX-Thermostaten als Liste :

[HC.Test] invalid device, <HK_EILEEN,HK_TAMARA,HK_MARCEL> not found
2015.10.20 17:53:47 1: No Logdevice FileLog_HK_WOHNEN
2015.10.20 17:53:47 1: No Logdevice FileLog_HK_WOHNEN_E
2015.10.20 17:55:01 4: [HC.HK_Test] Update   - timer seems to be active today: 0123456|17:55|21
2015.10.20 17:55:01 4: [HC.HK_Test] akt:  2015-10-20 17:55:00(di) -->> 21
2015.10.20 17:55:01 4: [HC.HK_Test] next: 2015-10-21 17:55:00(mi) -->> 21
2015.10.20 17:55:01 4: [HC.HK_Test] aktParam: newParam:21 - is  not disabled
2015.10.20 17:55:01 4: [HC.HK_Test] command: set HK_EILEEN,HK_TAMARA,HK_MARCEL  21 executed
2015.10.20 17:55:01 3: Unknown argument 21, choose one of wakeUp factoryReset groupid associate:HK_KUECHE ...


Hier Test 2 mit HomeMatic und Wildcards
[HC_HK_Test2] invalid device, <HK_HM_WOHNEN_._Clima> not found
2015.10.20 19:30:00 4: [HC_HK_Test2] Update   - timer seems to be active today: 12345|19:30|22
2015.10.20 19:30:00 4: [HC_HK_Test2] akt:  2015-10-20 19:30:00(di) -->> 22
2015.10.20 19:30:00 4: [HC_HK_Test2] next: 2015-10-21 19:30:00(mi) -->> 22
2015.10.20 19:30:00 4: [HC_HK_Test2] aktParam: newParam:22 - is  not disabled
2015.10.20 19:30:00 4: [HC_HK_Test2] command: set HK_HM_WOHNEN_._Clima  22 executed
2015.10.20 19:30:00 3: Unknown argument 22, choose one of burstXmit clear:readings,t ...


Gruss
FHEM auf RaspberryPI B (buster)
2xCUL868 für MAX/Slow_RF, HM-LAN, JeeLink
MAX!/HM-Thermostate, FS20/HM-Rolladenschalter, FS20-EM, LevelJet-Ölstandsmessung, PCA301, IT, KM271, IPCAM, FireTAB10 FTUI

Dietmar63

Zitat von: cotecmania am 20 Oktober 2015, 19:32:09
Hi,

hier der erste Test mit Verbose 4 und mehrern MAX-Thermostaten als Liste :

[HC.Test] invalid device, <HK_EILEEN,HK_TAMARA,HK_MARCEL> not found
2015.10.20 17:53:47 1: No Logdevice FileLog_HK_WOHNEN
2015.10.20 17:53:47 1: No Logdevice FileLog_HK_WOHNEN_E
2015.10.20 17:55:01 4: [HC.HK_Test] Update   - timer seems to be active today: 0123456|17:55|21
2015.10.20 17:55:01 4: [HC.HK_Test] akt:  2015-10-20 17:55:00(di) -->> 21
2015.10.20 17:55:01 4: [HC.HK_Test] next: 2015-10-21 17:55:00(mi) -->> 21
2015.10.20 17:55:01 4: [HC.HK_Test] aktParam: newParam:21 - is  not disabled
2015.10.20 17:55:01 4: [HC.HK_Test] command: set HK_EILEEN,HK_TAMARA,HK_MARCEL  21 executed
2015.10.20 17:55:01 3: Unknown argument 21, choose one of wakeUp factoryReset groupid associate:HK_KUECHE ...


Hier Test 2 mit HomeMatic und Wildcards
[HC_HK_Test2] invalid device, <HK_HM_WOHNEN_._Clima> not found
2015.10.20 19:30:00 4: [HC_HK_Test2] Update   - timer seems to be active today: 12345|19:30|22
2015.10.20 19:30:00 4: [HC_HK_Test2] akt:  2015-10-20 19:30:00(di) -->> 22
2015.10.20 19:30:00 4: [HC_HK_Test2] next: 2015-10-21 19:30:00(mi) -->> 22
2015.10.20 19:30:00 4: [HC_HK_Test2] aktParam: newParam:22 - is  not disabled
2015.10.20 19:30:00 4: [HC_HK_Test2] command: set HK_HM_WOHNEN_._Clima  22 executed
2015.10.20 19:30:00 3: Unknown argument 22, choose one of burstXmit clear:readings,t ...


Gruss

du musst mir deine Definition schicken.
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

cotecmania

Zitat von: Dietmar63 am 20 Oktober 2015, 19:59:32
du musst mir deine Definition schicken.

Meinst Du das ?

define HC.HK_Test Heating_Control HK_EILEEN,HK_TAMARA,HK_MARCEL Mo-So|17:55|21
attr HC.HK_Test verbose 4
define HC_HK_Test2 Heating_Control HK_HM_WOHNEN_._Clima Mo-Fr|19:30|22
attr HC_HK_Test2 verbose 4
FHEM auf RaspberryPI B (buster)
2xCUL868 für MAX/Slow_RF, HM-LAN, JeeLink
MAX!/HM-Thermostate, FS20/HM-Rolladenschalter, FS20-EM, LevelJet-Ölstandsmessung, PCA301, IT, KM271, IPCAM, FireTAB10 FTUI

Mitch

Hie Dietmar,

kannst Du schon etwas zu meinen Problemen sagen?

Heute wurden wird ein paar nicht geschalten, weil der state inactive war.
FHEM im Proxmox Container

Dietmar63

#628
Nein, ich war mehrere Tage nicht zu Hause.
Hast du Protokolle? So dass man erkennen kann warum bzw. Wie es dazu kommt, dass die HC auf inactive gehen?

Werden bei dir regelmäßig Heating_Control_SetAllTems() ausgeführt?
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

@ cotecmania

Die Lösung ist so:
define HC.HK_Test Heating_Control HK_EILEEN,HK_TAMARA,HK_MARCEL Mo-So|17:55|21 { fhem ("set @ desired-temp %") }

Hintergrund:

HC versucht anhand der Definition des devices herauszufinden, ob es sich um eine Heizung handeln könnte und mit welchem modifier (desired-temp, desired, desiredTemp) die Heizung verstellt werden muss. Wenn in der Angabe des devices ein regulärer Ausdruck angegeben ist, kann diese Logik nicht angewendet werden, so dass per Command {} der anzuwendende Befehl in Form von Perlcode mitgegeben werden muss.

Bei Dir:
{ fhem ("set @ desired-temp %") }

@ wird durch das device ersetzt
% wird  durch den Parameter ersetzt.

Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm