Bonjour
Je viens de configurer le plugin pour récupérer un ICS (download ok via curl) mais les rdv ne sont pas intégrés dans le plugin.
Je suis sur un jeedom 4 à jour sur un debian buster.
Le log debug du plugin m’affiche:
0000|[2022-11-03 09:59:02]DEBUG : [CRON START]===== cron().nb iCalendar=1
0001|[2022-11-03 09:59:02]DEBUG : [CRON|737] cron().nb cmd=1
0002|[2022-11-03 09:59:02]DEBUG : [CRON|737|7433] cron(): do event() !
0003|[2022-11-03 09:59:02]DEBUG : [CRON|737|7433] execute(iCal-7433-J0) starting...
0004|[2022-11-03 09:59:02]DEBUG : [CRON|737|7433] execute() INFO cmd with defaultValue="", viewStyle="current", indicateur="0, periodeWorking="0", originalCmdId=""
0005|[2022-11-03 09:59:02]DEBUG : [CRON|737|7433] execute() ERROR: _aCurrentCachePeriode is empty, not action
0006|[2022-11-03 09:59:02]DEBUG : [CRON END]=====(0.007)
0007|[2022-11-03 09:59:02]DEBUG : [WIDGET/dashboard|iCalendar Planning réveil exceptions(737)] toHtml(dashboard) start ...
0008|[2022-11-03 09:59:02]INFO : [WIDGET/dashboard|737] toHtml(dashboard) Refresh Widget (1 cal.): OK (0.004)
0009|[2022-11-03 10:00:05]DEBUG : [CRON START]===== cron().nb iCalendar=1
0010|[2022-11-03 10:00:05]DEBUG : [CRON|737] cron().nb cmd=1
0011|[2022-11-03 10:00:05]DEBUG : [CRON|737|7433] cron(): do event() !
0012|[2022-11-03 10:00:05]DEBUG : [CRON|737|7433] execute(iCal-7433-J0) starting...
0013|[2022-11-03 10:00:05]DEBUG : [CRON|737|7433] execute() INFO cmd with defaultValue="", viewStyle="current", indicateur="0, periodeWorking="0", originalCmdId=""
0014|[2022-11-03 10:00:05]DEBUG : [CRON|737|7433] execute() ERROR: _aCurrentCachePeriode is empty, not action
0015|[2022-11-03 10:00:05]DEBUG : [CRON END]=====(0.01)
0016|[2022-11-03 10:00:05]DEBUG : [CRON30 START]===== cron30().nb iCalendar=1
0017|[2022-11-03 10:00:05]DEBUG : [CRON30|737] cron30().nb cmd=1
0018|[2022-11-03 10:00:05]DEBUG : [CRON30|737] cron30() LogicalId=iCal-7433-J0
0019|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] getICSFile() starting ...
0020|[2022-11-03 10:00:05]DEBUG : [CRON30|iCalendar Planning réveil exceptions|Exceptions Planning (7433)] getICSFileDonwload() send request...
0021|[2022-11-03 10:00:05]DEBUG : [olindoteTools::network_sendRequestByCurl()] _return=Array ( [fError] => [fData] => Bad Request [fInfo] => Array ( [url] => https://outlook.office365.com/owa/calendar/2e46c2e41b6145c8af6c99a3d33a94e3@gouraud.cc/dd9953cd6621419e9ecc76c2b6af6bce13329055807242596009/calendar.ics [content_type] => text/html [http_code] => 400 [header_size] => 1231 [request_size] => 182 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.137875 [namelookup_time] => 0.032562 [connect_time] => 0.047721 [pretransfer_time] => 0.090461 [size_upload] => 0 [size_download] => 11 [speed_download] => 80 [speed_upload] => 0 [download_content_length] => -1 [upload_content_length] => -1 [starttransfer_time] => 0.137434 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2603:1026:c0a:1801::2 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 2a01:e0a:4:86e0:20c:29ff:fede:a78b [local_port] => 38104 [http_version] => 2 [protocol] => 2 [ssl_verifyresult] => 0 [scheme] => HTTPS [appconnect_time_us] => 90403 [connect_time_us] => 47721 [namelookup_time_us] => 32562 [pretransfer_time_us] => 90461 [redirect_time_us] => 0 [starttransfer_time_us] => 137434 [total_time_us] => 137875 [request_header] => GET /owa/calendar/2e46c2e41b6145c8af6c99a3d33a94e3@gouraud.cc/dd9953cd6621419e9ecc76c2b6af6bce13329055807242596009/calendar.ics HTTP/1.1 Host: outlook.office365.com Accept: */* ) )
0022|[2022-11-03 10:00:05]DEBUG : [CRON30|iCalendar Planning réveil exceptions|Exceptions Planning (7433)] getICSFileDonwload() request back, analyse it
0023|[2022-11-03 10:00:05]WARNING : [CRON30|Exceptions Planning(7433)] sendDOCRequest(): ERROR: Le flux suivant n'est pas accéssible (error/timeout):https://outlook.office365.com/owa/calendar/2e46c2e41b6145c8af6c99a3d33a94e3@gouraud.cc/dd9953cd6621419e9ecc76c2b6af6bce13329055807242596009/calendar.ics || HTTP_CODE=400 || ERROR=
0024|[2022-11-03 10:00:05]DEBUG : [CRON30|Exceptions Planning(7433)] network_setHealth()._healthNetwork=Array ( [0] => {"2022-11-03 10:00:05":"X"} [1] => {"2022-11-03 09:30:04":"X"} [2] => {"2022-11-03 09:00:04":"X"} [3] => {"2022-11-03 08:30:04":"X"} [4] => {"2022-11-03 08:00:04":"X"} [5] => {"2022-11-03 07:30:03":"X"} [6] => {"2022-11-03 07:00:04":"X"} [7] => {"2022-11-03 06:30:04":"X"} [8] => {"2022-11-03 06:00:05":"X"} [9] => {"2022-11-03 05:30:03":"X"} )
0025|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] getNextDateSynchro() refreshPeriod=30
0026|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] getNextDateSynchro() _next=1667467805
0027|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] formatRangeEvents()._icsContents is regerate by cache file
0028|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] formatRangeEvents() start initialise ICal class
0029|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] formatRangeEvents() ICal Class is initialised (time=0sec)
0030|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] formatRangeEvents().periodeWorking=0 | _dStart=1667430000 (2022-11-03 00:00:00) | _dEnd=1667602799 (2022-11-04 23:59:59)
0031|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] ICalReaderExt::getEventsFromRange() ERROR: _events is not initialised
0032|[2022-11-03 10:00:05]DEBUG : [CRON30|737|7433] formatRangeEvents() return Period Events (0|1)
0033|[2022-11-03 10:00:05]WARNING : [CRON30|737|7433] formatRangeEvents() ERROR with formated events array ! // STOP
0034|[2022-11-03 10:00:05]DEBUG : [CRON30 END]=====(0.215)
0035|[2022-11-03 10:00:07]DEBUG : [WIDGET/dashboard|iCalendar Planning réveil exceptions(737)] toHtml(dashboard) start ...
0036|[2022-11-03 10:00:07]INFO : [WIDGET/dashboard|737] toHtml(dashboard) Refresh Widget (1 cal.): OK (0.005)
0037|[2022-11-03 10:01:03]DEBUG : [CRON START]===== cron().nb iCalendar=1
0038|[2022-11-03 10:01:03]DEBUG : [CRON|737] cron().nb cmd=1
0039|[2022-11-03 10:01:03]DEBUG : [CRON|737|7433] cron(): do event() !
0040|[2022-11-03 10:01:03]DEBUG : [CRON|737|7433] execute(iCal-7433-J0) starting...
0041|[2022-11-03 10:01:03]DEBUG : [CRON|737|7433] execute() INFO cmd with defaultValue="", viewStyle="current", indicateur="0, periodeWorking="0", originalCmdId=""
0042|[2022-11-03 10:01:03]DEBUG : [CRON|737|7433] execute() ERROR: _aCurrentCachePeriode is empty, not action
0043|[2022-11-03 10:01:03]DEBUG : [CRON END]=====(0.007)
0044|[2022-11-03 10:01:04]DEBUG : [WIDGET/dashboard|iCalendar Planning réveil exceptions(737)] toHtml(dashboard) start ...
0045|[2022-11-03 10:01:04]INFO : [WIDGET/dashboard|737] toHtml(dashboard) Refresh Widget (1 cal.): OK (0.004)
Il y aurait-il une correction à apporter pour que ça fonctionne ?
Merci