Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled promise rejection -> v2.2.0 #311

Open
manny4566 opened this issue Apr 28, 2024 · 6 comments
Open

Unhandled promise rejection -> v2.2.0 #311

manny4566 opened this issue Apr 28, 2024 · 6 comments

Comments

@manny4566
Copy link

Describe the bug
Hi,

seit kurzem tritt foldendes Adapter Problem bei mir auf. Scheinbar hat der Adapter Probleme das Gerät zu identifizieren bzw. nach dem connect damit zu arbeiten. Der Fehler scheint erst seit 2.2.0 vorhanden zu sein. 2.1.5 funktioniert noch.
Musste ein downgrade machen. Danke

Screenshots & Logfiles

broadlink2.0 2024-04-28 12:28:46.374 info terminating
broadlink2.0 2024-04-28 12:28:46.358 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.358 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 12:28:46.358 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.264 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.264 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 12:28:46.263 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.155 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.155 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 12:28:46.155 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.055 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:46.055 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 12:28:46.054 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:45.953 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:45.953 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 12:28:45.953 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 12:28:45.929 info discover [ '192.168.0.149' ] from 192.168.0.200:33951
broadlink2.0 2024-04-28 12:28:45.929 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 12:28:45.928 warn device RM:0x5f36_a0:43:b0:46:82:3e not found, please rescan later again or delete it! It was: 192.168.0.149,80,24374,RM:RMmini3,0,[object Object],a0:43:b0:46:82:3e,RM4,RM:0x5f36_a0:43:b0:46:82:3e,0x5f36,RM Mini 3,RMmini3,RM:0x5f36_a0:43:b0:46:82:3e,44057
broadlink2.0 2024-04-28 12:28:45.928 warn Error in deviceScan: TypeError: Cannot read properties of null (reading 'send')at Broadlink.discover (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2102:24)at async deviceScan (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:246:3)at async main (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:1021:3)
broadlink2.0 2024-04-28 12:28:45.875 info terminating
broadlink2.0 2024-04-28 12:28:45.875 info terminating
broadlink2.0 2024-04-28 12:28:45.874 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
broadlink2.0 2024-04-28 12:28:45.874 info terminating
broadlink2.0 2024-04-28 12:28:45.874 info Adapter disconnected and stopped with dostop(null) and callback(true)
broadlink2.0 2024-04-28 12:28:45.874 info Close all connections...
broadlink2.0 2024-04-28 12:28:45.873 error Cannot read properties of undefined (reading 'split')
broadlink2.0 2024-04-28 12:28:45.873 error TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)
broadlink2.0 2024-04-28 12:28:45.873 error unhandled promise rejection: Cannot read properties of undefined (reading 'split')
broadlink2.0 2024-04-28 12:28:45.872 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().
broadlink2.0 2024-04-28 12:28:45.872 warn Promise problem unhandledRejection of Promise Promise { TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)} with reason TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)
broadlink2.0 2024-04-28 12:28:45.723 info discover [ '192.168.0.255', '255.255.255.255', '224.0.0.251' ] from 192.168.0.200:37320
broadlink2.0 2024-04-28 12:28:45.722 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 12:28:45.718 info Discover Broadlink devices for 10sec on broadlink2.0
broadlink2.0 2024-04-28 12:28:45.613 info macObjects: [ 'a0:43:b0:46:82:3e' ]
broadlink2.0 2024-04-28 12:28:45.613 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 12:28:45.612 info broadlink2 has 1 old devices!
broadlink2.0 2024-04-28 12:28:45.612 info Devices to rename: LB:hostName-aa-bb-cc=LB:SmartBulb
broadlink2.0 2024-04-28 12:28:45.611 info Devices to add: 0xabcd=RM4
broadlink2.0 2024-04-28 12:28:45.606 info Scanning additional IP's: 192.168.0.149
broadlink2.0 2024-04-28 12:28:45.604 info broadlink2 initialization started...
broadlink2.0 2024-04-28 12:28:45.539 info starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.broadlink2, node: v18.19.0, js-controller: 5.0.19

Versions:

  • Adapter version: 2.2.0
  • JS-Controller version: 5.0.19
  • Node version: v18.20.2
  • Operating system: Debian 12
@mcm1957
Copy link
Member

mcm1957 commented Apr 28, 2024

