NEWS
Test Adapter device-reminder V 3.x
-
@xenon hier das Debug-Log, es startet mit dem Beenden der alten Version:
2024-01-20 15:17:50.203 - debug: device-reminder.0 (1956) ["Waschmaschine"]: Auswertung beendet 2024-01-20 15:17:50.204 - debug: device-reminder.0 (1956) ["Geschirrspüler"]: Auswertung gestartet 2024-01-20 15:17:50.204 - debug: device-reminder.0 (1956) ["Geschirrspüler"]: WERTE für START0; 15; false 2024-01-20 15:17:50.204 - debug: device-reminder.0 (1956) ["Geschirrspüler"]: value status: 0 2024-01-20 15:17:50.204 - debug: device-reminder.0 (1956) ["Geschirrspüler"]: switched off (finished/off) 2024-01-20 15:17:50.205 - debug: device-reminder.0 (1956) 3: 0 < 0.5 && 10 >= 10 2024-01-20 15:17:50.206 - debug: device-reminder.0 (1956) ["Geschirrspüler"]: Auswertung beendet 2024-01-20 15:17:51.837 - info: device-reminder.0 (1956) Got terminate signal TERMINATE_YOURSELF 2024-01-20 15:17:51.838 - info: device-reminder.0 (1956) terminating 2024-01-20 15:17:51.839 - info: device-reminder.0 (1956) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-01-20 15:17:52.341 - info: device-reminder.0 (1956) terminating 2024-01-20 15:17:55.771 - debug: device-reminder.0 (2656) Redis Objects: Use Redis connection: 0.0.0.0:9001 2024-01-20 15:17:55.896 - debug: device-reminder.0 (2656) Objects client ready ... initialize now 2024-01-20 15:17:55.942 - debug: device-reminder.0 (2656) Objects create System PubSub Client 2024-01-20 15:17:55.943 - debug: device-reminder.0 (2656) Objects create User PubSub Client 2024-01-20 15:17:56.142 - debug: device-reminder.0 (2656) Objects client initialize lua scripts 2024-01-20 15:17:56.162 - debug: device-reminder.0 (2656) Objects connected to redis: 0.0.0.0:9001 2024-01-20 15:17:56.273 - debug: device-reminder.0 (2656) Redis States: Use Redis connection: 0.0.0.0:9000 2024-01-20 15:17:56.629 - debug: device-reminder.0 (2656) States create System PubSub Client 2024-01-20 15:17:56.630 - debug: device-reminder.0 (2656) States create User PubSub Client 2024-01-20 15:17:58.598 - debug: device-reminder.0 (2656) States connected to redis: 0.0.0.0:9000 2024-01-20 15:17:59.460 - info: device-reminder.0 (2656) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.device-reminder, node: v18.19.0, js-controller: 5.0.17 2024-01-20 15:17:59.479 - debug: device-reminder.0 (2656) {"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}} 2024-01-20 15:17:59.479 - debug: device-reminder.0 (2656) {"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}} 2024-01-20 15:17:59.480 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.480 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.481 - debug: device-reminder.0 (2656) undefined 2024-01-20 15:17:59.481 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.482 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.482 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.483 - debug: device-reminder.0 (2656) {"ids":[]} 2024-01-20 15:17:59.483 - debug: device-reminder.0 (2656) undefined 2024-01-20 15:17:59.483 - debug: device-reminder.0 (2656) {"alexa":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}},"telegram":{"1":{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}},"sayit":{},"pushover":{},"discord":{},"whatsapp":{},"signal":{},"email":{},"matrix":{}} 2024-01-20 15:17:59.484 - debug: device-reminder.0 (2656) CONFIG INPUT{"custom":{"ids":[{"name":"custom1","startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2","id":"0"},{"name":"custom2","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"1"},{"name":"custom3","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"2"},{"name":"custom4","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"3"},{"name":"custom5","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"4"},{"name":"custom6","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"5"},{"name":"custom7","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"6"},{"name":"custom8","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"7"},{"name":"custom9","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"8"},{"name":"custom10","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"9"}],"final":{}},"default":{"ids":[{"name":"washing-machine","startVal":"30","endVal":"15","standby":"1","startCount":"5","endCount":"65","id":"0"},{"name":"dryer","startVal":"120","endVal":"15","standby":"1","startCount":"2","endCount":"20","id":"1"},{"name":"dishwasher","startVal":"15","endVal":"0.25","standby":"0.5","startCount":"2","endCount":"120","id":"2"}],"final":{}},"status":{"ids":[{"stateAction":"in action","stateStandby":"standby","stateOff":"switched off","id":"1"}],"final":{}},"linkedDevice":{"ids":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"finalIds":{"1":{"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"},"2":{"type":"washing-machine","pathConsumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","pathSwitch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","enabled":true,"name":"Waschmaschine","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"5","autoOff":true,"abort":true,"id":"2"},"3":{"type":"dishwasher","pathConsumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","enabled":true,"name":"Geschirrspüler","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"30","autoOff":true,"abort":true,"id":"3"}}},"devices":{"ids":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}]},"alexa":{"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}},"sayit":{"ids":[]},"whatsapp":{"ids":[]},"telegram":{"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}},"pushover":{"ids":[]},"email":{"ids":[]},"signal":{"ids":[]},"matrix":{"ids":[]}} 2024-01-20 15:17:59.539 - debug: device-reminder.0 (2656) RETURN {"used":false,"startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2"} 2024-01-20 15:17:59.539 - debug: device-reminder.0 (2656) OBJ IN CONSTRUCTOR: {"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"} 2024-01-20 15:17:59.541 - error: device-reminder.0 (2656) [ERROR] {funcCreateObject}: "TypeError: Cannot read properties of undefined (reading 'length')" 2024-01-20 15:17:59.541 - error: device-reminder.0 (2656) [ERROR] {funcCreateObject}: Please open instance and click Save and close again. If the error persists, please report it to the developer 2024-01-20 15:17:59.542 - error: device-reminder.0 (2656) [ERROR] {onReady}: "TypeError: Cannot read properties of undefined (reading 'dnd')" 2024-01-20 15:17:59.542 - debug: device-reminder.0 (2656) undefined 2024-01-20 15:18:37.469 - debug: device-reminder.0 (2656) Data from configuration received : {"command":"linkedDevice","message":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"from":"system.adapter.admin.1","callback":{"message":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"id":35,"ack":false,"time":1705760317467},"_id":46752280} 2024-01-20 15:18:37.470 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1","check":"open"} 2024-01-20 15:18:37.470 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1","check":"open"} 2024-01-20 15:18:37.471 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2","check":"open"} 2024-01-20 15:18:37.471 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2","check":"open"} 2024-01-20 15:18:37.471 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3","check":"open"} 2024-01-20 15:18:37.471 - debug: device-reminder.0 (2656) {"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3","check":"open"} 2024-01-20 15:18:37.472 - debug: device-reminder.0 (2656) {"checked":[{"name":"Wasserkocher","id":"1"},{"name":"Waschmaschine","id":"2"},{"name":"Geschirrspüler","id":"3"}],"failed":[]} 2024-01-20 15:18:37.472 - debug: device-reminder.0 (2656) respond wird ausgefuehrt: {"checked":[{"name":"Wasserkocher","id":"1"},{"name":"Waschmaschine","id":"2"},{"name":"Geschirrspüler","id":"3"}],"failed":[]} 2024-01-20 15:18:37.484 - debug: device-reminder.0 (2656) Data from configuration received : {"command":"devices","message":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}],"from":"system.adapter.admin.1","callback":{"message":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}],"id":36,"ack":false,"time":1705760317481},"_id":46752281} 2024-01-20 15:18:37.488 - debug: device-reminder.0 (2656) {"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1","check":"open"} 2024-01-20 15:18:37.489 - debug: device-reminder.0 (2656) {"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1","check":"open"} 2024-01-20 15:18:37.492 - debug: device-reminder.0 (2656) {"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2","check":"open"} 2024-01-20 15:18:37.493 - debug: device-reminder.0 (2656) {"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2","check":"open"} 2024-01-20 15:18:37.497 - debug: device-reminder.0 (2656) {"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3","check":"open"} 2024-01-20 15:18:37.498 - debug: device-reminder.0 (2656) {"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3","check":"open"} 2024-01-20 15:18:37.498 - debug: device-reminder.0 (2656) {"checked":[{"name":"Wasserkocher","id":"1","autoOff":false},{"name":"Waschmaschine","id":"2","autoOff":false},{"name":"Geschirrspüler","id":"3","autoOff":false}],"failed":[]} 2024-01-20 15:18:37.498 - debug: device-reminder.0 (2656) respond wird ausgefuehrt: {"checked":[{"name":"Wasserkocher","id":"1","autoOff":false},{"name":"Waschmaschine","id":"2","autoOff":false},{"name":"Geschirrspüler","id":"3","autoOff":false}],"failed":[]} 2024-01-20 15:18:37.510 - debug: device-reminder.0 (2656) Data from configuration received : {"command":"alexa","message":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"from":"system.adapter.admin.1","callback":{"message":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"id":37,"ack":false,"time":1705760317508},"_id":46752282} 2024-01-20 15:18:37.513 - debug: device-reminder.0 (2656) {"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1","check":"open"} 2024-01-20 15:18:37.513 - debug: device-reminder.0 (2656) {"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1","check":"open"} 2024-01-20 15:18:37.517 - debug: device-reminder.0 (2656) {"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2","check":"open"} 2024-01-20 15:18:37.517 - debug: device-reminder.0 (2656) {"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2","check":"open"} 2024-01-20 15:18:37.517 - debug: device-reminder.0 (2656) {"checked":[{"name":"Echo Dot WZ","id":"1"},{"name":"Echo Dot Bad","id":"2"}],"failed":[]} 2024-01-20 15:18:37.518 - debug: device-reminder.0 (2656) respond wird ausgefuehrt: {"checked":[{"name":"Echo Dot WZ","id":"1"},{"name":"Echo Dot Bad","id":"2"}],"failed":[]} 2024-01-20 15:18:37.551 - debug: device-reminder.0 (2656) Data from configuration received : {"command":"sayit","message":[],"from":"system.adapter.admin.1","callback":{"message":[],"id":38,"ack":false,"time":1705760317549},"_id":46752283} 2024-01-20 15:18:37.552 - debug: device-reminder.0 (2656) {"checked":[],"failed":[]} 2024-01-20 15:18:37.552 - debug: device-reminder.0 (2656) respond wird ausgefuehrt: {"checked":[],"failed":[]} 2024-01-20 15:18:37.578 - debug: device-reminder.0 (2656) Data from configuration received : {"command":"telegram","message":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"from":"system.adapter.admin.1","callback":{"message":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"id":39,"ack":false,"time":1705760317576},"_id":46752284} 2024-01-20 15:18:37.579 - error: device-reminder.0 (2656) 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(). 2024-01-20 15:18:37.580 - error: device-reminder.0 (2656) unhandled promise rejection: Cannot read properties of undefined (reading 'length') 2024-01-20 15:18:37.582 - error: device-reminder.0 (2656) TypeError: Cannot read properties of undefined (reading 'length') at deviceReminder.ctrlInput (/opt/iobroker/node_modules/iobroker.device-reminder/main.js:1282:39) at deviceReminder.onMessage (/opt/iobroker/node_modules/iobroker.device-reminder/main.js:1236:24) at deviceReminder.emit (node:events:517:28) at deviceReminder.emit (node:domain:489:12) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8433:34) at Immediate. (/opt/iobroker/node_modules/@iobroker/db-states-redis/build/lib/states/statesInRedisClient.js:270:37) at process.processImmediate (node:internal/timers:476:21) 2024-01-20 15:18:37.583 - error: device-reminder.0 (2656) Cannot read properties of undefined (reading 'length') 2024-01-20 15:18:37.585 - info: device-reminder.0 (2656) terminating 2024-01-20 15:18:37.586 - warn: device-reminder.0 (2656) Terminated (UNCAUGHT_EXCEPTION): Without reason 2024-01-20 15:18:38.088 - info: device-reminder.0 (2656) terminating 2024-01-20 15:18:38.274 - error: host.iob instance system.adapter.device-reminder.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2024-01-20 15:19:09.320 - debug: device-reminder.0 (3056) Redis Objects: Use Redis connection: 0.0.0.0:9001 2024-01-20 15:19:09.439 - debug: device-reminder.0 (3056) Objects client ready ... initialize now 2024-01-20 15:19:09.441 - debug: device-reminder.0 (3056) Objects create System PubSub Client 2024-01-20 15:19:09.441 - debug: device-reminder.0 (3056) Objects create User PubSub Client 2024-01-20 15:19:09.741 - debug: device-reminder.0 (3056) Objects client initialize lua scripts 2024-01-20 15:19:09.745 - debug: device-reminder.0 (3056) Objects connected to redis: 0.0.0.0:9001 2024-01-20 15:19:09.849 - debug: device-reminder.0 (3056) Redis States: Use Redis connection: 0.0.0.0:9000 2024-01-20 15:19:09.931 - debug: device-reminder.0 (3056) States create System PubSub Client 2024-01-20 15:19:09.932 - debug: device-reminder.0 (3056) States create User PubSub Client 2024-01-20 15:19:10.132 - debug: device-reminder.0 (3056) States connected to redis: 0.0.0.0:9000 2024-01-20 15:19:11.734 - info: device-reminder.0 (3056) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.device-reminder, node: v18.19.0, js-controller: 5.0.17 2024-01-20 15:19:11.762 - debug: device-reminder.0 (3056) {"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}} 2024-01-20 15:19:11.763 - debug: device-reminder.0 (3056) {"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}} 2024-01-20 15:19:11.763 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.764 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.764 - debug: device-reminder.0 (3056) undefined 2024-01-20 15:19:11.764 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.765 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.765 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.765 - debug: device-reminder.0 (3056) {"ids":[]} 2024-01-20 15:19:11.765 - debug: device-reminder.0 (3056) undefined 2024-01-20 15:19:11.766 - debug: device-reminder.0 (3056) {"alexa":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}},"telegram":{"1":{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}},"sayit":{},"pushover":{},"discord":{},"whatsapp":{},"signal":{},"email":{},"matrix":{}} 2024-01-20 15:19:11.767 - debug: device-reminder.0 (3056) CONFIG INPUT{"custom":{"ids":[{"name":"custom1","startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2","id":"0"},{"name":"custom2","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"1"},{"name":"custom3","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"2"},{"name":"custom4","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"3"},{"name":"custom5","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"4"},{"name":"custom6","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"5"},{"name":"custom7","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"6"},{"name":"custom8","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"7"},{"name":"custom9","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"8"},{"name":"custom10","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"9"}],"final":{}},"default":{"ids":[{"name":"washing-machine","startVal":"30","endVal":"15","standby":"1","startCount":"5","endCount":"65","id":"0"},{"name":"dryer","startVal":"120","endVal":"15","standby":"1","startCount":"2","endCount":"20","id":"1"},{"name":"dishwasher","startVal":"15","endVal":"0.25","standby":"0.5","startCount":"2","endCount":"120","id":"2"}],"final":{}},"status":{"ids":[{"stateAction":"in action","stateStandby":"standby","stateOff":"switched off","id":"1"}],"final":{}},"linkedDevice":{"ids":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"finalIds":{"1":{"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"},"2":{"type":"washing-machine","pathConsumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","pathSwitch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","enabled":true,"name":"Waschmaschine","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"5","autoOff":true,"abort":true,"id":"2"},"3":{"type":"dishwasher","pathConsumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","enabled":true,"name":"Geschirrspüler","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"30","autoOff":true,"abort":true,"id":"3"}}},"devices":{"ids":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}]},"alexa":{"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}},"sayit":{"ids":[]},"whatsapp":{"ids":[]},"telegram":{"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}},"pushover":{"ids":[]},"email":{"ids":[]},"signal":{"ids":[]},"matrix":{"ids":[]}} 2024-01-20 15:19:12.785 - debug: device-reminder.0 (3056) RETURN {"used":false,"startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2"} 2024-01-20 15:19:12.786 - debug: device-reminder.0 (3056) OBJ IN CONSTRUCTOR: {"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"} 2024-01-20 15:19:12.788 - error: device-reminder.0 (3056) [ERROR] {funcCreateObject}: "TypeError: Cannot read properties of undefined (reading 'length')" 2024-01-20 15:19:12.788 - error: device-reminder.0 (3056) [ERROR] {funcCreateObject}: Please open instance and click Save and close again. If the error persists, please report it to the developer 2024-01-20 15:19:12.788 - error: device-reminder.0 (3056) [ERROR] {onReady}: "TypeError: Cannot read properties of undefined (reading 'dnd')" 2024-01-20 15:19:12.789 - debug: device-reminder.0 (3056) undefined 2024-01-20 15:19:24.792 - debug: device-reminder.0 (3056) Data from configuration received : {"command":"linkedDevice","message":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"from":"system.adapter.admin.1","callback":{"message":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"id":49,"ack":false,"time":1705760364790},"_id":46752294} 2024-01-20 15:19:24.793 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1","check":"open"} 2024-01-20 15:19:24.793 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1","check":"open"} 2024-01-20 15:19:24.794 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2","check":"open"} 2024-01-20 15:19:24.794 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2","check":"open"} 2024-01-20 15:19:24.794 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3","check":"open"} 2024-01-20 15:19:24.795 - debug: device-reminder.0 (3056) {"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3","check":"open"} 2024-01-20 15:19:24.795 - debug: device-reminder.0 (3056) {"checked":[{"name":"Wasserkocher","id":"1"},{"name":"Waschmaschine","id":"2"},{"name":"Geschirrspüler","id":"3"}],"failed":[]} 2024-01-20 15:19:24.795 - debug: device-reminder.0 (3056) respond wird ausgefuehrt: {"checked":[{"name":"Wasserkocher","id":"1"},{"name":"Waschmaschine","id":"2"},{"name":"Geschirrspüler","id":"3"}],"failed":[]} 2024-01-20 15:19:24.806 - debug: device-reminder.0 (3056) Data from configuration received : {"command":"devices","message":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}],"from":"system.adapter.admin.1","callback":{"message":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}],"id":50,"ack":false,"time":1705760364805},"_id":46752295} 2024-01-20 15:19:24.812 - debug: device-reminder.0 (3056) {"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1","check":"open"} 2024-01-20 15:19:24.813 - debug: device-reminder.0 (3056) {"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1","check":"open"} 2024-01-20 15:19:24.819 - debug: device-reminder.0 (3056) {"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2","check":"open"} 2024-01-20 15:19:24.820 - debug: device-reminder.0 (3056) {"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2","check":"open"} 2024-01-20 15:19:24.823 - debug: device-reminder.0 (3056) {"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3","check":"open"} 2024-01-20 15:19:24.824 - debug: device-reminder.0 (3056) {"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3","check":"open"} 2024-01-20 15:19:24.824 - debug: device-reminder.0 (3056) {"checked":[{"name":"Wasserkocher","id":"1","autoOff":false},{"name":"Waschmaschine","id":"2","autoOff":false},{"name":"Geschirrspüler","id":"3","autoOff":false}],"failed":[]} 2024-01-20 15:19:24.824 - debug: device-reminder.0 (3056) respond wird ausgefuehrt: {"checked":[{"name":"Wasserkocher","id":"1","autoOff":false},{"name":"Waschmaschine","id":"2","autoOff":false},{"name":"Geschirrspüler","id":"3","autoOff":false}],"failed":[]} 2024-01-20 15:19:24.839 - debug: device-reminder.0 (3056) Data from configuration received : {"command":"alexa","message":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"from":"system.adapter.admin.1","callback":{"message":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"id":51,"ack":false,"time":1705760364837},"_id":46752296} 2024-01-20 15:19:24.841 - debug: device-reminder.0 (3056) {"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1","check":"open"} 2024-01-20 15:19:24.842 - debug: device-reminder.0 (3056) {"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1","check":"open"} 2024-01-20 15:19:24.848 - debug: device-reminder.0 (3056) {"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2","check":"open"} 2024-01-20 15:19:24.849 - debug: device-reminder.0 (3056) {"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2","check":"open"} 2024-01-20 15:19:24.849 - debug: device-reminder.0 (3056) {"checked":[{"name":"Echo Dot WZ","id":"1"},{"name":"Echo Dot Bad","id":"2"}],"failed":[]} 2024-01-20 15:19:24.850 - debug: device-reminder.0 (3056) respond wird ausgefuehrt: {"checked":[{"name":"Echo Dot WZ","id":"1"},{"name":"Echo Dot Bad","id":"2"}],"failed":[]} 2024-01-20 15:19:24.887 - debug: device-reminder.0 (3056) Data from configuration received : {"command":"sayit","message":[],"from":"system.adapter.admin.1","callback":{"message":[],"id":52,"ack":false,"time":1705760364880},"_id":46752297} 2024-01-20 15:19:24.888 - debug: device-reminder.0 (3056) {"checked":[],"failed":[]} 2024-01-20 15:19:24.888 - debug: device-reminder.0 (3056) respond wird ausgefuehrt: {"checked":[],"failed":[]} 2024-01-20 15:19:24.906 - debug: device-reminder.0 (3056) Data from configuration received : {"command":"telegram","message":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"from":"system.adapter.admin.1","callback":{"message":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"id":53,"ack":false,"time":1705760364904},"_id":46752298} 2024-01-20 15:19:24.908 - error: device-reminder.0 (3056) 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(). 2024-01-20 15:19:24.908 - error: device-reminder.0 (3056) unhandled promise rejection: Cannot read properties of undefined (reading 'length') 2024-01-20 15:19:24.910 - error: device-reminder.0 (3056) TypeError: Cannot read properties of undefined (reading 'length') at deviceReminder.ctrlInput (/opt/iobroker/node_modules/iobroker.device-reminder/main.js:1282:39) at deviceReminder.onMessage (/opt/iobroker/node_modules/iobroker.device-reminder/main.js:1236:24) at deviceReminder.emit (node:events:517:28) at deviceReminder.emit (node:domain:489:12) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8433:34) at Immediate. (/opt/iobroker/node_modules/@iobroker/db-states-redis/build/lib/states/statesInRedisClient.js:270:37) at process.processImmediate (node:internal/timers:476:21) 2024-01-20 15:19:24.910 - error: device-reminder.0 (3056) Cannot read properties of undefined (reading 'length') 2024-01-20 15:19:24.913 - info: device-reminder.0 (3056) terminating 2024-01-20 15:19:24.914 - warn: device-reminder.0 (3056) Terminated (UNCAUGHT_EXCEPTION): Without reason 2024-01-20 15:19:25.416 - info: device-reminder.0 (3056) terminating 2024-01-20 15:19:25.579 - error: host.iob instance system.adapter.device-reminder.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2024-01-20 15:19:56.670 - debug: device-reminder.0 (3302) Redis Objects: Use Redis connection: 0.0.0.0:9001 2024-01-20 15:19:56.764 - debug: device-reminder.0 (3302) Objects client ready ... initialize now 2024-01-20 15:19:56.767 - debug: device-reminder.0 (3302) Objects create System PubSub Client 2024-01-20 15:19:56.768 - debug: device-reminder.0 (3302) Objects create User PubSub Client 2024-01-20 15:19:56.973 - debug: device-reminder.0 (3302) Objects client initialize lua scripts 2024-01-20 15:19:56.981 - debug: device-reminder.0 (3302) Objects connected to redis: 0.0.0.0:9001 2024-01-20 15:19:57.096 - debug: device-reminder.0 (3302) Redis States: Use Redis connection: 0.0.0.0:9000 2024-01-20 15:19:57.218 - debug: device-reminder.0 (3302) States create System PubSub Client 2024-01-20 15:19:57.218 - debug: device-reminder.0 (3302) States create User PubSub Client 2024-01-20 15:19:57.415 - debug: device-reminder.0 (3302) States connected to redis: 0.0.0.0:9000 2024-01-20 15:19:57.641 - info: device-reminder.0 (3302) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.device-reminder, node: v18.19.0, js-controller: 5.0.17 2024-01-20 15:19:57.656 - debug: device-reminder.0 (3302) {"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}} 2024-01-20 15:19:57.656 - debug: device-reminder.0 (3302) {"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}} 2024-01-20 15:19:57.656 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.657 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.657 - debug: device-reminder.0 (3302) undefined 2024-01-20 15:19:57.657 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.657 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.657 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.658 - debug: device-reminder.0 (3302) {"ids":[]} 2024-01-20 15:19:57.658 - debug: device-reminder.0 (3302) undefined 2024-01-20 15:19:57.658 - debug: device-reminder.0 (3302) {"alexa":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}},"telegram":{"1":{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}},"sayit":{},"pushover":{},"discord":{},"whatsapp":{},"signal":{},"email":{},"matrix":{}} 2024-01-20 15:19:57.658 - debug: device-reminder.0 (3302) CONFIG INPUT{"custom":{"ids":[{"name":"custom1","startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2","id":"0"},{"name":"custom2","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"1"},{"name":"custom3","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"2"},{"name":"custom4","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"3"},{"name":"custom5","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"4"},{"name":"custom6","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"5"},{"name":"custom7","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"6"},{"name":"custom8","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"7"},{"name":"custom9","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"8"},{"name":"custom10","startVal":"30","endVal":"5","standby":"1","startCount":"1","endCount":"20","id":"9"}],"final":{}},"default":{"ids":[{"name":"washing-machine","startVal":"30","endVal":"15","standby":"1","startCount":"5","endCount":"65","id":"0"},{"name":"dryer","startVal":"120","endVal":"15","standby":"1","startCount":"2","endCount":"20","id":"1"},{"name":"dishwasher","startVal":"15","endVal":"0.25","standby":"0.5","startCount":"2","endCount":"120","id":"2"}],"final":{}},"status":{"ids":[{"stateAction":"in action","stateStandby":"standby","stateOff":"switched off","id":"1"}],"final":{}},"linkedDevice":{"ids":[{"enabled":true,"name":"Wasserkocher","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"0","abort":true,"id":"1"},{"enabled":true,"name":"Waschmaschine","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"5","abort":true,"id":"2"},{"enabled":true,"name":"Geschirrspüler","alexa":["1"],"telegram":["1"],"autoOff":true,"timer":"30","abort":true,"id":"3"}],"finalIds":{"1":{"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"},"2":{"type":"washing-machine","pathConsumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","pathSwitch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","enabled":true,"name":"Waschmaschine","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"5","autoOff":true,"abort":true,"id":"2"},"3":{"type":"dishwasher","pathConsumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","enabled":true,"name":"Geschirrspüler","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"30","autoOff":true,"abort":true,"id":"3"}}},"devices":{"ids":[{"name":"Wasserkocher","type":"custom1","consumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","id":"1"},{"name":"Waschmaschine","type":"washing-machine","consumption":"alias.0.Geraete.Keller.Waschmaschine.ENERGY_Power","switch":"alias.0.Geraete.Keller.Waschmaschine.POWER","startText":"Waschmaschine wurde gestartet","endText":"Waschmaschine ist fertig","id":"2"},{"name":"Geschirrspüler","type":"dishwasher","consumption":"alias.0.Geraete.Kueche.Geschirrspueler.ENERGY_Power","switch":"alias.0.Geraete.Kueche.Geschirrspueler.POWER","startText":"Geschirrspüler wurde gestartet","endText":"Geschirrspüler ist fertig","id":"3"}]},"alexa":{"ids":[{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"1"},{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","activeFrom":"05:30","activeUntil":"23:59","id":"2"}],"finalIds":{"1":{"name":"Echo Dot WZ","path":"alias.0.Echo.Wohnzimmer.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"},"2":{"name":"Echo Dot Bad","path":"alias.0.Echo.Bad.announcement","volume":"30","timeMin":"05:30","timeMax":"23:59"}}},"sayit":{"ids":[]},"whatsapp":{"ids":[]},"telegram":{"ids":[{"group":false,"name":"Ralf","inst":".0","username":"Ralf","chatID":"","id":"1"}],"finalIds":{"1":{"name":"Ralf","inst":".0","username":"Ralf","chatId":0,"group":false}}},"pushover":{"ids":[]},"email":{"ids":[]},"signal":{"ids":[]},"matrix":{"ids":[]}} 2024-01-20 15:19:57.695 - debug: device-reminder.0 (3302) RETURN {"used":false,"startVal":"15","endVal":"6","standby":"1","startCount":"2","endCount":"2"} 2024-01-20 15:19:57.695 - debug: device-reminder.0 (3302) OBJ IN CONSTRUCTOR: {"type":"custom1","pathConsumption":"alias.0.Geraete.Kueche.Wasserkocher.ENERGY_Power","pathSwitch":"alias.0.Geraete.Kueche.Wasserkocher.POWER1","startText":"","endText":"Wasserkocher ist fertig","enabled":true,"name":"Wasserkocher","alexa":["1"],"sayit":[],"telegram":["1"],"whatsapp":[],"pushover":[],"signal":[],"email":[],"matrix":[],"timer":"0","autoOff":true,"abort":true,"id":"1"} 2024-01-20 15:19:57.696 - error: device-reminder.0 (3302) [ERROR] {funcCreateObject}: "TypeError: Cannot read properties of undefined (reading 'length')" 2024-01-20 15:19:57.696 - error: device-reminder.0 (3302) [ERROR] {funcCreateObject}: Please open instance and click Save and close again. If the error persists, please report it to the developer 2024-01-20 15:19:57.696 - error: device-reminder.0 (3302) [ERROR] {onReady}: "TypeError: Cannot read properties of undefined (reading 'dnd')" 2024-01-20 15:19:57.696 - debug: device-reminder.0 (3302) undefined
Anschliessend sind keine Geräte mehr da und es lassen sich auch keine hinzufügen.
-
@xenon Hallo, ja meine Geräte sind auch alle futsch.....
-
-
Ich brauche dazu unbedingt die Konsolen Einträge! Das iobroker Log hilft hier nicht, da dort die Fehler nicht auftauchen!
-
bin dem Fehler auf den Spur, konnte es reproduzieren, gebt mir kurz
-
@xenon Bis zu dem Zeitpunkt wo IOB im Firefox nicht mehr erreichbar ist, steht nichts vom device-reminder in der Konsole drin.
Ich starte das Ganze jetzt nochmal, mit ChromeEdit: Auch da steht der Adapter "noch" nicht drin bis zum Absturz
-
Neue Version auf github, bitte testen!! (habe die Version noch nicht angepasst!)
-
wenn es keine Probleme mehr gibt, bitte schnellst möglich bescheid geben, damit die neue Version in die latest kommt. Das war ein richtig dämlicher Tippfehler, unglaublich
-
@xenon Github: V3.1.1: Die "alten" Geräte sind da!
Edit: Mein Wasserkocher wird abgeschaltet, aber eine Meldung kommt weder per "Alexa" noch per Telegram.
Wurde natürlich vorher richtig eingestellt... -
@guergen sagte in Test Adapter device-reminder V 3.x:
@xenon Github: V3.1.1: Die "alten" Geräte sind da!
Edit: Mein Wasserkocher wird abgeschaltet, aber eine Meldung kommt weder per "Alexa" noch per Telegram.
Wurde natürlich vorher richtig eingestellt...Das gibt es doch nicht, seit dem neuen JS controller ist echt der Wurm drin
Im Log taucht wahrscheinlich nix auf?
-
@xenon Bin grade am Debug. Aber eine Testnachricht bei Alexa funktioniert auch grade nicht.
Beim Start bekomme ich eine Telegram-Nachricht, beim Abschalten jetzt auch.
Musste den Adapter händisch einmal neu starten, jetzt läuft es scheinbar; zumindest bei mir! -
@guergen Ich kann mich erst wieder gegen Abend ran setzen
-
@xenon Wie gesagt, nach einem händischen Neustart des Adapters läuft es!
Mit Startmeldung, Endmeldung und auch mit Endmeldung bei Abbruch
Danke für die schnelle Reaktion und Fehlerbeseitigung!
Ich hoffe dass es bei den anderen auch läuft! -
@guergen Wenn du ein Update von github machst, muss man glaube ich auch neustarten. Bin mir da aber jetzt nicht sicher
-
@xenon Macht er doch egtl von alleine, aber egal.
Zuverlässig kommt die Meldung aber leider nicht immer; weder Alexa, noch TG; keine Ahnung ob es an meinem System liegt oder woran. Kann morgen gerne noch ein paar mal den DR debuggen.
Vielleicht geht es ja bei anderen zuverlässig... -
Version 3.1.1 auf npm behebt den Bug
-
Guten Morgen,
kurze Frage am Rande, da auf GIT nicht beschrieben, was ist eine Benachrichtigung via MATRIX?BtW: Bei mir waren alle Objekte nach irgend einem Update einfach gelöscht und der Adapter hat auch keine Meldungen via Alexa mehr ausgegeben. Habe jetzt die GIT Version installiert und unter den Instanz Einstellungen (da war alles noch vorhanden) alle eingetragenen Geräte einmal auf "prüfen" gestellt und dann neu gespeichert.
Danach waren dann auch wieder alle Objekte vorhanden. Ich musste "nur "noch alle Verknüpfungen zu InfluxDB wieder herstellen.
Meiner Meinung nach einer der größten Pferdefüße von ioB, das nach einem löschen und neu anlegen von Objekten bereits bestehenden Kopplungen zu so Sachen wie InfluxDB, Sourceanalytix usw. nicht wieder automatisch hergestellt werden wenn auch der Datenpunkt wieder da.
-
@jb_sullivan said in Test Adapter device-reminder V 3.x:
Meiner Meinung nach einer der größten Pferdefüße von ioB, das nach einem löschen und neu anlegen von Objekten bereits bestehenden Kopplungen zu so Sachen wie InfluxDB, Sourceanalytix usw. nicht wieder automatisch hergestellt werden wenn auch der Datenpunkt wieder da.
Diese Verküpfungen werden als Attribute des States gespeichert. Wenn nun ein State gelöscht wird, dann werden diese Informationen natürlich auch gelöscht. Aus diesem Grunde sollten States nur dann gelöscht werden, wenn der Adapter deinstalliert wird aber natürlich NICHT bei einem upgrade / downgrade etc.
Wenn ein Adapter zu oft States löscht bitte ein Issue beim Adapter aufmachen - das muss dort gelöst werden. Technisch gibt es ausreichend Funktionen mit denen States geändert werden können ohne diese zu löschen.
Da aus diesem Posting nicht hervorgeht wann die States gelöscht wurden kann ich zu Ursache und möglicher Vermeidung nicht mehr sagen. Ein allfälliges Löschen / Deinstallieren des Adapters löscht aber jedenfalls alle States und damit auch die zugehörigen User Settings.
-
Aktuell ist es tatsächlich so, dass Datenpunkte entfernt werden, wenn das device nicht mehr in der gui existiert. Das ist in vielen Adaptern so gang und gäbe.
Ich werde zwei Änderungen einbringen, die das in Zukunft verhindern.
-
Sollte die Konfig im admin nicht richtig geladen werden (warum auch immer), werde ich den Fehler catchen und eine Fehlermeldung anzeigen lassen
-
Das automatische Löschen werde ich erstmal deaktivieren und entweder einen Button in die GUI einbauen, welcher die Leichen löscht oder ich lasse die Objekte da, diese müssen dann händisch entfernt werden
-
-
@xenon said in Test Adapter device-reminder V 3.x:
Aktuell ist es tatsächlich so, dass Datenpunkte entfernt werden, wenn das device nicht mehr in der gui existiert. Das ist in vielen Adaptern so gang und gäbe.
Ich werde zwei Änderungen einbringen, die das in Zukunft verhindern.
-
Sollte die Konfig im admin nicht richtig geladen werden (warum auch immer), werde ich den Fehler catchen und eine Fehlermeldung anzeigen lassen
-
Das automatische Löschen werde ich erstmal deaktivieren und entweder einen Button in die GUI einbauen, welcher die Leichen löscht oder ich lasse die Objekte da, diese müssen dann händisch entfernt werden
An sich ist es VÖLLIG in Ordnung dass States entfernt werden wenn Geräte entfernt werden. Persönlich seh ich da keinen Handlungsbedarf. Andernfalls besteht die Gefahr dass das System mit State-Zombies unnötig aufgebläht und verlangsamt wird.
Aber ob das Bereinigen nun automatisch erfolgt oder via "Cleanup Button" ist ein Feinheit die natürlich der Maintainer entscheiden kann. Die Luxusvariante könnte z.B. im Log beim Start darauf hinweisen dass es löschbereite States gibt und eine Bereinigung via Button anregen oder abfragen wann der State zuletzt beschrieben wurde und erst nach einigen Wochen löschen .... :-). Will aber hier nicht Arbeit schaffen. Und die Grundursache war ja ein Fehler der die Config verschwinden ließ - also alles andere als ein normaler Betriebszustand und nur in einer Test / Beta Software - das soll man auch nicht vergessen
Suboptimal empfinde ich den Ansatz mancher Adapter nur dem User zu empfehlen States manuell zu löschen. Das ist eine Aktion die ein 'Standard-User' nicht manuell machen sollte - ist zumindest meine Ansicht.
Jedenfalls DANKE @xenon dass du der Gemeinschaft diesen Adapter zur Verfügung stellst, aktiv wartest und deine Zeit dafpr spendest.
-