Hallo,
habe meine MAX Heizung um ein Comet dect erweitert.
Habe das Problem, wenn ich die Heizungsautomtik HC von aus auf ein stelle, wird das Ventil comet dect auf 10° gestellt und ich weiß nicht wo das her kommt, bzw. wer es schaltet.
list Comet_dect
Internals:
DEF fbahahttp:11959_0019808 actuator,tempSensor
IODev fbahahttp
LASTInputDev fbahahttp
MSGCNT 11
NAME FBDECT_fbahahttp_11959_0019808
NR 165
STATE desired-temp: 11.0 C
TYPE FBDECT
fbahahttp_MSGCNT 11
fbahahttp_TIME 2017-11-19 17:38:27
id 11959_0019808
props actuator,tempSensor
READINGS:
2017-11-19 17:38:26 AIN 11959 0019808
2017-11-19 17:38:26 FBNAME Wohnzimmer
2017-11-19 17:38:26 FBPROP actuator,tempSensor
2017-11-19 17:38:26 FBTYPE Comet DECT
2017-11-19 17:38:26 ID 16
2017-11-19 17:38:26 batterylow 0
2017-11-19 17:38:26 day-temp 10.5 C
2017-11-19 17:38:26 desired-temp 11.0 C
2017-11-19 17:38:26 fwversion 03.54
2017-11-19 17:38:26 locked no
2017-11-19 17:38:26 night-temp 9.0 C
2017-11-19 17:38:26 present yes
2017-11-19 17:38:26 state desired-temp: 11.0 C
2017-11-19 17:38:26 tempadjust -4.5 C
2017-11-19 17:38:26 temperature 11.5 C (measured)
Attributes:
IODev fbahahttp
alias DECT_Wohnzimmer
fm_type current
group Heizung
icon sani_heating
model CometDECT
room Favourites,Wohnzimmer
verbose 1
List HC
HC_WZ
Internals:
COMMAND {fhem("set $NAME desired-temp $EVENT");}
CONDITION
DEF FBDECT_fbahahttp_11959_0019808 1234|15:00|21 5|14:00|21 12345|22:30|10 6|08:00|21 6|23:30|10 0|22:30|10 {fhem("set $NAME desired-temp $EVENT");}
DEVICE FBDECT_fbahahttp_11959_0019808
GlobalDaylistSpec
LANGUAGE de
NAME HC_WZ
NR 131
Profil 0: Sonntag 22:30:00 10
Profil 1: Montag 15:00:00 21, 22:30:00 10
Profil 2: Dienstag 15:00:00 21, 22:30:00 10
Profil 3: Mittwoch 15:00:00 21, 22:30:00 10
Profil 4: Donnerstag 15:00:00 21, 22:30:00 10
Profil 5: Freitag 14:00:00 21, 22:30:00 10
Profil 6: Samstag 08:00:00 21, 23:30:00 10
STATE active
STILLDONETIME 0
TYPE Heating_Control
READINGS:
2017-11-19 17:30:37 currValue 10
2017-11-19 16:30:14 disabled 0
2017-11-19 17:30:37 nextUpdate 2017-11-19 22:30:00
2017-11-19 17:30:37 nextValue 10
2017-11-19 17:30:32 state active
SWITCHINGTIMES:
1234|15:00|21
5|14:00|21
12345|22:30|10
6|08:00|21
6|23:30|10
0|22:30|10
TIMER:
HC_WZ_3:
HASH HC_WZ
MODIFIER 3
NAME HC_WZ_3
HC_WZ_5:
HASH HC_WZ
MODIFIER 5
NAME HC_WZ_5
immerSchalten 1
HC_WZ_6:
HASH HC_WZ
MODIFIER 6
NAME HC_WZ_6
HC_WZ_SetTimerOfDay:
HASH HC_WZ
MODIFIER SetTimerOfDay
NAME HC_WZ_SetTimerOfDay
SETTIMERATMIDNIGHT 1
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:
22:30:00 10
1:
15:00:00 21
22:30:00 10
2:
15:00:00 21
22:30:00 10
3:
15:00:00 21
22:30:00 10
4:
15:00:00 21
22:30:00 10
5:
14:00:00 21
22:30:00 10
6:
08:00:00 21
23:30:00 10
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 1511100000
PARA 21
TIME 15:00
TAGE:
1
2
3
4
2:
EPOCH 1511096400
PARA 21
TIME 14:00
TAGE:
5
3:
EPOCH 1511127000
PARA 10
TIME 22:30
TAGE:
1
2
3
4
5
4:
EPOCH 1511074800
PARA 21
TIME 08:00
TAGE:
6
5:
EPOCH 1511130600
PARA 10
TIME 23:30
TAGE:
6
6:
EPOCH 1511127000
PARA 10
TIME 22:30
TAGE:
0
profile_IDX:
0:
22:30:00 6
1:
15:00:00 1
22:30:00 3
2:
15:00:00 1
22:30:00 3
3:
15:00:00 1
22:30:00 3
4:
15:00:00 1
22:30:00 3
5:
14:00:00 2
22:30:00 3
6:
08:00:00 4
23:30:00 5
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:
commandTemplate set $NAME desired-temp $EVENT
group Heizplan
room Heizung
List HCAutomatik
HCAutomatik
Internals:
NAME HCAutomatik
NR 139
STATE off
TYPE dummy
READINGS:
2017-11-19 17:33:54 state off
Attributes:
alias Heizungsautomatik
devStateIcon on:general_an off:general_aus
group Automatik
icon sani_heating_automatic
room Heizung
sortby 1
webCmd on:off
Internals:
DEF HCAutomatik:on {
Heating_Control_SetAllTemps();
fhem("set HCS_System on");
}
NAME act_on_HCAutomatikAn
NOTIFYDEV HCAutomatik
NR 141
NTFY_ORDER 50-act_on_HCAutomatikAn
REGEXP HCAutomatik:on
STATE 2017-11-19 17:30:32
TYPE notify
READINGS:
2017-11-19 17:30:11 state active
Attributes:
Internals:
DEF HCAutomatik:off {
fhem("set MAX_.* desiredTemperature 11.0 ; set FBDECT_.* desired-temp 11.0 ; set HCS_System off");
}
NAME act_on_HCAutomatikAus
NOTIFYDEV HCAutomatik
NR 143
NTFY_ORDER 50-act_on_HCAutomatikAus
REGEXP HCAutomatik:off
STATE 2017-11-19 17:33:54
TYPE notify
READINGS:
2017-11-19 17:30:11 state active
Attributes:
Relevant ist auch die Einstellung des Thermostats in der Fritzbox. Wie sieht die aus?
Ich glaube, it works as designed. Du setzt ja im notify Heating_Control_SetAllTemps().
Gruß
Hans
Ich hatte erstmal die Profile nicht geguckt.
ZitatProfil 0: Sonntag 22:30:00 10
Profil 1: Montag 15:00:00 21, 22:30:00 10
Profil 2: Dienstag 15:00:00 21, 22:30:00 10
Profil 3: Mittwoch 15:00:00 21, 22:30:00 10
Profil 4: Donnerstag 15:00:00 21, 22:30:00 10
Profil 5: Freitag 14:00:00 21, 22:30:00 10
Profil 6: Samstag 08:00:00 21, 23:30:00 10
Samstags um 23:30 schaltet er auf 10. Seitdem ist die Solltemperatur 10. Und zwar bis Montag 15:00. Mit SetAllTemps() wird dann immer noch 10 geschickt. Hans hat recht, es funktioniert wie es soll.
Es sei denn dein CometDECT ein eigenes Zeitprofil in der Fritzbox hat... Dann würden evtl. andere Schaltzeiten noch dazu kommen. Aber immerhin wenn Du die Automatik einschaltest, wird es das notify triggern, und wieder 10 schicken.
Zitat von: amenomade am 19 November 2017, 20:01:15
Ich hatte erstmal die Profile nicht geguckt.
Samstags um 23:30 schaltet er auf 10. Seitdem ist die Solltemperatur 10. Und zwar bis Montag 15:00. Mit SetAllTemps() wird dann immer noch 10 geschickt. Hans hat recht, es funktioniert wie es soll.
Es sei denn dein CometDECT ein eigenes Zeitprofil in der Fritzbox hat... Dann würden evtl. andere Schaltzeiten noch dazu kommen. Aber immerhin wenn Du die Automatik einschaltest, wird es das notify triggern, und wieder 10 schicken.
Danke, genau das war das Problem, hatte in der Config für Sonntag eine 7 anstelle einer null.
In der Fritzbox sind keine Schaltzeiten hinterlegt.
Aber wie kann ich dem Comet-dect beibringen, dass er erst wieder das Wochenprogramm schaltet wenn ich die Automatik einschalte?
Aktuell ist die Automatik aus, und er schaltet immer noch zu den in FHEM hinterlegten Schaltzeiten?
Heiko
Indem du die Condition nutzt.
Theoretisch brauchst Du {fhem("set $NAME desired-temp $EVENT");}
nicht, da Du schon commandTemplate set $NAME desired-temp $EVENT
Statt dessen kannst Du eine Condition hinzufügen:
(ReadingsVal("HCAutomatik", "state", "") eq "on")
Alles ist im CommandRef https://fhem.de/commandref_DE.html#Heating_Control und im Wiki https://wiki.fhem.de/wiki/Heating_Control erklärt.
DEF FBDECT_fbahahttp_11959_0019808 1234|15:00|21 5|14:00|21 12345|22:30|10 6|08:00|21 6|23:30|10 0|22:30|10 (ReadingsVal("HCAutomatik", "state", "") eq "on")
Das hatte ich schon mal so versucht.Ohne Erfolg.
Sicher habe ich was falsch gemacht denn nun geht es so wie es soll.
Vielen Dank für die Hilfe.
Heiko