Closed TomBraun closed 3 years ago
Make sure your PanID is 4 characters and Network Key is 32 characters in valid hex notation (A-F and 0-9).
Thanks for your help. The PenID should be a hex number, right? 6722 should be allowed, but it is marked red.
I have attached a screenshot
The PenID should be a hex number, right? 6722 should be allowed, but it is marked red.
Yes, should work. In my experience it seems a bit touchy WRT the PanID. Try something along the standard 1A62 or 1A63 extPanId is not used. Best to leave it unmodified.
I have to stop CUxD !!!
Before I stop the daemon:
Oct 6 17:48:19 homematic-raspi daemon.info node-red[7907]: [zigbee-shepherd:zigbee] connecting /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.16__Embed_with_CMSIS-DAP_L1100G8T-if00 undefined
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.813Z zigbee-herdsman:adapter:zStack:startZnp Item 'hasConfigured' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.827Z zigbee-herdsman:adapter:zStack:startZnp Item 'hasConfigured' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.844Z zigbee-herdsman:adapter:zStack:startZnp Item 'channelList' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.860Z zigbee-herdsman:adapter:zStack:startZnp Item 'networkKeyDistribute' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.879Z zigbee-herdsman:adapter:zStack:startZnp Item 'networkKey' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.892Z zigbee-herdsman:adapter:zStack:startZnp Item 'panID' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.908Z zigbee-herdsman:adapter:zStack:startZnp Item 'extendedPanID' is valid
Oct 6 17:48:20 homematic-raspi daemon.err node-red: 2021-10-06T15:48:20.917Z zigbee-herdsman:adapter:zStack:startZnp Start ZNP as coordinator...
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.260Z zigbee-herdsman:adapter:zStack:startZnp ZNP started as coordinator
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.270Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '1'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.275Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '2'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.279Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '3'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.284Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '4'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.288Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '5'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.293Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '6'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.298Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '8'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.303Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '10'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.309Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '11'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.314Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '110'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.319Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '12'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.324Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '13'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.328Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '47'
Oct 6 17:48:23 homematic-raspi daemon.err node-red: 2021-10-06T15:48:23.333Z zigbee-herdsman:adapter:zStack:startZnp Registering endpoint '242'
Oct 6 17:48:23 homematic-raspi daemon.info node-red[7907]: [zigbee-shepherd:zigbee] Currently 0 devices are joined:
Oct 6 17:48:23 homematic-raspi daemon.info node-red[7907]: [zigbee-shepherd:zigbee] Zigbee network parameters: {"panID":6755,"extendedPanID":"0xdddddddddddddddd","channel":12}
Oct 6 17:48:23 homematic-raspi daemon.info node-red[7907]: [zigbee-shepherd:zigbee] Coordinator: zStack3x0 2.7.1 20210708
Oct 6 17:48:29 homematic-raspi daemon.info cuxd[859]: USB(1-1.2/ttyACM0) XDS110 (03.00.00.16) Embed with CMSIS-DAP connect(9600:8N1)
Oct 6 17:48:29 homematic-raspi daemon.info cuxd[859]: USB(1-1.2+3/ttyACM1) XDS110 (03.00.00.16) Embed with CMSIS-DAP connect(9600:8N1)
Oct 6 17:49:00 homematic-raspi daemon.info node-red[7907]: [zigbee-shepherd:zigbee] permitJoin true
Oct 6 17:49:06 homematic-raspi daemon.err node-red: (node:7907) UnhandledPromiseRejectionWarning: Error: SRSP - ZDO - mgmtPermitJoinReq after 6000ms
Oct 6 17:49:06 homematic-raspi daemon.err node-red: at Timeout._onTimeout (/usr/local/addons/redmatic/lib/node_modules/node-red-contrib-zigbee/node_modules/zigbee-herdsman/dist/utils/waitress.js:67:35)
Oct 6 17:49:06 homematic-raspi daemon.err node-red: at listOnTimeout (internal/timers.js:554:17)
Oct 6 17:49:06 homematic-raspi daemon.err node-red: at processTimers (internal/timers.js:497:7)
Oct 6 17:49:06 homematic-raspi daemon.err node-red: (node:7907) UnhandledPromiseRejectionWarning: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Oct 6 17:49:06 homematic-raspi daemon.err node-red: (node:7907) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
After stop the daemon
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: CUx-Daemon stop(2)
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: remove(/var/cache/cuxd_proxy.ini)
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: save paramsets(/usr/local/addons/cuxd/cuxd.ps) size:14
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: USB(1-1.2/ttyACM0) XDS110 (03.00.00.16) Embed with CMSIS-DAP disconnect
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: USB(1-1.2+3/ttyACM1) XDS110 (03.00.00.16) Embed with CMSIS-DAP disconnect
Oct 6 17:51:07 homematic-raspi daemon.info cuxd[859]: remove(/var/run/cuxd.pid)
Oct 6 17:53:29 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] connecting /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.16__Embed_with_CMSIS-DAP_L1100G8T-if00 undefined
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.333Z zigbee-herdsman:adapter:zStack:startZnp Item 'hasConfigured' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.347Z zigbee-herdsman:adapter:zStack:startZnp Item 'hasConfigured' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.365Z zigbee-herdsman:adapter:zStack:startZnp Item 'channelList' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.381Z zigbee-herdsman:adapter:zStack:startZnp Item 'networkKeyDistribute' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.399Z zigbee-herdsman:adapter:zStack:startZnp Item 'networkKey' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.412Z zigbee-herdsman:adapter:zStack:startZnp Item 'panID' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.429Z zigbee-herdsman:adapter:zStack:startZnp Item 'extendedPanID' is valid
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.437Z zigbee-herdsman:adapter:zStack:startZnp ZNP is already started as coordinator
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.449Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '1' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.449Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '2' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.449Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '3' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.449Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '4' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '5' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '6' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '8' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '10' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '11' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '110' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '12' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '13' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '47' already registered
Oct 6 17:53:32 homematic-raspi daemon.err node-red: 2021-10-06T15:53:32.450Z zigbee-herdsman:adapter:zStack:startZnp Endpoint '242' already registered
Oct 6 17:53:32 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] Currently 0 devices are joined:
Oct 6 17:53:32 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] Zigbee network parameters: {"panID":6755,"extendedPanID":"0xdddddddddddddddd","channel":12}
Oct 6 17:53:32 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] Coordinator: zStack3x0 2.7.1 20210708
Oct 6 17:54:18 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] permitJoin true
Oct 6 17:55:05 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] deviceJoined 0x00158d00041bc628
Oct 6 17:55:05 homematic-raspi daemon.info node-red[9688]: [zigbee-shepherd:zigbee] deviceInterview started 0x00158d00041bc628
Ah, makes sense. This is a known issue. CUxD grabs the USB serial port. See https://github.com/hobbyquaker/node-red-contrib-zigbee/issues/21#issuecomment-489188813
permitJoin does not work as expected.
System: Raspberrymatic with RedMatic