Hallo Leute,
hoffe jemand hat eine Idee. Ich würde gern mein System von Twilight nach Astro umstellen. Ich nutze es für meine Jalousiensteuerung. Ich habe dort eine Fehlermeldung dirn. Konnte aber unter google leider nix passendes finden wie ich dieses anderes einstellen muss.
Ich bin im Perl bereich mega schlecht.
Internals:
DEF ([({twilight("Astro","CivilTwilightEvening","16:30","20:15")}-600+int(rand(600)))])
(set Strasse_ganz_runter trigger)
DOELSE
()
FUUID 6629515d-f33f-c6b9-971a-21d0886e9a58677a
MODEL FHEM
NAME Jalousie_Strasse
NOTIFYDEV global
NR 48
NTFY_ORDER 50-Jalousie_Strasse
STATE initialized
TYPE DOIF
VERSION 28546 2024-02-23 20:11:05
READINGS:
2024-04-24 21:59:27 cmd 0
2024-04-24 21:59:27 mode enabled
2024-04-24 21:59:27 state initialized
2024-04-25 17:03:17 timer_01_c01 error: the function "twilight("Astro","CivilTwilightEvening","16:30","20:15")" must return a timespec and not Undefined subroutine &main::twilight called at (eval 216) line 1.
.
Regex:
accu:
bar:
barAvg:
collect:
condition:
0 ::DOIF_time_once($hash,0,$wday)
do:
0:
0 set Strasse_ganz_runter trigger
1:
0
helper:
NOTIFYDEV global
globalinit 1
last_timer 1
sleeptimer -1
localtime:
perlblock:
time:
0 ({twilight("Astro","CivilTwilightEvening","16:30","20:15")}-600+int(rand(600)))
timeCond:
0 0
timer:
0 0
timers:
0 0
uiState:
uiTable:
Attributes:
do always
room Logo
Hoffe jemand kann mir sagen und helfen wie ich das umstellen kann.
Danke schon mal für die Hilfe