ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
311 stars 191 forks source link

Failed to check if update available (ZigBee Adapter 1.10.3) #2115

Open gc-cacher opened 5 months ago

gc-cacher commented 5 months ago

After updating the ZigBee Adapter to version 1.10.3 I always get the following error if I checks for firmware updates:

Failed to check if update available for '0xa4c138e71aa99d58' Converting circular structure to JSON --> starting at object with constructor 'DerivedLogger' | property '_readableState' -> object with constructor 'ReadableState' | property 'pipes' -> object with constructor 'Array' | index 0 -> object with constructor 'DailyRotateFile' --- property 'parent' closes the circle

Restarting the ioBroker didn't help.

Regards gc-cacher

dimaiv7 commented 5 months ago

Ich kann es auch bestätigen. Die Meldung kommt für alle Geräte die OTA können.

cataclisma commented 5 months ago

Bei mir auch. Wollte ein Issue erstellen und schliesse mich diesem hier an.

MarkoP2507 commented 5 months ago

Habe das gleiche Problem auch mit version 1.10.4.

IKEA TRADFRI shortcut button Modell E1812

guitardoc commented 5 months ago

Selbes Problem mit Nous A1Z Zwischensteckern.

winni-priel commented 5 months ago

Hier auch mit allen Geräten 1.10.3 und 1.10.4 z.B. Failed to check if update available for '0xa4c138d25f92e991' Converting circular structure to JSON --> starting at object with constructor 'DerivedLogger' | property '_readableState' -> object with constructor 'ReadableState' | property 'pipes' -> object with constructor 'Array' | index 0 -> object with constructor 'DailyRotateFile' --- property 'parent' closes the circle

CPU-6502 commented 4 months ago

Gleiches Problem hier bei mir auch ...

Alligator666 commented 4 months ago

Gleiches Problem hier bei mir auch ...

PeterSmarthome commented 4 months ago

Bei mir ebenfalls (1.10.3) Failed to check if update available for '0xb43522fffecfc4db' Converting circular structure to JSON --> starting at object with constructor 'DerivedLogger' | property '_readableState' -> object with constructor 'ReadableState' | property 'pipes' -> object with constructor 'Array' | index 0 -> object with constructor 'DailyRotateFile' --- property 'parent' closes the circle

arteck commented 4 months ago

check GIT version

JF62 commented 4 months ago

The verification works again with this version

dimaiv7 commented 4 months ago

check GIT version

Die Überprüfung läuft jetzt gut durch. Aber, sobald man ein Update vom Gerät startet, stürzt der Zigbee Adapter ab.

`2024-05-19 13:33:22.331 - info: zigbee.0 (8568) Start firmware update for 0x385cfbfffe6c6c30

2024-05-19 13:33:26.330 - error: zigbee.0 (8568) 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-05-19 13:33:26.330 - error: zigbee.0 (8568) unhandled promise rejection: onProgress is not a function

2024-05-19 13:33:26.337 - error: zigbee.0 (8568) TypeError: onProgress is not a function at callOnProgress (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:374:9) at sendImageBlockResponse (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:508:38) at /opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:525:25 at processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-05-19 13:33:26.338 - error: zigbee.0 (8568) onProgress is not a function

2024-05-19 13:33:26.351 - info: zigbee.0 (8568) cleaned everything up...

2024-05-19 13:33:26.352 - info: zigbee.0 (8568) Zigbee: disabling joining new devices.

2024-05-19 13:33:26.851 - info: zigbee.0 (8568) terminating

2024-05-19 13:33:26.852 - warn: zigbee.0 (8568) Terminated (UNCAUGHT_EXCEPTION): Without reason

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: TypeError: onProgress is not a function

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: at callOnProgress (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:374:9)

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: at sendImageBlockResponse (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:508:38)

2024-05-19 13:33:27.416 - error: host.IoBroker Caught by controller[2]: at /opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:525:25

2024-05-19 13:33:27.416 - error: host.IoBroker Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-05-19 13:33:27.416 - error: host.IoBroker instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

2024-05-19 13:33:27.416 - info: host.IoBroker Restart adapter system.adapter.zigbee.0 because enabled `

fzoellne commented 4 months ago

check GIT version

Die Überprüfung läuft jetzt gut durch. Aber, sobald man ein Update vom Gerät startet, stürzt der Zigbee Adapter ab.

`2024-05-19 13:33:22.331 - info: zigbee.0 (8568) Start firmware update for 0x385cfbfffe6c6c30

2024-05-19 13:33:26.330 - error: zigbee.0 (8568) 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-05-19 13:33:26.330 - error: zigbee.0 (8568) unhandled promise rejection: onProgress is not a function

2024-05-19 13:33:26.337 - error: zigbee.0 (8568) TypeError: onProgress is not a function at callOnProgress (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:374:9) at sendImageBlockResponse (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:508:38) at /opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:525:25 at processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-05-19 13:33:26.338 - error: zigbee.0 (8568) onProgress is not a function

2024-05-19 13:33:26.351 - info: zigbee.0 (8568) cleaned everything up...

2024-05-19 13:33:26.352 - info: zigbee.0 (8568) Zigbee: disabling joining new devices.

2024-05-19 13:33:26.851 - info: zigbee.0 (8568) terminating

2024-05-19 13:33:26.852 - warn: zigbee.0 (8568) Terminated (UNCAUGHT_EXCEPTION): Without reason

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: TypeError: onProgress is not a function

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: at callOnProgress (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:374:9)

2024-05-19 13:33:27.415 - error: host.IoBroker Caught by controller[2]: at sendImageBlockResponse (/opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:508:38)

2024-05-19 13:33:27.416 - error: host.IoBroker Caught by controller[2]: at /opt/iobroker/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:525:25

2024-05-19 13:33:27.416 - error: host.IoBroker Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-05-19 13:33:27.416 - error: host.IoBroker instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

2024-05-19 13:33:27.416 - info: host.IoBroker Restart adapter system.adapter.zigbee.0 because enabled `