An sich wurde der eigentliche Adaptercode zwischen 2.1.5 und 2.2.0 nicht angegriffen.
Mal schaun ob bei den dependencies was verdächtig erscheint

@manny4566
Copy link
Author

manny4566 commented Apr 28, 2024

An sich wurde der eigentliche Adaptercode zwischen 2.1.5 und 2.2.0 nicht angegriffen. Mal schaun ob bei den dependencies was verdächtig erscheint

Hi, hast Recht. War zu vorschnell. Das Downgrade war ebenfalls nicht erfolgreich. Hab ich nur erst vermutet.
Hab einen Test Iobroker, der den Adapter noch auf 2.1.5 hat. Und dort läuft er. Daher dachte ich vorschnell, dass 2.1.5 den Fehler nicht hat.
Hab auf meinen Prod aber mit dem 2.1.5, nach downgrade, das gleiche Problem. Scheint also nicht der Adapter zu sein, sondern eine Dependency wie du vermutest.

Mein Test System hat noch:

nodejs v18.19.0
npm v9.2.0

Sonst erkenne ich keine größeren Unterschiede aktuell.

@mcm1957
Copy link
Member

mcm1957 commented Apr 28, 2024

Hast du node ebenfalls aktualisisert?

Bitte schalt jedenfalls mal den Log Level auf DEBUG und poste das Log dann hier. Ev. sieht man dann mehr.
Bei einem check der Dependencies hab ich zunächst mal nichts gesehen was mir ins Auge gesprungen ist. 99% der Updates betreffen nur Test und Entwicklung.

@manny4566
Copy link
Author

Hast du node ebenfalls aktualisisert?

Bitte schalt jedenfalls mal den Log Level auf DEBUG und poste das Log dann hier. Ev. sieht man dann mehr. Bei einem check der Dependencies hab ich zunächst mal nichts gesehen was mir ins Auge gesprungen ist. 99% der Updates betreffen nur Test und Entwicklung.

Ne, hab erst heute auf v18.20.2 aktualisiert. War vorher auf der v18.19.0 und wollte nodejs ausschließen. Also auch mit v18.19.0 war das Problem schon vorhanden auf diesem System.

