Closed bartve66 closed 4 years ago
Try with different USB port for me it’s /dev/ttyUSB0 and make sure that rtscts is false
{ "data_path": "/share/zigbee2mqtt", "devices": "devices.yaml", "groups": "groups.yaml", "homeassistant": true, "permit_join": false }, "serial": { "port": "/dev/ttyUSB0" }, "advanced": { "pan_id": 6754, "log_level": "debug", "channel": 11, "rtscts": false, "network_key": [private ], "availability_blacklist": [] }, "ban": [], "whitelist": [], "queue": {} }
Thanx, James. I tried some things in line with your suggestions and it works now ... but I am not really sure it works the way it should be.
This i what i did:
ls -la /dev/tty*
crw-rw-rw- 1 root root 5, 0 Sep 26 22:39 /dev/tty
crw-rw---- 1 root audio 204, 64 Sep 26 22:39 /dev/ttyAMA0
crw-rw---- 1 root audio 188, 0 Sep 26 22:39 /dev/ttyUSB0
Next:
dmesg | grep tty
[ 0.000000] Kernel command line: zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor rootwait cgroup_enable=memory 8 250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x400 00000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro rauc.slot=A
[ 0.000837] console [tty1] enabled
[ 0.812800] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 2.500230] usb 1-1.2: cp210x converter now attached to ttyUSB0
[...]
So I tried /dev/ttyUSB0 inthe zigbee2mqtt add-on config, and that worked. But why does the GBAN coordinator not show up in the ls -la /dev/tty* output?
Some other information, the output of hass.io>system>hardware in the hass.io web interface:
serial:
/dev/ttyAMA0
/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
/dev/ttyUSB0
Glad you got it working
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am trying a new setup: RPI 3 B+ hass.io with mosquitto mqtt broker and Zigbee2mqtt Hass.io Add-on Fresh install, newest versions. I am trying to use 2 different coordinators, alternating a cc2530+cp2102 and a GBAN (cc2530+RFX2401), with the latest firmware.
When I start the Zigbee2mqtt Hass.io Add-on it seems each of the coordinators is not recognized? This is the log of the Zigbee2mqtt Hass.io Add-on:
This is beyond my skill level, does anyone have an idea?