NEWS
Test Adapter TrashSchedule
-
Hallo,
ich habe folgendes Problem.
Mein ical-Adapter ist Version 1.12.1 und Vorschau steht auf 50.
Trashscedule-Adapter ist Version 1.4.5.Unter Objekte/JSON steht aber nur der gelbe Sack drin, der in 17 Tagen ist.
Im View habe ich auch nur den gelben Sack drin. Restmüll und Papiertonne werden nicht angezeigt.In nextAfter steht aber wenigstens die Papiertonne drin. Wird aber nicht angezeigt.
Wenn ich jetzt im Adapter im globalen Offset 30 Tage hinzu addiere, zeigt er alles an.
Nur ebend 30 Tage später.Was läuft oder was mache ich verkehrt?
Bis zum Update von einer vorherigen Version (weiß leider nicht mehr welche?) lief alles perfekt.
-
@superdad sagte in Test Adapter TrashSchedule:
Was läuft oder was mache ich verkehrt?
Schwer zu sagen - dafür bräuchte ich ein Debug Log welches alle Schritte und die Ausgangssituation genau dokumentiert.
-
@haus-automatisierung Vielen Dank für die schnelle Antwort.
Aber?! Wo ist dieses Debug-Log?
Wie komme ich da ran? -
@haus-automatisierung Hilft dir vielleicht das?
trashschedule.0 2022-04-22 09:38:21.533 warn nextAfter has no entries. Check configuration of iCal and trashschedule! trashschedule.0 2022-04-22 09:38:21.465 warn no events matches type "Restmüll" with match "Restmüll". Check configuration of iCal (increase preview) and trashschedule! trashschedule.0 2022-04-22 09:38:21.410 warn no events matches type "Papiertonne" with match "Papiertonne". Check configuration of iCal (increase preview) and trashschedule! trashschedule.0 2022-04-22 09:38:21.357 info State value to set for "trashschedule.0.type.gelberSack.nextWeekday" has to be type "string" but received type "number" trashschedule.0 2022-04-22 09:38:20.998 info configurured iCal preview is 50 days - increase this value to find more events in the future trashschedule.0 2022-04-22 09:38:20.803 info starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.trashschedule, node: v12.22.10, js-controller: 4.0.21 host.andreas-ubuntu 2022-04-22 09:38:19.831 info instance system.adapter.trashschedule.0 started with pid 5789 host.andreas-ubuntu 2022-04-22 09:38:17.266 info instance system.adapter.trashschedule.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.andreas-ubuntu 2022-04-22 09:38:16.750 info stopInstance system.adapter.trashschedule.0 send kill signal trashschedule.0 2022-04-22 09:38:16.711 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason trashschedule.0 2022-04-22 09:38:16.711 info terminating trashschedule.0 2022-04-22 09:38:16.711 info cleaned everything up... trashschedule.0 2022-04-22 09:38:16.710 info Got terminate signal TERMINATE_YOURSELF host.andreas-ubuntu 2022-04-22 09:38:16.707 info stopInstance system.adapter.trashschedule.0 (force=false, process=true)
Mod-Edit: Code in </> Code-Tag gepackt!
-
@superdad sagte in Test Adapter TrashSchedule:
Wo ist dieses Debug-Log?
Wie komme ich da ran?hier von Info auf Debug ändern.
Und dann wieder ins Log schaun. -
@superdad Im Prinzip siehst Du da ja schon, dass keine Termine für "Restmüll" und "Papiertonne" gefunden werden. Gibts die Events wirklich im Kalender?
Ansonsten: Lösch bitte einmal alle Objekte unter trashschedule.0 und starte die Instanz neu. Dann wird alles neu angelegt. Scheinbar hast Du noch sehr alte Objekte mit dem falschen Datentyp aus der Beta-Phase.
-
@haus-automatisierung Ich probiere das mal.
-
Es scheint am iCal-Adapter zu liegen.
Bekomme immer Error Reading beim verbinden mit dem iCloud Kalender.Kann mir jemand sagen wie die URL zur iCloud aussehen muss?
Ich glaube, dass die verändert ist.
War da nur ein "http" davor zu setzen?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Danke, ich habe es.
URL muss mit "http://p121-calendarws.icloud.com/published/xxxxxxxxxxx" beginnen.
-
Danke für den Adapter! Habe ihn nach Anleitung installiert und möchte mich herzlich bedanken!
-
Kurze Rückmeldung zur neuesten Version 2.0.1 - mit 2.0.0 läuft alles ohne Fehlermeldung.
trashschedule.0 9324 2022-05-26 07:58:01.577 warn Terminated (UNCAUGHT_EXCEPTION): Without reason trashschedule.0 9324 2022-05-26 07:58:01.576 info terminating trashschedule.0 9324 2022-05-26 07:58:01.575 info cleaned everything up... trashschedule.0 9324 2022-05-26 07:58:01.556 error The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 9324 2022-05-26 07:58:01.555 error Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 at new Promise (<anonymous>) at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:257:28) trashschedule.0 9324 2022-05-26 07:58:01.264 error unhandled promise rejection: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 9324 2022-05-26 07:58:01.263 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). trashschedule.0 9324 2022-05-26 07:58:01.096 info starting. Version 2.0.1 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23
-
@jb_sullivan Mh, hast Du einen Typ ohne Namen?! Normalerweise kann das nicht passieren an der Stelle. Muss ich nochmal in allen Varianten testen
-
Trashscheduler stürzt unter 2.0.2 immer noch ab. ..... und ich habe auch keinen leeren Typen definiert.
host.GLTGLT) 2022-05-27 18:46:33.519 warn host.GLT(GLT) Do not restart adapter system.adapter.trashschedule.0 because restart loop detected host.GLTGLT) 2022-05-27 18:46:33.518 info host.GLT(GLT) Restart adapter system.adapter.trashschedule.0 because enabled host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) instance system.adapter.trashschedule.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at new Promise (<anonymous>) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) host.GLTGLT) 2022-05-27 18:46:33.518 error host.GLT(GLT) Caught by controller[1]: Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." host.GLTGLT) 2022-05-27 18:46:33.517 error host.GLT(GLT) Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: trashschedule.0 12044 2022-05-27 18:46:32.852 warn Terminated (UNCAUGHT_EXCEPTION): Without reason trashschedule.0 12044 2022-05-27 18:46:32.851 info terminating trashschedule.0 12044 2022-05-27 18:46:32.851 info cleaned everything up... trashschedule.0 12044 2022-05-27 18:46:32.837 error The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 12044 2022-05-27 18:46:32.837 error Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 at new Promise (<anonymous>) at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28) trashschedule.0 12044 2022-05-27 18:46:32.592 error unhandled promise rejection: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 12044 2022-05-27 18:46:32.591 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). web.0 11340 2022-05-27 18:46:32.494 info <== Disconnect system.user.admin from ::ffff:10.122.60.92 vis.0 trashschedule.0 12044 2022-05-27 18:46:32.293 info starting. Version 2.0.2 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23
-
Zeige mal bitte die DEBUG Ausgabe
-
@jb_sullivan Mal bitte einen Screenshot von der Objektstruktur teilen. Keine Ahnung was er da löschen möchte mit . am Ende.
-
@haus-automatisierung
Hallo Matthias, da fehlt IMHO noch etwas für die "Info-Adapter-Anzeige":
...oder ist der "stealth-mode" Absicht
-
Habe es mal so klein wie möglich gemacht, damit soviel wie möglich sehen kann - hoffe das ist noch ausreichend.
Hier das Debug der 2.0.0
trashschedule.0 14612 2022-05-28 12:41:59.670 debug (5) filling "nextAfter" event with data: {"minDays":12,"minDate":"2022-06-08T22:00:00.000Z","minTypes":["Gelber Sack","Grünmüll","Papiertonne"]} trashschedule.0 14612 2022-05-28 12:41:59.606 debug (5) filling "next" event with data: {"minDays":4,"minDate":"2022-05-31T22:00:00.000Z","minTypes":["Restmüll","Grünmüll"]} trashschedule.0 14612 2022-05-28 12:41:59.589 debug (3) event match: "Biotonne" matches type "Grünmüll" with pattern "Bio" trashschedule.0 14612 2022-05-28 12:41:59.589 debug (2) processing: "Biotonne" (1655848800000) // dayDiff: 25 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.589 debug (1) parsing next event {"date":"22.06. ","event":"Biotonne","_class":"ical_Abfallkalender ","_date":"2022-06-21T22:00:00.000Z","_end":"2022-06-22T22:00:00.000Z","_section":"Biotonne muss bereitgestellt werden.","_IDID":"61171f35ab4c4cf0c6d229c4ff2e551e","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-21T22:00:00.000Z","datetype":"date","end":"2022-06-22T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"61171f35ab4c4cf0c6d229c4ff2e551e","created":"2022-01-05T10:24:58.000Z","description":"Biotonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Biotonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-21T22:00:00.000Z // calculated date (with offset): Wed Jun 22 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.588 debug (3) event match: "Biotonne" matches type "Grünmüll" with pattern "Bio" trashschedule.0 14612 2022-05-28 12:41:59.588 debug (2) processing: "Biotonne" (1655244000000) // dayDiff: 18 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.587 debug (1) parsing next event {"date":"15.06. ","event":"Biotonne","_class":"ical_Abfallkalender ","_date":"2022-06-14T22:00:00.000Z","_end":"2022-06-15T22:00:00.000Z","_section":"Biotonne muss bereitgestellt werden.","_IDID":"47a99a698860ec971c837ad22d7ff188","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-14T22:00:00.000Z","datetype":"date","end":"2022-06-15T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"47a99a698860ec971c837ad22d7ff188","created":"2022-01-05T10:24:58.000Z","description":"Biotonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Biotonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-14T22:00:00.000Z // calculated date (with offset): Wed Jun 15 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.587 debug (3) event match: "Restmülltonne" matches type "Restmüll" with pattern "Restmüll" trashschedule.0 14612 2022-05-28 12:41:59.586 debug (2) processing: "Restmülltonne" (1655244000000) // dayDiff: 18 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.586 debug (1) parsing next event {"date":"15.06. ","event":"Restmülltonne","_class":"ical_Abfallkalender ","_date":"2022-06-14T22:00:00.000Z","_end":"2022-06-15T22:00:00.000Z","_section":"Restmülltonne muss bereitgestellt werden.","_IDID":"51e160564d57de83c65d140b7365983b","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-14T22:00:00.000Z","datetype":"date","end":"2022-06-15T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"51e160564d57de83c65d140b7365983b","created":"2022-01-05T10:24:58.000Z","description":"Restmülltonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Restmülltonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-14T22:00:00.000Z // calculated date (with offset): Wed Jun 15 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.585 debug (4) filled type: "Papiertonne" trashschedule.0 14612 2022-05-28 12:41:59.537 debug (3) event match: "Altpapiertonne" matches type "Papiertonne" with pattern "Altpapier" trashschedule.0 14612 2022-05-28 12:41:59.537 debug (2) processing: "Altpapiertonne" (1654725600000) // dayDiff: 12 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.536 debug (1) parsing next event {"date":"09.06. ","event":"Altpapiertonne","_class":"ical_Abfallkalender ","_date":"2022-06-08T22:00:00.000Z","_end":"2022-06-09T22:00:00.000Z","_section":"Altpapiertonne muss bereitgestellt werden.","_IDID":"34595c6f0c822cd755177b3f86041d18","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-08T22:00:00.000Z","datetype":"date","end":"2022-06-09T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"34595c6f0c822cd755177b3f86041d18","created":"2022-01-05T10:24:58.000Z","description":"Altpapiertonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Altpapiertonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-08T22:00:00.000Z // calculated date (with offset): Thu Jun 09 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.536 debug (3) event match: "Biotonne" matches type "Grünmüll" with pattern "Bio" trashschedule.0 14612 2022-05-28 12:41:59.535 debug (2) processing: "Biotonne" (1654725600000) // dayDiff: 12 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.535 debug (1) parsing next event {"date":"09.06. ","event":"Biotonne","_class":"ical_Abfallkalender ","_date":"2022-06-08T22:00:00.000Z","_end":"2022-06-09T22:00:00.000Z","_section":"Biotonne muss bereitgestellt werden.","_IDID":"a45ac6cafa5882a7ddeb0d9b84a897f1","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-08T22:00:00.000Z","datetype":"date","end":"2022-06-09T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"a45ac6cafa5882a7ddeb0d9b84a897f1","created":"2022-01-05T10:24:58.000Z","description":"Biotonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Biotonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-08T22:00:00.000Z // calculated date (with offset): Thu Jun 09 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.534 debug (4) filled type: "Gelber Sack" trashschedule.0 14612 2022-05-28 12:41:59.491 debug (3) event match: "Gelber Sack" matches type "Gelber Sack" with pattern "Gelber Sack" trashschedule.0 14612 2022-05-28 12:41:59.490 debug (2) processing: "Gelber Sack" (1654725600000) // dayDiff: 12 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.490 debug (1) parsing next event {"date":"09.06. ","event":"Gelber Sack","_class":"ical_Abfallkalender ","_date":"2022-06-08T22:00:00.000Z","_end":"2022-06-09T22:00:00.000Z","_section":"Gelber Sack muss bereitgestellt werden.","_IDID":"5149be8ead432939824c14246bfab23b","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-06-08T22:00:00.000Z","datetype":"date","end":"2022-06-09T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"5149be8ead432939824c14246bfab23b","created":"2022-01-05T10:24:58.000Z","description":"Gelber Sack muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Gelber Sack","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-06-08T22:00:00.000Z // calculated date (with offset): Thu Jun 09 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.489 debug (4) filled type: "Grünmüll" trashschedule.0 14612 2022-05-28 12:41:59.449 debug (3) event match: "Biotonne" matches type "Grünmüll" with pattern "Bio" trashschedule.0 14612 2022-05-28 12:41:59.448 debug (2) processing: "Biotonne" (1654034400000) // dayDiff: 4 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.448 debug (1) parsing next event {"date":"In 4 Tagen ","event":"Biotonne","_class":"ical_Abfallkalender ical_4days","_date":"2022-05-31T22:00:00.000Z","_end":"2022-06-01T22:00:00.000Z","_section":"Biotonne muss bereitgestellt werden.","_IDID":"4d53673e99ea2b08018e4fdd56115fc5","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-05-31T22:00:00.000Z","datetype":"date","end":"2022-06-01T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"4d53673e99ea2b08018e4fdd56115fc5","created":"2022-01-05T10:24:58.000Z","description":"Biotonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Biotonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-05-31T22:00:00.000Z // calculated date (with offset): Wed Jun 01 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.447 debug (4) filled type: "Restmüll" trashschedule.0 14612 2022-05-28 12:41:59.406 debug (3) event match: "Restmülltonne" matches type "Restmüll" with pattern "Restmüll" trashschedule.0 14612 2022-05-28 12:41:59.406 debug (2) processing: "Restmülltonne" (1654034400000) // dayDiff: 4 // current hour (date): 12 (1653688800000) // skipsamedayathour (config): 22 trashschedule.0 14612 2022-05-28 12:41:59.405 debug (1) parsing next event {"date":"In 4 Tagen ","event":"Restmülltonne","_class":"ical_Abfallkalender ical_4days","_date":"2022-05-31T22:00:00.000Z","_end":"2022-06-01T22:00:00.000Z","_section":"Restmülltonne muss bereitgestellt werden.","_IDID":"2d289aecf55e7fc52c1f3feaaa9611af","_allDay":true,"_private":false,"_rule":" ","location":"Peine Ortschaften AIa1","_calName":"Abfallkalender","_calColor":"#af6161","_object":{"type":"VEVENT","params":[],"start":"2022-05-31T22:00:00.000Z","datetype":"date","end":"2022-06-01T22:00:00.000Z","dtstamp":"2022-05-28T10:18:17.000Z","uid":"2d289aecf55e7fc52c1f3feaaa9611af","created":"2022-01-05T10:24:58.000Z","description":"Restmülltonne muss bereitgestellt werden.","lastmodified":"2022-01-17T09:49:35.000Z","location":"Peine Ortschaften AIa1","sequence":"0","status":"CONFIRMED","summary":"Restmülltonne","transparency":"OPAQUE","method":"PUBLISH"}} // originalDate: 2022-05-31T22:00:00.000Z // calculated date (with offset): Wed Jun 01 2022 00:00:00 GMT+0200 (Mitteleuropäische Sommerzeit) trashschedule.0 14612 2022-05-28 12:41:59.404 debug (0) offset (config): 0 trashschedule.0 14612 2022-05-28 12:41:59.403 debug (0) start processing 8 iCal events trashschedule.0 14612 2022-05-28 12:41:59.389 debug (0) updating data trashschedule.0 14612 2022-05-28 12:41:59.387 debug (0) update started by foreign state value - lc: 2022-05-28T10:15:17.952Z - ts: 2022-05-28T10:15:17.952Z trashschedule.0 14612 2022-05-28 12:41:59.203 debug re-creating refresh timeout in 1085799ms (in 00:18:05) trashschedule.0 14612 2022-05-28 12:41:59.200 debug [ical] found ical event(s): {"name":"Gelber Sack","enabled":true,"display":true} trashschedule.0 14612 2022-05-28 12:41:59.200 debug [ical] found ical event(s): {"name":"Biotonne","enabled":true,"display":true} trashschedule.0 14612 2022-05-28 12:41:59.200 debug [ical] found ical event(s): {"name":"Altpapiertonne","enabled":true,"display":true} trashschedule.0 14612 2022-05-28 12:41:59.199 debug [ical] found ical event(s): {"name":"Restmülltonne","enabled":true,"display":true} trashschedule.0 14612 2022-05-28 12:41:59.199 info [ical] configurured ical preview is 30 days - increase this value to find more events in the future trashschedule.0 14612 2022-05-28 12:41:59.199 debug [ical] current ical version: 1.12.1 trashschedule.0 14612 2022-05-28 12:41:59.193 debug Trash type deleted: "type." trashschedule.0 14612 2022-05-28 12:41:59.171 debug Trash type found: "Restmüll" trashschedule.0 14612 2022-05-28 12:41:59.094 debug Trash type found: "Papiertonne" trashschedule.0 14612 2022-05-28 12:41:59.069 debug Trash type found: "Grünmüll" trashschedule.0 14612 2022-05-28 12:41:58.830 debug Trash type found: "Gelber Sack" trashschedule.0 14612 2022-05-28 12:41:58.627 info starting. Version 2.0.0 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23 trashschedule.0 14612 2022-05-28 12:41:57.800 debug Plugin sentry Initialize Plugin (enabled=true) trashschedule.0 14612 2022-05-28 12:41:57.486 debug States connected to redis: 127.0.0.1:9000 trashschedule.0 14612 2022-05-28 12:41:57.407 debug States create User PubSub Client trashschedule.0 14612 2022-05-28 12:41:57.406 debug States create System PubSub Client trashschedule.0 14612 2022-05-28 12:41:57.363 debug Redis States: Use Redis connection: 127.0.0.1:9000 trashschedule.0 14612 2022-05-28 12:41:57.280 debug Objects connected to redis: 127.0.0.1:9001 trashschedule.0 14612 2022-05-28 12:41:57.275 debug Objects client initialize lua scripts trashschedule.0 14612 2022-05-28 12:41:57.186 debug Objects create User PubSub Client trashschedule.0 14612 2022-05-28 12:41:57.185 debug Objects create System PubSub Client trashschedule.0 14612 2022-05-28 12:41:57.184 debug Objects client ready ... initialize now trashschedule.0 14612 2022-05-28 12:41:57.122 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
.... und von der 2.0.2
host.GLTGLT) 2022-05-28 12:44:28.077 info host.GLT(GLT) Restart adapter system.adapter.trashschedule.0 because enabled host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) instance system.adapter.trashschedule.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at new Promise (<anonymous>) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) host.GLTGLT) 2022-05-28 12:44:28.076 error host.GLT(GLT) Caught by controller[1]: at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) host.GLTGLT) 2022-05-28 12:44:28.075 error host.GLT(GLT) Caught by controller[1]: Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." host.GLTGLT) 2022-05-28 12:44:28.075 error host.GLT(GLT) Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: trashschedule.0 7992 2022-05-28 12:44:27.123 warn Terminated (UNCAUGHT_EXCEPTION): Without reason trashschedule.0 7992 2022-05-28 12:44:27.122 debug Plugin sentry destroyed trashschedule.0 7992 2022-05-28 12:44:27.121 info terminating trashschedule.0 7992 2022-05-28 12:44:27.120 info cleaned everything up... trashschedule.0 7992 2022-05-28 12:44:27.080 error The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 7992 2022-05-28 12:44:27.079 error Error: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." at Utils.validateId (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\utils.ts:215:23) at Trashschedule.delForeignObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3267:23) at Trashschedule.delObject (C:\iobroker\GLT\node_modules\@iobroker\js-controller-adapter\src\lib\adapter\adapter.js:3209:18) at C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2116:16 at new Promise (<anonymous>) at Trashschedule.delObjectAsync (C:\iobroker\GLT\node_modules\@iobroker\js-controller-common\lib\common\tools.js:2115:16) at Trashschedule.onReady (C:\iobroker\GLT\node_modules\iobroker.trashschedule\main.js:260:28) trashschedule.0 7992 2022-05-28 12:44:26.514 error unhandled promise rejection: The id "trashschedule.0.type." is invalid. Ids are not allowed to end in "." trashschedule.0 7992 2022-05-28 12:44:26.514 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). trashschedule.0 7992 2022-05-28 12:44:26.512 debug deleting existing but unconfigured trash type with ID "type." trashschedule.0 7992 2022-05-28 12:44:26.473 debug found configured trash type: "Restmüll" with ID "type.restmüll" trashschedule.0 7992 2022-05-28 12:44:26.452 debug found configured trash type: "Papiertonne" with ID "type.papiertonne" trashschedule.0 7992 2022-05-28 12:44:26.431 debug found configured trash type: "Grünmüll" with ID "type.grünmüll" trashschedule.0 7992 2022-05-28 12:44:26.318 debug found configured trash type: "Gelber Sack" with ID "type.gelberSack" trashschedule.0 7992 2022-05-28 12:44:26.313 debug found existing trash type with ID "type.restmüll" trashschedule.0 7992 2022-05-28 12:44:26.313 debug found existing trash type with ID "type.papiertonne" trashschedule.0 7992 2022-05-28 12:44:26.312 debug found existing trash type with ID "type.grünmüll" trashschedule.0 7992 2022-05-28 12:44:26.312 debug found existing trash type with ID "type.gelberSack" trashschedule.0 7992 2022-05-28 12:44:26.311 debug found existing trash type with ID "type." trashschedule.0 7992 2022-05-28 12:44:26.123 info starting. Version 2.0.2 in C:/iobroker/GLT/node_modules/iobroker.trashschedule, node: v14.16.0, js-controller: 4.0.23 trashschedule.0 7992 2022-05-28 12:44:25.355 debug Plugin sentry Initialize Plugin (enabled=true) vis.0 3268 2022-05-28 12:44:25.112 info vis license is OK. trashschedule.0 7992 2022-05-28 12:44:24.965 debug States connected to redis: 127.0.0.1:9000 trashschedule.0 7992 2022-05-28 12:44:24.838 debug States create User PubSub Client trashschedule.0 7992 2022-05-28 12:44:24.836 debug States create System PubSub Client vis.0 3268 2022-05-28 12:44:24.778 info starting. Version 1.4.15 in C:/iobroker/GLT/node_modules/iobroker.vis, node: v14.16.0, js-controller: 4.0.23 trashschedule.0 7992 2022-05-28 12:44:24.776 debug Redis States: Use Redis connection: 127.0.0.1:9000 trashschedule.0 7992 2022-05-28 12:44:24.690 debug Objects connected to redis: 127.0.0.1:9001 trashschedule.0 7992 2022-05-28 12:44:24.647 debug Objects client initialize lua scripts trashschedule.0 7992 2022-05-28 12:44:24.508 debug Objects create User PubSub Client trashschedule.0 7992 2022-05-28 12:44:24.507 debug Objects create System PubSub Client trashschedule.0 7992 2022-05-28 12:44:24.490 debug Objects client ready ... initialize now trashschedule.0 7992 2022-05-28 12:44:24.248 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
-
@jb_sullivan sagte in Test Adapter TrashSchedule:
debug found existing trash type with ID "type."
debug deleting existing but unconfigured trash type with ID "type."in der 2.0.0
debug Trash type deleted: "type."
EDIT:
kannst du den Inhalt im Spoiler nicht in Code-Tags </> packen , kann man schlecht lesen / kopieren
-
Hallo!
Ich habe seit kurzem das Problem, wenn ich die Instanz aufrufe, kommt folgende Meldung:
"This adapter version has no support for "Admin 4" configuration. Please switch to "Admin 5" UI or downgrade to an older version (see changelog for details)."
Von der Sache her sollte aber alles passen. Admin 5 habe ich "aktiviert", Node.js ist ist Version 14.19.2 und NPM ist 6.14.17.
Hat jemand eine Idee was das Problem ist? In der VIS ist alles in Ordnung ich kann ihn nur nicht konfigurieren.
Danke. -
@sa-gö
'Alte Oberfläche' aktiv? -
@sa-gö Du hast aber in den Instanzeinstellungen vom Admin aktiviert, dass Du die alte Benutzeroberfläche nutzen möchtest. Die entwickle ich nicht mehr (wie viele andere Adapter auch).