Replies: 1 comment
-
|
Note I also tried this with a YAML config, like this (which should be equivalent to the GUI one): data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
port: /dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-Ultima3_SLZB-Ultima****-if02
adapter: zstack(The However, after reboot, it just seems to ignore these settings? No error is even shown? But just the onboarding page, yet again? [20:37:37] INFO: Preparing to start...
[20:37:37] INFO: Socat not enabled
[20:37:37] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
Onboarding page is available at http://0.0.0.0:8099/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got some problems with setting up ZIgbee here. I've cross-posted this to some relevant communities:
I included all details everywhere, so this is quite long, just in case some help. The "Questions" part below is always adjusted for the questions for this community.
Use case
I've got a SLZB-Ultima device, which is running multiple chips for Zigbee, Matter etc. Let's focus on Zigbee first, which I tried to connect via USB to Home Assistant, which is running Zigbee2MQTT as an app (aka in a docker container, but this is shipped as is from Home Assistant as an "app" [formerly called add-on], so I expect no problems.). Home Assistant OS is running as a VM upon IncusOS aka virtualization via Incus, so I forwarded the USB as a device to the VM and then configured it in HA/Zigbee2MQTT "as usual".
In short the stack is this: Zigbee2MQTT -> (Docker/HA app) -> Home Assistant OS -> Incus -> IncusOS
What I did in detail
What most guides miss: On SLZB-Ultima, enable USB mode. Go to
/mode(the main page mostly), and enable USB mode, which disables network mode.Find out the serial number of the USB device, You can do this from another device with tools like
lsusb -vor similar.Otherwise, the system logs (web interface at
/ui/os/logs) also show an USB connect with all needed details. You can then copy the serial.Then configure a "device" in IncusUI ("Devices" -> "Other"). You obviously want to choose USB devices:

This can be checked/is equivalent to:
(Yeah, I also wonder why
attachedis a string type, but hmm?)Now you can check e.g. with
lsusbthat the USB devices actually appear. As it exposes two serial interfaces, it's apparently two "devices". Or even better, in then log UI of IncusOS, you also see it:The documentation explains how to then configure it or you can use the onboarding web UI in HomeAssistant.
Thus, I just used the UI this time (also tried with YAML, did not make a difference):

You can also see it's properly passed to the VM, when checking in the VM:
So far, this looks all fine and I'm glad it works so well… but actually, it does not and fails.
Error for #0
If I select it to configure with
/dev/ttyACM0, it cannot even connect:But I also guess this is the wrong device/"port" aka it's the "Zigbee router" instead of "Zigbee Coordinator" (I guess, or reverse?). So I just checked this for completeness.
Error for #1
If I choose the
/dev/ttyACM1device, I get weird PAN-ID errors:Note I already tried these buttons to re-generate the IDs (so they should be random):

I found this thread but it also just seems to be about re-generating random IDs.
This is a new Zigbee network, so I do not have nor should need a migration or existing network/pan IDs.
Note I tried around with the SLZB and set the second chip to "Hub mode", but yeah… just for basic functionality tests, as I want to integrate it into Home Assistant
SLZB configuration
To my knowledge, this should be the correct configuration for the SLZB:
I also have Zigbee network IDs etc. in

/zhub/config(Zigbee Hub -> Settings), I am unsure whether these need to be in sync with Zigbee2MQTT? (in contrast to all other hub settings, I can access this one page without hub mode being enabled, so this is kinda confusing)Questions
So do I do something wrong here? Is there anything else to try?
I have no dedicated USB card, of course, as this thread suggests. And yes, I would try the option via LAN if everything fails, but I suppose USB should also work and offer much less overhead/latency.
System
SLZB OS: v3.3.1
Zigbee-Coordinator Firmware-Revision: 20250212
Zigbee-Router Firmware-Revision: 20240716
incus 202606230053
Beta Was this translation helpful? Give feedback.
All reactions