can confirm this.

goldoliver commented 4 months ago

Also for me, updates are not working :-( (newest github version)

`

zigbee.0 2024-05-24 17:34:56.008 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
zigbee.0 2024-05-24 17:34:56.004 info terminating
zigbee.0 2024-05-24 17:34:55.510 info Zigbee: disabling joining new devices.
zigbee.0 2024-05-24 17:34:55.502 info cleaned everything up...
zigbee.0 2024-05-24 17:34:55.491 error onProgress is not a function
zigbee.0 2024-05-24 17:34:55.490 error TypeError: onProgress is not a function at callOnProgress (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:342:9) at sendImageBlockResponse (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:452:34) at /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:469:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
zigbee.0 2024-05-24 17:34:55.489 error unhandled promise rejection: onProgress is not a function
zigbee.0 2024-05-24 17:34:55.488 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().
zigbee.0 2024-05-24 17:34:54.569 info Start firmware update for 0x7cb03exxxxxxxx

`

arteck commented 3 months ago

check again

dimaiv7 commented 3 months ago

Nein, funktioniert immer noch nicht. Stürzt ab mit gleichem Fehler.

goldoliver commented 3 months ago

same here..

latest version installed before I tried..

arteck commented 3 months ago

bei mir gehts mit der GIT version grafik

für eine HUE Lampe

grafik

grafik

Madaraxa commented 3 months ago

Hab gerade die github Version installiert (1.10.4 wird jetzt angezeigt). Leider bei mir auch noch sehr viele Fehler wie weiter oben genannt. Log zeigt 99+ error an nach ein paar Sekunden und zigbee Adapter wird gestoppt

arteck commented 3 months ago

dann hastdu nicht die GIT version

Madaraxa commented 3 months ago

Hmm. Ok. Ich hab im iobroker den Expertenmodus aktiviert und bin dann bei Adapter - zigbee auf die katze oben gegangen Und hab bei github nach zigbee gesucht. War das falsch?

fraggle-iw commented 3 months ago

Had the same issue. Updated js-controller to 5.0.19. Now works as supposed.

goldoliver commented 3 months ago

I just tried again, zigbee and js up to date. Seems like some devices do the update and some lead to a crash of the instance like described in my last message :(

Madaraxa commented 3 months ago

dann hast du nicht die GIT version

Du hattest damit zwar nicht recht, aber es war ein anderer Fehler. Mit der Github Version 1.10.4 läuft es ohne Fehler (JS-Controller 6.0.4). Sorry... ich hatte den Zigbee Stick zu nah am "Host", da ich ihn zum putzen bewegt habe und nicht dran gedacht hatte ihn wieder weiter weg zu legen... Das Kabel hat gerade mal 1m Länge, aber die ist entscheidend

English: With the Github Version 1.10.4 everything works fine here `

zigbee.0 2024-06-17 12:04:19.168 info Failed to check if update available for '0x2c1165fffe8a05ce' Device didn't respond to OTA request
zigbee.0 2024-06-17 12:04:19.165 info Failed to check if update available for '0x680ae2fffef98676' Device didn't respond to OTA request
zigbee.0 2024-06-17 12:03:19.521 info current Firmware for 0x04cf8cdf3c7e2910 is 24 new is 22
zigbee.0 2024-06-17 12:03:19.493 info current Firmware for 0x04cf8cdf3c7b00ca is 24 new is 22
zigbee.0 2024-06-17 12:03:19.473 info current Firmware for 0x04cf8cdf3c7b18f1 is 24 new is 22
zigbee.0 2024-06-17 12:03:19.422 info Failed to check if update available for '0x2c1165fffe7d68a2' Device didn't respond to OTA request
zigbee.0 2024-06-17 12:03:12.990 info List of port: [{"path":"/dev/ttyACM0","manufacturer":"Texas Instruments","pnpId":"usb-Texas_Instruments_CC2538_USB_CDC-if00","vendorId":"0451","productId":"16c8"},{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}]

`

arteck commented 3 months ago

@goldoliver

some lead to a crash of the instance like described in my last message :(

which devices ?? i've testet it with a hue bulb..

goldoliver commented 3 months ago

It was a normal IKEA bulb.. but it's very weird.. after some successfull updates of other devices, also these which led to crash before were updateable. Now it seems to work in most cases. Some of the battery powered devices like IKEA buttons are not working well, but at least they try to get updated without crashing the instance ;-)