NEWS
Test Adapter TrashSchedule
-
@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).
-
@jb_sullivan Irgendwie hast Du ein leeres Objekt ohne ID unter Restmüll. Das verursacht das Problem. Wie auch immer das da hingekommen ist. Man kann (auch als Adapter) keine Objekte anlegen, welche auf . enden
-
@thomas-braun sagte in Test Adapter TrashSchedule:
@sa-gö
'Alte Oberfläche' aktiv?Danke, das wars. Gesehen habe ich den haken, aber natürlich nicht darüber nachgedacht das da mal was war. Habe ich doch glatt wieder vergessen umzustellen. Danke, auch @haus-automatisierung ! Schönes Wochenende.
-
@sborg sagte in Test Adapter TrashSchedule:
Hallo Matthias, da fehlt IMHO noch etwas für die "Info-Adapter-Anzeige":
Ich habe in meinen Adaptern das
title
-Attribut gelöscht (weil deprecated).
Ist also ein Bug im Info-Adapter, welcher dorttitleLang
anzeigen sollte. -
Kann da unter Restmüll nichts finden, egal ob 2.0.0 oder 2.0.2. Ich selber habe da aber noch nie irgend wann, irgend etwas als leeren Typen angelegt.
Hier der Screenshot unter 2.0.2
Es gibt ein leeres Typ Objekt, was sich aber nicht löschen läßt, weder unter 2.0.0 noch unter 2.0.2. - ich weiß auch nicht seit wann diese "Leiche" schon vorhanden ist. Wie gesagt, läßt sich aber weder unter der einen noch unter der anderen Version löschen.
-
@jb_sullivan sagte in Test Adapter TrashSchedule:
Es gibt ein leeres Typ Objekt, was sich aber nicht löschen läßt
Ja, das meine ich ja. Das muss da schon länger "tot" liegen. Der Adapter probiert das ja auch die ganze Zeit zu löschen (darf es nur nicht, weil es mit . endet = Fehlermeldung). Lösch doch einfach mal den ganzen Channel
types
und hake dann an, dass alle Objekte darunter auch gelöscht werden sollen.Dann verschwindet das hoffentlich und der Adapter legt dann alle anderen Objekte bei Neustart wieder an.
-
@haus-automatisierung sagte in Test Adapter TrashSchedule:
Lösch doch einfach mal den ganzen Channel types und hake dann an, dass alle Objekte darunter auch gelöscht werden sollen.
Wenn man den ganzen Objektbau auswählt, wird das leere Typ Objekt auch mit gelöscht. Einzeln innerhalb des Objektbaums ausgewählt, geht es nicht. Jetzt wo es weg ist, funktioniert auch die 2.0.2 ohne Fehler.
Vielen Dank für die Unterstützung.
-
@haus-automatisierung
Bei mir war nach der Aktualisierung der gleiche Fehler aufgetaucht. Nach löschen von „Type“ und Neustart des Adapters läuft wieder alles einwandfrei. -
seit heute habe ich ein Problem mit Trashschedule v1.4.5
ob es daran liegt, dass ich gestern updaten wollte, aber wegen controller 3.x nicht durfte, weiß ich nicht.
zuerst bekam ich jede Stunde
trashschedule.0 2022-06-16 14:00:05.002errorno events found in iCal instance - check configuration and restart adapter trashschedule.0 2022-06-16 13:00:05.002errorno events found in iCal instance - check configuration and restart adapter
dann habe ich wie befohlen die Konfiguration geprüft, aber nichts gefunden.
jetzt bekomme ich zusätzlichtrashschedule.0 2022-06-16 14:37:12.807infoconfigurured iCal preview is 20 days - increase this value to find more events in the future
20 Tage ist vollkommen ausreichend!
mehr wunderte ich mich über
2022-06-16 14:37:12.808 info found configured iCal event "blau" without "display" flag. Activate the display flag on this entry if this is a "trash schedule" event.
wo um alles in der Welt finde ich den Display flag??
Edit:
hab's gefunden, aber das ist eine uralte Leiche als ich vor trashschedule mit events im ical experimentiert habe.Habe nichts aktiv an ical oder trashschedule verändert
Edit2:
die DPs bei ical sind leer, muss da mal nach dem Grund suchen -
@homoran sagte in Test Adapter TrashSchedule:
die DPs bei ical sind leer, muss da mal nach dem Grund suchen
Ist die Quelle versiegt?
AWB Köln? Holst du die irgendwo aus dem Netz? Hatte da nichts gescheites gefunden und hab mir eine ics-Datei mit den Terminen lokal abgelegt.
-