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

Error warnings with 1.37.0-1 #22544

Open
raveit65 opened this issue May 8, 2024 · 7 comments
Open

Error warnings with 1.37.0-1 #22544

raveit65 opened this issue May 8, 2024 · 7 comments
Labels
problem Something isn't working

Comments

@raveit65
Copy link

raveit65 commented May 8, 2024

What happened?

I see weird error warnings in z2m log after a new start of z2m.

[2024-05-08 18:28:57] info: 	z2m: Licht Schlafz Boxen (0xf0d1b80000187efe): AC25697 - LEDVANCE SMART+ CLASSIC MULTICOLOUR 60 10W E27 (Router)
[2024-05-08 18:28:57] info: 	z2m: Thermo Schlafz (0x00158d0001ff9101): SPZB0001 - Eurotronic Spirit Zigbee wireless heater thermostat (EndDevice)
[2024-05-08 18:28:57] info: 	z2m: Zigbee: disabling joining new devices.
[2024-05-08 18:28:57] info: 	z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-08 18:28:57] info: 	z2m: Connected to MQTT server
[2024-05-08 18:28:58] info: 	z2m: Started frontend on port 8099
[2024-05-08 18:28:58] info: 	z2m: Zigbee2MQTT started!
[2024-05-08 18:29:12] error: 	zh:zstack:znp: Error while parsing to ZpiObject 'Error: CommandID '159' from subsystem '5' not found
    at Function.fromUnpiFrame (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/zpiObject.ts:60:19)
    at Znp.onUnpiParsed (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:93:38)
    at Parser.emit (node:events:517:28)
    at Parser.parseNext (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:45:26)
    at Parser.parseNext (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:51:22)
    at Parser._transform (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:19:14)
    at Parser.Transform._write (node:internal/streams/transform:175:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Parser.Writable.write (node:internal/streams/writable:337:10)'
[2024-05-08 18:30:31] info: 	z2m: Starting network scan (includeRoutes 'false')
[2024-05-08 18:31:19] info: 	z2m: Network scan finished

z2m seems to be working but i missed a clean log without error warnings which i don't understand.
Maybe this is evil?

What did you expect to happen?

No error warning in z2m log like it was with previous version.

How to reproduce it (minimal and precise)

Start or restart z2m on a hp ThinClint_t630

Zigbee2MQTT version

1.37.0-1

Adapter firmware version

13.4.0(zbbrdgpro)

Adapter

sonoff.zbbridge.pro with tasmota

Setup

plain on x86_64 , HP ThinClint_t630

Debug log

[2024-05-08 18:28:57] info: z2m: Licht Schlafz Boxen (0xf0d1b80000187efe): AC25697 - LEDVANCE SMART+ CLASSIC MULTICOLOUR 60 10W E27 (Router)
[2024-05-08 18:28:57] info: z2m: Thermo Schlafz (0x00158d0001ff9101): SPZB0001 - Eurotronic Spirit Zigbee wireless heater thermostat (EndDevice)
[2024-05-08 18:28:57] info: z2m: Zigbee: disabling joining new devices.
[2024-05-08 18:28:57] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-08 18:28:57] info: z2m: Connected to MQTT server
[2024-05-08 18:28:58] info: z2m: Started frontend on port 8099
[2024-05-08 18:28:58] info: z2m: Zigbee2MQTT started!
[2024-05-08 18:29:12] error: zh:zstack:znp: Error while parsing to ZpiObject 'Error: CommandID '159' from subsystem '5' not found
at Function.fromUnpiFrame (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/zpiObject.ts:60:19)
at Znp.onUnpiParsed (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:93:38)
at Parser.emit (node:events:517:28)
at Parser.parseNext (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:45:26)
at Parser.parseNext (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:51:22)
at Parser._transform (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:19:14)
at Parser.Transform._write (node:internal/streams/transform:175:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Parser.Writable.write (node:internal/streams/writable:337:10)'
[2024-05-08 18:30:31] info: z2m: Starting network scan (includeRoutes 'false')
[2024-05-08 18:31:19] info: z2m: Network scan finished

@raveit65 raveit65 added the problem Something isn't working label May 8, 2024
@raveit65 raveit65 changed the title Warnings with 1.37.0-1 Error warnings with 1.37.0-1 May 8, 2024
@Trashwarez
Copy link

Trashwarez commented May 9, 2024

Same here.

Error "error: zh:zstack:znp: Error while parsing to ZpiObject 'Error: CommandID '159' from subsystem '5' not found"

pops up in the log after reboot on a Raspberry Pi 3 with Bookworm (aarch64, latest updates), NodeJS 20.13.1 and a SONOFF ZBDongle-P with firmware 20230507 holding 58 devices (19 routers, 39 end devices).

Flash of prior firmware versions did not help as well as the deletion of "data/ coordinator_backup.json".

Had to rollback to 1.36.1. Everything works fine on this.

Logfile:

[2024-05-09 19:24:11] error: <->zh:zstack:znp: Error while parsing to ZpiObject 'Error: CommandID '159' from subsystem '5' not found
at Function.fromUnpiFrame (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/zpiObject.ts:60:19)
at Znp.onUnpiParsed (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:93:38)
at Parser.emit (node:events:519:28)
at Parser.parseNext (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:45:26)
at Parser.parseNext (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:51:22)
at Parser.parseNext (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:51:22)
at Parser.parseNext (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:51:22)
at Parser._transform (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:19:14)
at Parser.Transform._write (node:internal/streams/transform:171:8)
at writeOrBuffer (node:internal/streams/writable:564:12)'

[ Repeated 5 times ]

@RobertClarke64
Copy link

I have this issue too. But for me I only get this issue when I allow new devices to join and start the pairing sequence on a device. Once the error happens, I can't even try to pair new devices - nothing at all appears in the logs. I have to unplug the coordinator and restart Z2M, only then I can try to pair a device again, but it just gives me this error again.

Z2M Version 1.37.1
Coordinator SONOFF ZBDongle-P
Coordinator Firmware 20210708
No. Devices 15 (6 routers, 9 end devices)

Logs:

[2024-05-10 11:29:46] info: 	z2m: Zigbee2MQTT started!
[2024-05-10 11:30:02] info: 	z2m: Zigbee: allowing new devices to join.
[2024-05-10 11:30:28] error: 	zh:zstack:znp: Error while parsing to ZpiObject 'Error: CommandID '159' from subsystem '5' not found
    at Function.fromUnpiFrame (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/zpiObject.ts:60:19)
    at Znp.onUnpiParsed (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:93:38)
    at Parser.emit (node:events:517:28)
    at Parser.parseNext (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:45:26)
    at Parser._transform (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/unpi/parser.ts:19:14)
    at Parser.Transform._write (node:internal/streams/transform:175:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Parser.Writable.write (node:internal/streams/writable:337:10)
    at SerialPort.ondata (node:internal/streams/readable:809:22)'

@anthonym21
Copy link

My whole network is basically not working with this issue the only error in my log

@kloodhu
Copy link

kloodhu commented May 17, 2024

same here.

@Koenkk
Copy link
Owner

Koenkk commented May 19, 2024

Does this issue also occur with the following firmware? Koenkk/Z-Stack-firmware#496

@anthonym21
Copy link

anthonym21 commented May 19, 2024 via email

@Trashwarez
Copy link

Does this issue also occur with the following firmware? Koenkk/Z-Stack-firmware#496

Looks promising!

As stated above, the error popped up in my logs after reboot.

I rebooted 3 times now and can confirm that I don't have this error anymore on Zigbee2MQTT 1.37.1 when using the above posted firmware (20240315). I will check it again tomorrow and comment here if there are some issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants