Hallo,
ich habe einen Rolladen der heute morgen um 08:23 Uhr hochgefahren ist:
Internals:
CHANGED
DEF 192.168.178.141
DURATION 0
FUUID 5d441660-f33f-8efe-d36e-a41d12dfc010f833
INTERVAL 30
MOVING stopped
NAME RolladenKueche
NR 2371
STATE 100
TARGETPCT 100
TCPIP 192.168.178.141
TYPE Shelly
READINGS:
2019-08-02 12:54:26 cloud disabled
2019-11-01 08:45:04 energy_0 56.4
2019-08-19 15:34:26 firmware v1.5.0-hotfix4(update needed to v1.5.1)
2019-11-01 08:23:57 last_dir up
2019-11-01 11:53:52 network <html>connected to <a href="http://192.168.178.141">192.168.178.141</a></html>
2019-08-02 12:54:26 overpower 0
2019-11-01 08:45:01 pct 100
2019-11-01 08:45:01 position open
2019-11-01 08:23:57 power 0
2019-11-01 08:45:04 power_0 0
2019-08-02 12:54:26 relay off
2019-11-01 11:53:52 state stopped
2019-08-02 12:55:04 stop_reason normal
Attributes:
cmdIcon open:control_arrow_up@grey stop:rc_STOP@grey closed:control_arrow_down@grey
comment Gerät in DeConz: Shelly1
devStateIcon 0:fts_shutter_100 100:fts_window_2w 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100
group Rolladen
icon fts_shutter_20
interval 30
mode roller
model shelly2.5
room 1.Start,Shelly
sortby 21
stateFormat pct
webCmd pct:open:stop:closed
Eigentlich wird er durch ein DOIF gesteuert und darf erst um 08:45 Uhr hoch fahren.
Internals:
DEF ([Freigabe_Rolladen_Auto] eq "on" and ([Alle_Rolladen] eq "open" or ([?Wochenende] eq "on" and [{sunrise(0,ReadingsVal("Uhrzeit_hoch_WE","state","04:30"),"10:00")}]))) (set RolladenKueche open) ## 1
DOELSEIF ([Freigabe_Rolladen_Auto] eq "on" and ([Alle_Rolladen] eq "open" or ([?Wochenende] eq "off" and [{sunrise(0,ReadingsVal("Uhrzeit_hoch_WTag","state","04:30"),"08:00")}]))) (set RolladenKueche open) ## 2
DOELSEIF ([Freigabe_Rolladen_Auto] eq "on" and ([Alle_Rolladen] eq "closed" or [[Uhrzeit_runter:state]] or ([Dunkel] eq "on" and [20:30-23:00]) or ([Alarmanlage] eq "on" and [22:00-05:00])))(set RolladenKueche closed) ## 3
DOELSEIF ([Freigabe_Rolladen_Auto] eq "on" and ([Alle_Rolladen] eq "stop"))(set RolladenKueche stop)## 4
DOELSE (set RolladenKueche stop) ## 5
FUUID 5d54fbd2-f33f-8efe-9956-29fa5c950ec3f10e
MODEL FHEM
NAME RolladenKueche2DOIF
NOTIFYDEV Uhrzeit_runter,Dunkel,Freigabe_Rolladen_Auto,Alle_Rolladen,global,Alarmanlage
NR 2397
NTFY_ORDER 50-RolladenKueche2DOIF
STATE cmd_1
TYPE DOIF
VERSION 20254 2019-09-26 18:06:30
READINGS:
2019-11-01 08:31:04 Device Alarmanlage
2019-11-01 08:45:00 cmd 1
2019-11-01 08:45:00 cmd_event timer_1
2019-11-01 08:45:00 cmd_nr 1
2019-11-01 08:31:04 e_Alarmanlage_STATE off
2019-11-01 06:48:49 e_Dunkel_STATE off
2019-10-27 07:59:49 e_Freigabe_Rolladen_Auto_STATE on
2019-10-25 11:09:35 mode enabled
2019-11-01 08:45:00 state cmd_1
2019-11-01 08:45:00 timer_01_c01 02.11.2019 08:45:00
2019-11-01 07:30:00 timer_02_c02 02.11.2019 07:30:00
2019-10-31 23:55:00 timer_03_c03 01.11.2019 23:55:00
2019-10-31 23:00:00 timer_04_c03 01.11.2019 20:30:00
2019-10-31 23:00:00 timer_05_c03 01.11.2019 23:00:00
2019-11-01 05:00:00 timer_06_c03 01.11.2019 22:00:00
2019-11-01 05:00:00 timer_07_c03 02.11.2019 05:00:00
Regex:
accu:
cond:
Alarmanlage:
0:
1:
2:
&STATE ^Alarmanlage$
3:
Alle_Rolladen:
0:
&STATE ^Alle_Rolladen$
1:
&STATE ^Alle_Rolladen$
2:
&STATE ^Alle_Rolladen$
3:
&STATE ^Alle_Rolladen$
Dunkel:
0:
1:
2:
&STATE ^Dunkel$
3:
Freigabe_Rolladen_Auto:
0:
&STATE ^Freigabe_Rolladen_Auto$
1:
&STATE ^Freigabe_Rolladen_Auto$
2:
&STATE ^Freigabe_Rolladen_Auto$
3:
&STATE ^Freigabe_Rolladen_Auto$
itimer:
Uhrzeit_runter:
itimer:
state ^Uhrzeit_runter$:^state:
attr:
cmdState:
wait:
waitdel:
condition:
0 ::InternalDoIf($hash,'Freigabe_Rolladen_Auto','STATE') eq "on" and (::InternalDoIf($hash,'Alle_Rolladen','STATE') eq "open" or (::InternalDoIf($hash,'Wochenende','STATE') eq "on" and ::DOIF_time_once($hash,0,$wday)))
1 ::InternalDoIf($hash,'Freigabe_Rolladen_Auto','STATE') eq "on" and (::InternalDoIf($hash,'Alle_Rolladen','STATE') eq "open" or (::InternalDoIf($hash,'Wochenende','STATE') eq "off" and ::DOIF_time_once($hash,1,$wday)))
2 ::InternalDoIf($hash,'Freigabe_Rolladen_Auto','STATE') eq "on" and (::InternalDoIf($hash,'Alle_Rolladen','STATE') eq "closed" or ::DOIF_time_once($hash,2,$wday) or (::InternalDoIf($hash,'Dunkel','STATE') eq "on" and ::DOIF_time($hash,3,4,$wday,$hms)) or (::InternalDoIf($hash,'Alarmanlage','STATE') eq "on" and ::DOIF_time($hash,5,6,$wday,$hms)))
3 ::InternalDoIf($hash,'Freigabe_Rolladen_Auto','STATE') eq "on" and (::InternalDoIf($hash,'Alle_Rolladen','STATE') eq "stop")
days:
do:
0:
0 set RolladenKueche open
1:
0 set RolladenKueche open
2:
0 set RolladenKueche closed
3:
0 set RolladenKueche stop
4:
0 set RolladenKueche stop
helper:
DEVFILTER ^global$|^Dunkel$|^Alarmanlage$|^Freigabe_Rolladen_Auto$|^Alle_Rolladen$|^Uhrzeit_runter$
NOTIFYDEV global|Dunkel|Alarmanlage|Freigabe_Rolladen_Auto|Alle_Rolladen|Uhrzeit_runter
event timer_1
globalinit 1
last_timer 7
sleeptimer -1
timerdev
timerevent timer_1
triggerDev
timerevents:
timer_1
timereventsState:
timer_1
triggerEvents:
timer_1
triggerEventsState:
timer_1
internals:
all Freigabe_Rolladen_Auto:STATE Alle_Rolladen:STATE Wochenende:STATE Dunkel:STATE Alarmanlage:STATE
interval:
3 -1
4 3
5 -1
6 5
intervalfunc:
intervaltimer:
localtime:
0 1572680700
1 1572676200
2 1572648900
3 1572636600
4 1572645600
5 1572642000
6 1572667200
perlblock:
readings:
realtime:
0 08:45:00
1 07:30:00
2 23:55:00
3 20:30:00
4 23:00:00
5 22:00:00
6 05:00:00
time:
0 {sunrise(0,ReadingsVal("Uhrzeit_hoch_WE","state","04:30"),"10:00")}
1 {sunrise(0,ReadingsVal("Uhrzeit_hoch_WTag","state","04:30"),"08:00")}
2 [Uhrzeit_runter:state]
3 20:30:00
4 23:00:00
5 22:00:00
6 05:00:00
timeCond:
0 0
1 1
2 2
3 2
4 2
5 2
6 2
timer:
0 0
1 0
2 0
3 0
4 0
5 0
6 0
timers:
0 0
1 1
2 2 3 4 5 6
trigger:
triggertime:
1572636600:
localtime 1572636600
hash:
1572642000:
localtime 1572642000
hash:
1572645600:
localtime 1572645600
hash:
1572648900:
localtime 1572648900
hash:
1572667200:
localtime 1572667200
hash:
1572676200:
localtime 1572676200
hash:
1572680700:
localtime 1572680700
hash:
uiState:
uiTable:
Attributes:
startup cmd5
Das DOIF scheint auch richtig zu funktionieren. Aber warum ist der Rolladen denn trotzdem gefahren.
Ich finde den Fehler nicht und stehe bestimmt irgendwo auf dem Schlauch.
Ein Schubs wäre super.
Vielen Dank,
Jogi
Interessant wäre ein "list" vom DOIF zwischen 8:23 Uhr und 8:45 Uhr gewesen...
Zeig mal ein "list" von Uhrzeit_hoch_WTag bitte