Hi,
ich habe mehre WD definiert - einer funktioniert nicht und ich verstehe nicht warum. Er soll zu bestimmen Zeiten an eine definierte Structure on/off schicken - diese reagiert auch auf ein händisches
set Wohnzimmerbeleuchtung on
meine WD Definition sieht so aus:
COMMAND
CONDITION
DEF Wohnzimmerbeleuchtung 0123456|06:00|on 0123456|15:40|on 123|08:15|off 4560|10:15|off 0123456|23:55|off
DEVICE Wohnzimmerbeleuchtung
GlobalDaylistSpec
LANGUAGE de
NAME Wohnzimmer_WD
NR 257
Profil 0: Sonntag 06:00:00 on, 10:15:00 off, 15:40:00 on, 23:55:00 off
Profil 1: Montag 06:00:00 on, 08:15:00 off, 15:40:00 on, 23:55:00 off
Profil 2: Dienstag 06:00:00 on, 08:15:00 off, 15:40:00 on, 23:55:00 off
Profil 3: Mittwoch 06:00:00 on, 08:15:00 off, 15:40:00 on, 23:55:00 off
Profil 4: Donnerstag 06:00:00 on, 10:15:00 off, 15:40:00 on, 23:55:00 off
Profil 5: Freitag 06:00:00 on, 10:15:00 off, 15:40:00 on, 23:55:00 off
Profil 6: Samstag 06:00:00 on, 10:15:00 off, 15:40:00 on, 23:55:00 off
STATE on
STILLDONETIME 0
TYPE WeekdayTimer
Helper:
DBLOG:
currValue:
myDbLog:
TIME 1543934400.02168
VALUE on
nextUpdate:
myDbLog:
TIME 1543934400.02168
VALUE 2018-12-04 23:55:00
nextValue:
myDbLog:
TIME 1543934400.02168
VALUE off
state:
myDbLog:
TIME 1543934400.02168
VALUE on
Ein WD, welcher funktioniert sieht so aus:
Internals:
COMMAND
CONDITION
DEF Galeriebeleuchtung 0123456|05:45|on 0123456|14:50|on 8|08:15|off 7|10:15|off 0123456|23:00|off
DEVICE Galeriebeleuchtung
GlobalDaylistSpec
LANGUAGE de
NAME Galerielicht_WD
NR 317
Profil 0: Sonntag 05:45:00 on, 10:15:00 off, 14:50:00 on, 23:00:00 off
Profil 1: Montag 05:45:00 on, 08:15:00 off, 14:50:00 on, 23:00:00 off
Profil 2: Dienstag 05:45:00 on, 08:15:00 off, 14:50:00 on, 23:00:00 off
Profil 3: Mittwoch 05:45:00 on, 08:15:00 off, 14:50:00 on, 23:00:00 off
Profil 4: Donnerstag 05:45:00 on, 08:15:00 off, 14:50:00 on, 23:00:00 off
Profil 5: Freitag 05:45:00 on, 08:15:00 off, 14:50:00 on, 23:00:00 off
Profil 6: Samstag 05:45:00 on, 10:15:00 off, 14:50:00 on, 23:00:00 off
Profil 7: Wochenende 10:15:00 off
Profil 8: Werktags 08:15:00 off
STATE on
STILLDONETIME 0
TYPE WeekdayTimer
Helper:
DBLOG:
currValue:
myDbLog:
TIME 1543931401.04906
VALUE on
nextUpdate:
myDbLog:
TIME 1543931401.04906
VALUE 2018-12-04 23:00:00
nextValue:
myDbLog:
TIME 1543931401.04906
VALUE off
state:
myDbLog:
TIME 1543931401.04906
VALUE on
READINGS:
2018-12-04 14:50:01 currValue on
2018-12-04 14:50:01 nextUpdate 2018-12-04 23:00:00
2018-12-04 14:50:01 nextValue off
2018-12-04 14:50:01 state on
Die entsprechende Structure ist wie folgt definiert:
Internals:
ATTR room
CHANGEDCNT 18
DEF room Steckdose_WZ_TV st.Esszimmer Steckdose_Esszimmerscharnk_innen st.Flurlicht WZ_Licht1 WZ_Licht2 trafo_esszimmer trafo_wohnzimmer
NAME Wohnzimmerbeleuchtung
NR 202
NTFY_ORDER 50-Wohnzimmerbeleuchtung
STATE on
STILLDONETIME 0
TYPE structure
Helper:
DBLOG:
state:
myDbLog:
TIME 1543935431.92629
VALUE on
READINGS:
2018-12-04 15:57:11 LastDevice WZ_Licht2
2018-12-04 15:57:11 LastDevice_Abs WZ_Licht2
2018-12-04 15:57:11 state on
Attributes:
clientstate_behavior relative
clientstate_priority on off
group Licht
icon li_wht_on
room 01. Wohnzimmer,97. AT
userattr room_map structexclude
Ich wäre für einen Tip echt dankbar.
Christian
Was sagt das FHEM-Log?