@oliverio said in Test Adapter mytime:
Da Countdown-Timers ja durch beschreiben von Datenpunkten anpassbar sind und
Ich laufe beim Anlegen eines Countdown und klicken auf den SetDP Button auf Probleme. Ich lege einen Namen an und setze die Stunde auf 1.
mytime.0 2025-01-22 20:27:10.268 info starting. Version 1.4.0 in /opt/iobroker/node_modules/iobroker.mytime, node: v20.18.1, js-controller: 7.0.6 host.iobroker 2025-01-22 20:27:09.591 info instance system.adapter.mytime.0 in version "1.4.0" started with pid 1612894 host.iobroker 2025-01-22 20:26:39.267 info Restart adapter system.adapter.mytime.0 because enabled host.iobroker 2025-01-22 20:26:39.266 error instance system.adapter.mytime.0 terminated with code 6 (UNCAUGHT_EXCEPTION) mytime.0 2025-01-22 20:26:38.728 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mytime.0 2025-01-22 20:26:38.727 info terminating mytime.0 2025-01-22 20:26:38.726 info cleaned everything up... mytime.0 2025-01-22 20:26:38.718 error Cannot set properties of undefined (setting 'config') mytime.0 2025-01-22 20:26:38.717 error TypeError: Cannot set properties of undefined (setting 'config') at mytimeCountdown.setCountdownConfigMsg (/opt/iobroker/node_modules/iobroker.mytime/lib/mytimeCountdown.js:588:46) at mytimeCountdown.processMessages (/opt/iobroker/node_modules/iobroker.mytime/lib/mytimeCountdown.js:566:18) at mytimeclassNew.processMessages (/opt/iobroker/node_modules/iobroker.mytime/lib/mytimeserver.js:60:48) at Mytime.onMessage (/opt/iobroker/node_modules/iobroker.mytime/main.js:102:22) at Mytime.emit (node:events:518:28) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:7262:20) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:483:21) mytime.0 2025-01-22 20:26:38.715 error unhandled promise rejection: Cannot set properties of undefined (setting 'config') mytime.0 2025-01-22 20:26:38.714 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().Nodejs-Installation:
/usr/bin/nodejs v20.18.1
/usr/bin/node v20.18.1
/usr/bin/npm 11.0.0
/usr/bin/npx 11.0.0
/usr/bin/corepack 0.29.4
ioBroker Core: js-controller 7.0.6
admin 7.4.10