Eigentlich war mein Stand, dass die aktuelle Version von Calendar nicht mehr blockieren sollte. Da gab es doch einen Rewrite und der wurde doch auch übernommen, oder?
Jedenfalls ist es bei mir so, dass das Modul ca. 1 Minute blockiert zB. wenn keine Internetverbindung besteht. Sieht dann im apptime so aus:
name function max count total average maxDly
tmr-Calendar_Wakeup HASH(0x55a6174cc0c0) 60459 78 483610 6200.13 59965 HASH(env_calGoogleFhem)
tmr-Calendar_Wakeup HASH(0x55a617391178) 60277 72 483153 6710.46 43 HASH(env_calGoogle)
HMLAN0 HMLAN_Ready 3001 823 7102 8.63 0 HASH(HMLAN0)
tmr-SB_SERVER_tcb_Alive SB_SERVER_Alive:sbserver 2004 1538 5606 3.64 59436 SB_SERVER_Alive:sbserver
tmr-DbLog_execmemcache HASH(0x55a616b19688) 1280 8510 93036 10.93 113564 HASH(benDbLog)
HMLAN0 HMLAN_Read 1066 38305 237790 6.21 0 HASH(HMLAN0)
sys_di_updateLights DOIF_Notify 1053 45819 27944 0.61 0 HASH(sys_di_updateLights); HASH(env_thpl)
smartlights SMARTLIGHTS_Set 1003 22496 19033 0.85 0 HASH(smartlights); smartlights; submit
tmr-SetExtensionsFn SE sys_f_ku_motionLight on-for-timer 978 34 2676 78.71 1 SE sys_f_ku_motionLight on-for-timer
sys_f_ku_motionLight dummy_Set 978 482 11923 24.74 0 HASH(sys_f_ku_motionLight); sys_f_ku_motionLight; off
sys_di_motionLight DOIF_Notify 951 45819 14734 0.32 0 HASH(sys_di_motionLight); HASH(fl_motion)
sys_f_fl_motionLight dummy_Set 951 1084 22103 20.39 0 HASH(sys_f_fl_motionLight); sys_f_fl_motionLight; on
ku_lightLedFloor WifiLight_Set 927 140 9867 70.48 0 HASH(ku_lightLedFloor); ku_lightLedFloor; HSV; 350,100,20; 0.6
tmr-DOIF_SleepTrigger HASH(0x55a6187bd758) 615 3 731 243.67 1 HASH(sys_di_bathActivity)
env_presence dummy_Set 614 177 1923 10.86 0 HASH(env_presence); env_presence; home
wz_lightLedCouch WifiLight_Set 545 90 2340 26.00 0 HASH(wz_lightLedCouch); wz_lightLedCouch; HSV; 350,100,100; 4
wz_kodi KODI_Read 534 541 3783 6.99 0 HASH(wz_kodi)
tmr-SetExtensionsFn SE sys_f_fl_motionLight on-for-timer 523 74 2508 33.89 1 SE sys_f_fl_motionLight on-for-timer
ku_lightLedCeil WifiLight_Set 506 52 4654 89.50 0 HASH(ku_lightLedCeil); ku_lightLedCeil; HSV; 350,100,0; 6
sz_co2mini co2mini_Read 185 456633 17582 0.04 0 HASH(sz_co2mini)
sys_di_env_wallPushButtons DOIF_Notify 180 45819 424 0.01 0 HASH(sys_di_env_wallPushButtons); HASH(sz_presenceTaster_Btn1)
Das ist zB der Kalendar "env_calGoogleFhem":
Internals:
DEF ical url https://www.google.com/calendar/ical/n<zensiert>/basic.ics
NAME env_calGoogleFhem
NOTIFYDEV global
NR 230
NTFY_ORDER 50-env_calGoogleFhem
STATE triggered
TYPE Calendar
Readings:
2016-02-08 22:26:35 all aelbho12grdfsmg7t8arfs0cbsgooglecom
2016-02-08 22:26:35 calname fhem
2016-02-08 22:26:35 lastCheck 2016-02-08 22:26:34
2017-03-09 18:25:11 lastUpdate 2017-03-09 18:25:11
2016-02-08 22:26:35 modeAlarm
2017-03-09 07:55:00 modeAlarmOrStart
2016-02-08 22:26:35 modeAlarmed
2017-03-09 08:24:11 modeChanged
2017-02-05 18:38:50 modeEnd 5ncjbq483k6svc2m6lkuhrdbl4googlecom
2016-03-12 00:17:12 modeEnded
2017-03-09 07:55:00 modeStart
2017-03-09 07:55:00 modeStarted
2017-03-09 07:55:00 modeUpcoming aelbho12grdfsmg7t8arfs0cbsgooglecom
2017-03-09 18:25:11 nextUpdate 2017-03-09 19:25:11
2017-03-09 18:25:11 nextWakeup 2017-03-09 19:25:11
2017-03-09 18:25:11 state triggered
2016-02-08 22:26:35 stateChanged aelbho12grdfsmg7t8arfs0cbsgooglecom
2016-02-08 22:26:35 stateDeleted
2016-02-08 22:26:35 stateNew
2016-02-08 22:26:35 stateUpdated aelbho12grdfsmg7t8arfs0cbsgooglecom
Helper:
Bm:
Calendar_get:
cnt 5
dmx 0
max 1
tot 3
mAr:
HASH(env_calGoogleFhem)
env_calGoogleFhem
summary
aelbho12grdfsmg7t8arfs0cbsgooglecom
Calendar_notify:
cnt 425
dmx 0
mAr
max 0
tot 0
Calendar_set:
cnt 661
dmx 0
mAr
max 0
tot 0
Attributes:
alias Kalender FHEM
icon time_calendar
room Sonstiges
Muss man noch etwas tun, damit Calendar non-blocking wird? Ich konnte dazu einfach nix finden.
Danke euch!
Das globale Attribut dnsServer verwendest Du bereits, damit DNS Anfragen nicht/kaum blockierend verarbeitet werden?
Oh fantastisch, das kannte ich noch gar nicht, danke! Muss irgendwie an mir vorbei gegangen sein...
Hab wegen der DNS-Problematik bisher immer IP-Adressen benutzt, wo es möglich war. Schick, damit könnte ich dann ja sogar wieder DNS-Namen nutzen für meine Geräte!
Danke, probier ich gerne aus!