broadlink2.0 2024-04-28 18:36:48.679 info terminating
broadlink2.0 2024-04-28 18:36:48.626 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.626 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 18:36:48.625 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.526 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.526 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 18:36:48.526 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.427 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.427 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 18:36:48.427 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.328 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.328 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 18:36:48.328 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.224 error Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.224 error TypeError: Cannot read properties of null (reading 'a0:43:b0:46:82:3e') at Broadlink.parsePublic (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:1990:24) at Udp. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2046:43) at Udp.emit (node:events:517:28) at Socket. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:45:12) at Socket.emit (node:events:517:28) at UDP.onMessage [as onmessage] (node:dgram:942:8)
broadlink2.0 2024-04-28 18:36:48.223 error uncaught exception: Cannot read properties of null (reading 'a0:43:b0:46:82:3e')
broadlink2.0 2024-04-28 18:36:48.200 info discover [ '192.168.0.149' ] from 192.168.0.200:35333
broadlink2.0 2024-04-28 18:36:48.200 info debug: UDP listening on 0.0.0.0:35333
broadlink2.0 2024-04-28 18:36:48.200 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 18:36:48.200 info debug: should discover/search [ { address: '192.168.0.149', port: 80, devtype: 24374, oname: 'RM:RMmini3', cloud: 0, maco: { '0': 62, '1': 130, '2': 70, '3': 176, '4': 67, '5': 160 }, mac: 'a0:43:b0:46:82:3e', type: 'RM4', name: 'RM:0x5f36_a0:43:b0:46:82:3e', devhex: '0x5f36', devname: 'RM Mini 3', names: [ 'RMmini3' ], iname: 'RM:0x5f36_a0:43:b0:46:82:3e', fware: 44057 }]
broadlink2.0 2024-04-28 18:36:48.199 warn device RM:0x5f36_a0:43:b0:46:82:3e not found, please rescan later again or delete it! It was: 192.168.0.149,80,24374,RM:RMmini3,0,[object Object],a0:43:b0:46:82:3e,RM4,RM:0x5f36_a0:43:b0:46:82:3e,0x5f36,RM Mini 3,RMmini3,RM:0x5f36_a0:43:b0:46:82:3e,44057
broadlink2.0 2024-04-28 18:36:48.199 warn Error in deviceScan: TypeError: Cannot read properties of null (reading 'send')at Broadlink.discover (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2102:24)at async deviceScan (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:246:3)at async main (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:1021:3)
broadlink2.0 2024-04-28 18:36:48.180 info terminating
broadlink2.0 2024-04-28 18:36:48.180 info terminating
broadlink2.0 2024-04-28 18:36:48.180 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
broadlink2.0 2024-04-28 18:36:48.180 info terminating
broadlink2.0 2024-04-28 18:36:48.180 info Adapter disconnected and stopped with dostop(null) and callback(true)
broadlink2.0 2024-04-28 18:36:48.180 info Close all connections...
broadlink2.0 2024-04-28 18:36:48.179 error Cannot read properties of undefined (reading 'split')
broadlink2.0 2024-04-28 18:36:48.179 error TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)
broadlink2.0 2024-04-28 18:36:48.179 error unhandled promise rejection: Cannot read properties of undefined (reading 'split')
broadlink2.0 2024-04-28 18:36:48.179 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().
broadlink2.0 2024-04-28 18:36:48.178 warn Promise problem unhandledRejection of Promise Promise { TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)} with reason TypeError: Cannot read properties of undefined (reading 'split') at RM4. (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:2000:29)
broadlink2.0 2024-04-28 18:36:48.046 info debug: UDP listening on 0.0.0.0:49904
broadlink2.0 2024-04-28 18:36:47.997 info discover [ '192.168.0.255', '255.255.255.255', '224.0.0.251' ] from 192.168.0.200:35762
broadlink2.0 2024-04-28 18:36:47.996 info debug: UDP listening on 0.0.0.0:35762
broadlink2.0 2024-04-28 18:36:47.996 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 18:36:47.996 info debug: created State broadlink2.0._NewDeviceScan
broadlink2.0 2024-04-28 18:36:47.993 info debug: UDP listening on 0.0.0.0:15001
broadlink2.0 2024-04-28 18:36:47.993 info Discover Broadlink devices for 10sec on broadlink2.0
broadlink2.0 2024-04-28 18:36:47.992 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLStickAN = false
broadlink2.0 2024-04-28 18:36:47.991 info debug: created State broadlink2.0.Scenes.BLStickAN
broadlink2.0 2024-04-28 18:36:47.987 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLReceiverAUS = false
broadlink2.0 2024-04-28 18:36:47.986 info debug: created State broadlink2.0.Scenes.BLReceiverAUS
broadlink2.0 2024-04-28 18:36:47.982 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLReceiverAN = false
broadlink2.0 2024-04-28 18:36:47.981 info debug: created State broadlink2.0.Scenes.BLReceiverAN
broadlink2.0 2024-04-28 18:36:47.977 info debug: ChangeState ack:false of broadlink2.0.Scenes.KlimaWZAUS = false
broadlink2.0 2024-04-28 18:36:47.976 info debug: created State broadlink2.0.Scenes.KlimaWZAUS
broadlink2.0 2024-04-28 18:36:47.971 info debug: ChangeState ack:false of broadlink2.0.Scenes.KlimaWZAN = false
broadlink2.0 2024-04-28 18:36:47.970 info debug: created State broadlink2.0.Scenes.KlimaWZAN
broadlink2.0 2024-04-28 18:36:47.967 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLNETFLIX = false
broadlink2.0 2024-04-28 18:36:47.966 info debug: created State broadlink2.0.Scenes.BLNETFLIX
broadlink2.0 2024-04-28 18:36:47.964 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLPlayStationAN = false
broadlink2.0 2024-04-28 18:36:47.962 info debug: created State broadlink2.0.Scenes.BLPlayStationAN
broadlink2.0 2024-04-28 18:36:47.959 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLSWITCHAN = false
broadlink2.0 2024-04-28 18:36:47.957 info debug: created State broadlink2.0.Scenes.BLSWITCHAN
broadlink2.0 2024-04-28 18:36:47.953 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLSonyAUS = false
broadlink2.0 2024-04-28 18:36:47.952 info debug: created State broadlink2.0.Scenes.BLSonyAUS
broadlink2.0 2024-04-28 18:36:47.948 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLSonyAN = false
broadlink2.0 2024-04-28 18:36:47.947 info debug: created State broadlink2.0.Scenes.BLSonyAN
broadlink2.0 2024-04-28 18:36:47.943 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLFernseherAUS = false
broadlink2.0 2024-04-28 18:36:47.942 info debug: created State broadlink2.0.Scenes.BLFernseherAUS
broadlink2.0 2024-04-28 18:36:47.938 info debug: ChangeState ack:false of broadlink2.0.Scenes.BLFernseherAN = false
broadlink2.0 2024-04-28 18:36:47.894 info debug: created State broadlink2.0.Scenes.BLFernseherAN
broadlink2.0 2024-04-28 18:36:47.891 info debug: Config IP-Address end to remove: .fritz.box
broadlink2.0 2024-04-28 18:36:47.891 info macObjects: [ 'a0:43:b0:46:82:3e' ]
broadlink2.0 2024-04-28 18:36:47.891 info interface to be used: { netmaskBits: 24, address: '192.168.0.201/24', addrs: [ 192, 168, 0, 201 ], cidr: '192.168.0.201/24', bcaddr: '192.168.0.255'}:
broadlink2.0 2024-04-28 18:36:47.890 info broadlink2 has 1 old devices!
broadlink2.0 2024-04-28 18:36:47.890 info Devices to rename: LB:hostName-aa-bb-cc=LB:SmartBulb
broadlink2.0 2024-04-28 18:36:47.890 info Devices to add: 0xabcd=RM4
broadlink2.0 2024-04-28 18:36:47.889 info Scanning additional IP's: 192.168.0.149
broadlink2.0 2024-04-28 18:36:47.889 info broadlink2 initialization started...
broadlink2.0 2024-04-28 18:36:47.888 info debug: broadlink2 received 40 objects and 40 states, with config ip,scenes,switches,poll,new,rename,additional,interface,lang,latitude,longitude,adapterConf,loglevel
broadlink2.0 2024-04-28 18:36:47.834 info starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.broadlink2, node: v18.20.2, js-controller: 5.0.19
broadlink2.0 2024-04-28 18:36:47.785 debug States connected to redis: 127.0.0.1:9000
broadlink2.0 2024-04-28 18:36:47.718 debug States create User PubSub Client
broadlink2.0 2024-04-28 18:36:47.718 debug States create System PubSub Client
broadlink2.0 2024-04-28 18:36:47.702 debug Redis States: Use Redis connection: 127.0.0.1:9000
broadlink2.0 2024-04-28 18:36:47.677 debug Objects connected to redis: 127.0.0.1:9001
broadlink2.0 2024-04-28 18:36:47.675 debug Objects client initialize lua scripts
broadlink2.0 2024-04-28 18:36:47.633 debug Objects create User PubSub Client
broadlink2.0 2024-04-28 18:36:47.633 debug Objects create System PubSub Client
broadlink2.0 2024-04-28 18:36:47.632 debug Objects client ready ... initialize now
broadlink2.0 2024-04-28 18:36:47.601 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

