Hallo,
ich habe ein DOIF für meine Beschattung:
([Aussentemperatur:temperature] >= 23 and [Temp_Schlafzi:temperature] >= 24 and [Helligkeit:state] > 5800 and [?13:00-17:20])
((set Jalo_SchlafZi,Jalo_Bad,Jalo_WZ_Seite 40))
DOELSEIF
([13:00-17:40] or [Helligkeit:state] < 4200)
((set Jalo_SchlafZi:FILTER=pct=40,Jalo_Bad:FILTER=pct=40,Jalo_WZ_Seite:FILTER=pct=40 on))
Doch obwohl es Heller als 4200 ist, werden die Jalousien wiedergeöffnet.
Muss ich die Helligkeitswerte anders eingeben?
List vom DOIF /waittimer:
Internals:
DEF ([Aussentemperatur:temperature] >= 23 and [Temp_Schlafzi:temperature] >= 24 and [Helligkeit:state] > 5800 and [?13:00-17:20])
((set Jalo_SchlafZi,Jalo_Bad,Jalo_WZ_Seite 40))
DOELSEIF
([13:00-17:40] or [Helligkeit:state] < 4200)
((set Jalo_SchlafZi:FILTER=pct=40,Jalo_Bad:FILTER=pct=40,Jalo_WZ_Seite:FILTER=pct=40 on))
FUUID 5c6a8907-f33f-7e98-ade1-83ccc1fb9be5b723
MODEL FHEM
NAME di_Beschattung_seite
NR 148
NTFY_ORDER 50-di_Beschattung_seite
STATE cmd_1
TYPE DOIF
VERSION 19786 2019-07-05 21:47:08
.attraggr:
.attrminint:
READINGS:
2019-08-30 16:50:15 Device Helligkeit
2019-08-30 16:44:32 cmd 1
2019-08-30 16:44:32 cmd_event set_cmd_1
2019-08-30 16:44:32 cmd_nr 1
2019-08-30 16:48:25 e_Aussentemperatur_temperature 26.4
2019-08-30 16:50:15 e_Helligkeit_state 4964.0
2019-08-30 16:48:14 e_Temp_Schlafzi_temperature 26.3
2019-08-28 18:27:09 mode enabled
2019-08-30 16:44:32 state cmd_1
2019-08-29 17:20:00 timer_01_c01 30.08.2019 13:00:00
2019-08-29 17:20:00 timer_02_c01 30.08.2019 17:20:00
2019-08-29 17:40:00 timer_03_c02 30.08.2019 13:00:00
2019-08-29 17:40:00 timer_04_c02 30.08.2019 17:40:00
2019-08-30 16:46:15 wait_timer 30.08.2019 17:06:15 cmd_2 Helligkeit
Regex:
accu:
attr:
cmdState:
wait:
0:
600
1:
1200
waitdel:
condition:
0 ::ReadingValDoIf($hash,'Aussentemperatur','temperature') >= 23 and ::ReadingValDoIf($hash,'Temp_Schlafzi','temperature') >= 24 and ::ReadingValDoIf($hash,'Helligkeit','state') > 5800 and ::DOIF_time($hash,0,1,$wday,$hms)
1 ::DOIF_time($hash,2,3,$wday,$hms) or ::ReadingValDoIf($hash,'Helligkeit','state') < 4200
days:
devices:
0 Aussentemperatur Temp_Schlafzi Helligkeit
1 Helligkeit
all Aussentemperatur Temp_Schlafzi Helligkeit
do:
0:
0 (set Jalo_SchlafZi,Jalo_Bad,Jalo_WZ_Seite 40)
1:
0 (set Jalo_SchlafZi:FILTER=pct=40,Jalo_Bad:FILTER=pct=40,Jalo_WZ_Seite:FILTER=pct=40 on)
2:
helper:
event 4964.0
globalinit 1
last_timer 4
sleepdevice Helligkeit
sleepsubtimer 0
sleeptimer 1
timerdev Helligkeit
timerevent 4964.0
triggerDev Helligkeit
DOIF_eventas:
cmd_nr: 1
cmd: 1
cmd_event: set_cmd_1
state: cmd_1
timerevents:
4964.0
timereventsState:
state: 4964.0
triggerEvents:
4964.0
triggerEventsState:
state: 4964.0
internals:
interval:
0 -1
1 0
2 -1
3 2
intervalfunc:
intervaltimer:
itimer:
localtime:
0 1567162800
1 1567178400
2 1567162800
3 1567179600
readings:
0 Aussentemperatur:temperature Temp_Schlafzi:temperature Helligkeit:state
1 Helligkeit:state
all Aussentemperatur:temperature Temp_Schlafzi:temperature Helligkeit:state
realtime:
0 13:00:00
1 17:20:00
2 13:00:00
3 17:40:00
time:
0 13:00:00
1 17:20:00
2 13:00:00
3 17:40:00
timeCond:
0 0
1 0
2 1
3 1
timer:
0 0
1 0
2 0
3 0
timers:
1 2 3
trigger:
triggertime:
1567178400:
localtime 1567178400
hash:
1567179600:
localtime 1567179600
hash:
uiState:
uiTable:
Attributes:
group Jalousien_seite
room Jalousien Di´s
wait 600:1200
List Helligkeit:
Save config
Floorplans
WohnZi-Bilder
Carport
ESA2000
FHEM
FHT
FS20
Fische
icoHaus Haus
HusqvarnaAutomower
Jalousien
Jalousien Di´s
Kalender
Keller
Nebenhaus
Plots
Steckdosen
Telefon
Unsorted
VCCU
Wetter-vorhersage
Wohnzimmer
Zentral
netatmo
unbekannte
yowsup
ÖPNV
icoEverything Everything
Logfile
Commandref
Remote doc
Edit files
Select style
Event monitor
Internals:
.getList
.setList
.updateRequestHash 1
BUSY 0
DEF http://Fhem:fhem1234@192.168.2.12/control/rcontrol?action=gettext&message=$(SEN.LXR) 120
FUUID 5c6a8907-f33f-7e98-3692-ee4e1c19a4338a51
Interval 120
LASTSEND 1567176735.21658
MainURL http://Fhem:fhem1234@192.168.2.12/control/rcontrol?action=gettext&message=$(SEN.LXR)
ModuleVersion 3.5.9 - 13.2.2019
NAME Helligkeit
NOTIFYDEV global
NR 127
NTFY_ORDER 50-Helligkeit
STATE 5021.5
TRIGGERTIME 1567176855.21154
TRIGGERTIME_FMT 2019-08-30 16:54:15
TYPE HTTPMOD
addr http://192.168.2.12:80
auth 1
code 200
compress 1
conn
data
displayurl http://Fhem:fhem1234@192.168.2.12/control/rcontrol?action=gettext&message=$(SEN.LXR)
errno 113
header
host 192.168.2.12
httpheader HTTP/1.0 200 OK
Content-type: text/plain
httpversion 1.0
hu_blocking 0
hu_filecount 3748
hu_port 80
hu_portSfx
ignoreredirects 0
loglevel 4
path /control/rcontrol?action=gettext&message=$(SEN.LXR)
protocol http
pwd fhem1234
redirects 0
timeout 10
url http://Fhem:fhem1234@192.168.2.12/control/rcontrol?action=gettext&message=$(SEN.LXR)
user Fhem
value 0
.attraggr:
.attreocr:
state
.attrminint:
.readingParseList:
01
QUEUE:
READINGS:
2019-08-30 16:52:15 state 5021.5
REQUEST:
data
header
ignoreredirects 0
retryCount 0
type update
url http://Fhem:fhem1234@192.168.2.12/control/rcontrol?action=gettext&message=$(SEN.LXR)
value 0
defptr:
readingBase:
state reading
readingNum:
state 01
readingOutdated:
requestReadings:
update:
state reading 01
sslargs:
Attributes:
event-on-change-reading state
reading01Name state
reading01Regex \n([\d\.]+)
room Haus
timeout 10
userattr reading01Name reading01Regex timeout
Vielen Dank
Hoffi
Hi,
die Logik heisst doch [13:00-17:40] or ?
Also zwischen 13:00-17:40 offen egal was sonst noch ist.
Ich denke and statt or ?
Gruß Otto
Hallo Otto,
ja... nun ist es mir wieder eingefallen.
Die Jalo soll hochgehen wenn, heller als, oder aber spätestens 17:40.
Also müßte es heißen:
([17:40] or [Helligkeit:state] < 4200)
Vielen Dank
Torsten