-
Platform information:
-
Hardware: pi4 8gb RAM, 8gb SD
-
OS: openhabian 3.2.0 (latest release image)
-
Java Runtime Environment: openjdk 11.0.14 2022-01-18
OpenJDK
Runtime Environment (build 11.0.14+9-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.14+9-post-Raspbian-1deb11u1, mixed mode)
-
openHAB version: 3.2.0
-
Issue of the topic: New OH user - trouble binding to Sonoff Zigbee USB 3.0 Dongle Plus
-
Please post configurations (if applicable):
-
Items configuration related to the issue
-
Sitemap configuration related to the issue
-
Rules code related to the issue
-
Services configuration related to the issue
-
If logs where generated please post these here using code fences:
Using the latest firmware for the Sonoff USB Dongle: CC1352P2_CC2652P_launchpad_coordinator_20220219.zip
I am new to Openhab. Iāve started by installed OH 3.2.0 using the openhabian image on a blank SD card. Iāve followed example(s) I cannot locate at the moment. Basically:
-
download and write openhabian image to SD - allow install to complete
-
use openhabian-config to add options (11,12,13,14)
-
optional components: log web viewer and Mosquitto
-
system settings: set timezone, prepare serial port
*Install zigbee2mqtt (using linux instructions here: Linux | Zigbee2MQTT)
- Add a Mosquitto broker
At this point, I have my mosquitto broker āonlineā, and my zigbee2mqtt running in console without errors. I set my port on z2m (configuration.yaml) to 8084 and get the web page generated by z2m on a browser at openhabian:8084. It is my understanding that the Sonoff Dongle will āseeā the zigbee devices and z2m will connect to the Sonoff Dongle to pull that data to Openhabian through the Ember Coordinator. So Iām assuming at this point the zigbee devices I have turned on/powered up should start showing up in the zigbee2mqtt web page, but Iāve never seen any devices after setting the āPermit Joinā button.
Next, I try to add a binding for my Sonoff Zigbee USB 3.0 Dongle Plus.
Things: +: Ember Coordinator (bridge): Ember Coordinator:
-
Show Advanced: checked
-
Reinitialize Controller (on)
-
leave untouched: Channel, PanID, ExtendedPanID, Network Security Key, Link Sec Key, Install, code, Group Restrictions, Mesh Update Period.
*Trust Center Join Mode: Allow All Joins
-
serial port: TTYUSB0 (as detected and tested on openhabian)
-
Flow Control: (Iāve tried several settings)
-
Baud Rate: (Iāve tried several settings)
-
Ember NCP: left at Boost
-
Transmit Power: left at Normal
-
Child Aging Timeout: left at 1 day
-
Network size: left at Medium
-
Concentrator: tried both settings
Create thing and wait. Some settings leave me with Unknown status, others with Comm Error. I tried several different settings, restarting Openhabian with āSudo Rebootā after deleting a coordinator and installing a new one.
Iāve never seen any zigbee traffic (watching zigbee2mqtt running in console) from the Sonoff SNZB-02 (temp humidity) or Sonoff S31 (Smart Plug supposed to work with zigbee) devices. And after adding the Ember Binding successfully, I would expect more than just bindings to show up on the āAdd Thingā page. Searching bears no fruit.
I added a Network binding and saw a whole lotta (e.g. port 80) things show up in the list when click plus and wait.
I added a Nortek Zwave and Zigbee adaptor and was able to get all the bindings (MQTT, Zigbee, Zwave) showing āOnlineā status, however, I read that zigbee2mqtt doesnāt yet support this adaptor so Iām back to the Sonoff.
Many thanks to the developers ( I love Open Source ) and those who assist here.