@manny4566 manny4566 reopened this Apr 29, 2024
@manny4566
Copy link
Author

manny4566 commented Apr 30, 2024

Hast du node ebenfalls aktualisisert?

Bitte schalt jedenfalls mal den Log Level auf DEBUG und poste das Log dann hier. Ev. sieht man dann mehr. Bei einem check der Dependencies hab ich zunächst mal nichts gesehen was mir ins Auge gesprungen ist. 99% der Updates betreffen nur Test und Entwicklung.

Hi,

ich hab das Problem gefunden.
Man mag es kaum glauben, es liegt an dem Eintrag für das Broadlink2 Gerät in der /etc/hosts.
Dort habe ich für das Gerät einen Eintrag gesetzt gehabt, aber schon ewig und 3 Tage.
Entferne ich diesen, startet der Adapter sauber. Steht der drin, kommt es zu den oben genannten Fehlern.
An Sonderzeichen oder ähnliches liegt es nicht.
Selbst sowas funktioniert nicht:
"192.168.0.149 a"

Also gibt es irgendein Problem mit dem Adapter und der lokalen Namensauflösung.
Ich hoffe, dass du mit der Info das Problem finden kannst.

@mcm1957
Copy link
Member

mcm1957 commented Apr 30, 2024

DANKE für die Info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants