Habe mein Issue mittlerweile gepostet. Ein Kollege dort hatte schon ein ganz ähnliches Problem geschildert - jedoch aber mir einer etwas anderen Fehler Meldung in Log.
Ich hoffe, dass sich jemand Schlaues findet, der den Fehler findet
NEWS
Latest posts made by Trashman1981
-
RE: Mein erster Adapter: Für EZcontrol XS1
-
RE: Mein erster Adapter: Für EZcontrol XS1
@mcm57
Wie genau mache ich ein Issue auf? Ist wahrscheinlich ne dummer Frage... Aber ich weiß es leider nicht... -
RE: Mein erster Adapter: Für EZcontrol XS1
@mcm57 Vielen Dank für Deine Unterstützung. Der Adapter läuft wieder.
Allerdings bekomme ich jetzt die Meldung, das meine 12 actuators ge-added wurde, kann diese dann aber nicht sehen.Vielleicht bin ich gerade etwas übermüdet nach 15h Autofahrt, aber irgendwie komme ich nicht weiter...
xs1.0 2023-10-15 14:27:24.023 info Finished state creation. Added totally 12 actuators or sensors
Wenn ich die dann schalte (per XS1 direkt), kommt folgendes:
xs1.0 2023-10-15 14:43:09.741 warn State "xs1.0.Actuators.Schlafzimmer" has no existing object, this might lead to an error in future versions
Gruss, Trashman1981
-
RE: Mein erster Adapter: Für EZcontrol XS1
Sorry, bin irgendwie auf ne andere Seite zum Thema geleitet worden.
adapter: XS1@1.1.0
js-controller: 18.18
NPM: 8.19.14host.raspberrypi
2023-09-29 15:31:54.158 info Do not restart adapter system.adapter.xs1.0 because desired by instance
host.raspberrypi
2023-09-29 15:31:54.157 info instance system.adapter.xs1.0 terminated by request of the instance itself and will not be restarted, before user restarts it.xs1.0
2023-09-29 15:31:53.596 info Terminated (ADAPTER_REQUESTED_TERMINATION): xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81xs1.0
2023-09-29 15:31:53.207 info Finished state creation. Added totally 12 actuators or sensorsxs1.0
2023-09-29 15:31:52.695 warn Adapter will exit in latest 1 sec with code xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81!xs1.0
2023-09-29 15:31:52.693 info CopyList = {}xs1.0
2023-09-29 15:31:52.692 info config XS1 Addresse: http://192.168.188.50xs1.0
2023-09-29 15:31:52.690 info xs1 starting main...xs1.0
2023-09-29 15:31:52.688 info Adapter disconnected and stopped with dostop(xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81) and callback(false)xs1.0
2023-09-29 15:31:52.686 error xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81xs1.0
2023-09-29 15:31:51.914 info starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.xs1, node: v18.18.0, js-controller: 5.0.12
host.raspberrypi
2023-09-29 15:31:49.981 info instance system.adapter.xs1.0 started with pid 15046
host.raspberrypi
2023-09-29 15:31:49.916 info "system.adapter.xs1.0" enabled -
RE: Auch Probleme nach Node 16.20 Update
Danke, @mcm57 .
Ich über mich mal in Geduld und Demut und hoffe, dass sich jemand diesem Problem annehmen wird...Gruss
-
RE: Auch Probleme nach Node 16.20 Update
Ist halt komisch, das XS1 startet, die Aktoren lädt und nach ca 1sec (wie im log angekündigt) einfach stoppt
-
RE: Auch Probleme nach Node 16.20 Update
Copy text starting here:
======================= SUMMARY ======================= v.2023-06-20 Static hostname: raspberrypi Icon name: computer Machine ID: e92f2d8df54949499e286d108a5309ad Boot ID: 87a8e81479b04ddea680ea3b3bf7d275 Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.0 /usr/bin/node v18.18.0 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 457M 2.7G 1.0M 654M 3.3G Swap: 99M 0B 99M Total: 3.9G 457M 2.8G Active iob-Instances: 6 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 6.10.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 3135 States: 2777 Size of iob-Database: 10M /opt/iobroker/iobroker-data/objects.jsonl 5.9M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
RE: Auch Probleme nach Node 16.20 Update
Habe erst auf 18.18 gewechselt und dann iob laufen lassen.
Bei iob (nutze ich zum ersten Mal) kam aber viel Text aber nichts, was irgendwie falsch aussah. Worauf müssten ich achten? -
RE: Auch Probleme nach Node 16.20 Update
Habe auf 18.18 gewechselt. Gleicher Fehler
-
Auch Probleme nach Node 16.20 Update
Re: Mein erster Adapter: Für EZcontrol XS1
Hallo mcm57,
ich habe auch nach dem Node Update auf 16 (verbunden mit einer kompletten Neuinstallation meines Iobrokers auf Raspi) das folgende Problem.
Der Adapter startet, lädt kurz die 12 Aktoren und stoppt dann wieder. Hier das log:
host.raspberrypi
2023-09-27 11:14:00.840 info Do not restart adapter system.adapter.xs1.0 because desired by instance
host.raspberrypi
2023-09-27 11:14:00.839 info instance system.adapter.xs1.0 terminated by request of the instance itself and will not be restarted, before user restarts it.xs1.0
2023-09-27 11:14:00.276 info Terminated (ADAPTER_REQUESTED_TERMINATION): xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81xs1.0
2023-09-27 11:13:59.633 info Finished state creation. Added totally 0 actuators or sensorsxs1.0
2023-09-27 11:13:59.633 info Update Error: Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}xs1.0
2023-09-27 11:13:59.631 warn Error message from XS1:Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}xs1.0
2023-09-27 11:13:59.422 warn Error message from XS1:Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}xs1.0
2023-09-27 11:13:59.376 warn Adapter will exit in latest 1 sec with code xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81!xs1.0
2023-09-27 11:13:59.374 info CopyList = {}xs1.0
2023-09-27 11:13:59.372 info config XS1 Addresse: http://192.168.188.50,242:80xs1.0
2023-09-27 11:13:59.370 info xs1 starting main...xs1.0
2023-09-27 11:13:59.368 info Adapter disconnected and stopped with dostop(xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81) and callback(false)xs1.0
2023-09-27 11:13:59.367 error xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81Hat mit Node 12 noch alles funktioniert.
adapter: XS1@1.1.0
js-controller: 16.20.2
NPM: 8.19.14Kannst Du mir hier weiterhelfen?
MfG