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

Cannot start cc2652p #9

Open
palsbo opened this issue Jul 13, 2024 · 3 comments
Open

Cannot start cc2652p #9

palsbo opened this issue Jul 13, 2024 · 3 comments

Comments

@palsbo
Copy link

palsbo commented Jul 13, 2024

I have not been able to connect with CC2652 to zigbee2mqtt.
This is my log:

Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2024-07-13 12:03:11] info: 	z2m: Logging to console, file (filename: log.log)
[2024-07-13 12:03:11] info: 	z2m: Starting Zigbee2MQTT version 1.39.0 (commit #0326926)
[2024-07-13 12:03:11] info: 	z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-13 12:03:14] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyAMA0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-07-13 12:03:14] info: 	zh:zstack:znp: Serialport opened
[2024-07-13 12:04:19] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-13 12:04:19] error: 	z2m: Failed to start zigbee
[2024-07-13 12:04:19] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-13 12:04:19] error: 	z2m: Exiting...
[2024-07-13 12:04:20] error: 	z2m: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
    at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:341:23)
    at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:86:17)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
    at Zigbee.start (/app/lib/zigbee.ts:63:27)
    at Controller.start (/app/lib/controller.ts:139:27)
    at start (/app/index.js:154:5)

This is my config.txt (the end of it):


[all]
dtoverlay=disable-bt
enable uart=1
enable_uart=1

and this is my configuration.yaml:

permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://127.0.0.1:1883
  pan_id: 0x3b62  # Change this to a unique value
  ext_pan_id: 0xbbdddd00dddddddd  # Change this to a unique value
  keepalive: 60
  reject_unauthorized: false
  version: 4
serial:
  port: /dev/ttyAMA0
advanced:
  baudrate: 115200
  rtscts: false
frontend:
  port: 8181

@codmpm
Copy link
Contributor

codmpm commented Jul 15, 2024

Hey @palsbo,

could you try to enable UART in raspi-config? That should do the trick without manually editing config.txt.

Albeit, just saw your error message:

 Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby

This looks like it has nothing to do with the serial port....

Best,
Patrik

@palsbo
Copy link
Author

palsbo commented Jul 15, 2024 via email

@codmpm
Copy link
Contributor

codmpm commented Jul 15, 2024

Hmm, that seems odd.
Could you provide a picture of the module and the attached antenna?

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