Two things, is the stick connected to a usb3? Because it canāt handle that. A solution is to put an extension cable between the two. Another problem could be that it is too close to other usb3 devices.
The second thing is that it is better to connect to it by the hardware id instead of the device path. You can find the hardware id on the supervisor page, system tab, hardware button. It looks like /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2193849-if00
Forgive my stupidity but the stick is connected to a 3 port powered USB hub which is then connected to the front of the Synology machine. Those 3 ports are being used by my External USB drive for backup of the Synology, the Zwave stick and the Zigbee one. No other way to do it as the Synology only has the one USB port in front. There is another in back but used for UPC status.
So are you saying in my configuration.yaml, instead of /dev/ttyACM1 I would put in /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2191790-if00 ?
Yes! And the same thing for the Z-wave stick. Because the other paths like /dev/ttyACMx might change on reboot. And you wouldnāt want that.
Is the USB harddrive close to the conbee stick? (like within 30cm) Because itās probably a USB3 device and conbee has trouble with that. I would buy a USB extension cable of about 1 meter and put that in between the USB hub and the conbee stick, if I were you.
I cannot figure this out for the life of me. The Zooz Zwave stick was so easy but this Conbee Zigbee is a royal PITAā¦
The the drivers are installed on the NAS
I ended up plugging each of the sticks directly to the NAS
SSH shows they remain as ttyACM0 and ttyACM1
I gave up on ZHA for a bit and tried DeConz by installing a docker image and was able to access the Phoscon setup page but could not get a Zigbee light or sensor to pair no matter how many resets I performed.
I then deactivated the Deconz docker image and am now trying again with ZHA but Iām sure Iām missing something.
However, with the install I have (Hassio in Docker) I cannot find either a docker-compose.yaml or a way to set up a run command to make sure the sticks are mapped correctly. But if the Zwave stick works, I figured the Zigbee should tooā¦
Iām hoping someone can guide me as the alternative is returning the sticks and going with SmartThings which was ridiculously easy as far as quickly pairing all Zwave and Zigbee devices. But then it went offline in the first 48 hours of ownershipā¦
@eoren1 Iām running a similar setup as you, Synology, fredrike package and Conbee ll.
Iām not going to be much help here but can say it does work. I plugged my Conbee in, didnāt add anything to the config, rebooted NAS, set it all on the front end with ZHA and it just worked.
As mentioned earlier in the thread Iām also linking to hardware id: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2152702-if00
For what itās worth I have not setup docker-compose.yaml
USB extension cable going into the back USB port on the NAS with Conbee the other end, Iāve placed the Conbee away from the NAS and about a meter off the ground to prevent interference from router etc.
No drivers installed, in fact no config at all at this point. I do NOT have the zha line in configuration.yaml
reboot NAS (I did no config/changes of any kind on the NAS, other than plugging USB into slot )
Went into Supervisor > System > Hardware and Conbee had been picked up automatically as : /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2152702-if00
I āthinkā at this point it was a case of Configuration > Integrations > Add ZHA (I think it only asked me for hardware address where I added the /dev/serial path from above)
Done.
I have found connecting Zigbee devices can be fun. It might take a half dozen attempts for it to be found, and each device has a different way of putting and keeping it in pairing mode. That said Iām running a mix of Hue, Xiaomi, Yale and the Ikea range with about 20 devices in all. All working without issue.
I deleted the package for installing drivers and removed ZHA from configuration.yaml.
Shut down NAS and put Zwave in front and Conbee in back. Unfortunately the only USB extension I have is a USB3 hub so couldnāt extend outā¦
Restarted and tried adding via Configuration - Integrations - Add ZHA
The two entries are USB device path which I copied from Supervisor (I think same as yours)
And then it asks Radio Type. The default is ezsp but I got a āunable to connect to ZHA deviceā. Tried with all other radio types - deconz, ti_cc, xbee and zigate but got same. Tried once more with /dev/ttyACM1 but no go eitherā¦
I canāt imagine the extension cord would be the problem at this stage of just integrating with the NAS
Iāve not tried without a USB extension cable, but I think that could be the problem. The main Conbee site recommends using an extension cable and Iāve seen multiple posts in this forum saying itās required (as for why that would be the caseā¦).
I think all is related to just one thing, USB3. It clearly states that on the manufacturers website and so many have suffered from this before. Solve that before putting more effort in it, because I donāt think anything else is your problem. The conbee is a remarkable reliable and easy to use controller. So I canāt imagine it being anything else besides the USB3 issue.
The conbee 2 stick is now plugged into the back of the NAS on a short (13") extension USB2 cable - found one I was using for something else.
Still no luck. Not sure if a longer cable would help but would have to order one and wait at this point. Just trying to figure out if that will really solve the issue or if Iām missing something else.
I think there is a deeper problem. I installed the docker app marthoc/deconz and can then access the Phoscon web app but it does not show a connection between the zigbee stick and the deconz serverā¦
Iāve tried everything I can think of so far including running these:
SSH into your Synology, then:
Gave up. Got Phoscon to work and succeeded in adding a Cree bulb but not the LeakSmart sensor or valve.
Going back to using SmartThings where I was able to pair all of my Zwave/Zigbee devices in less than 20 minutes as well as set up an automation to close the valve if a leak detected. The sticks will go backā¦
If you donāt put those commands in a startup file they wonāt survive a reboot of the NAS.
Besides that I just copied the full id to the serial path for the USB stick, that way it will never fail if the ports are changed, that is /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2191790-if00
This Synology only has USB3 ports and it works just fine with ZHA. One more thing you do need to use a long cable for the stick, directly plugging it in was not working eg not connecting to ZHA.
Zwave was super easy and stable but Zigbee just seemed so āneedyā (canāt think of a better term) that I lots faith in it as my one link to prevent any potential flood in the house.
With Phoscon/Deconz failing to connect to the LeakSmart Valve or Sensor, I also wasnāt sure if ZHA would be successful.
I still canāt decide if the Zigbee stick needs a long USB2 extension or just any USB2 extension to overcome the limitation of being plugged in the Synologyās USB 3 port. If the makers of Conbee had any sense, they would include an appropriately sized cable with the device.
@eoren1
the above code is as follows;
command : sudo ā¦ will start the texteditor on the synology (called vi) and open the file startup.sh
now you will be in the text editor and you type the next lines
#ā¦ is a remark to tell you what it is
insmod are the commands to perform on startup
then you have to exit the editor by pressing the ESC key
then you quit and save the file by typing :qs! folowed by ENTER key
finally you have to set the premissions on this file by typing hte chmod command.
so I put the ESC part a bit unclear and you just typed that but it is the Escape key.
let us know if that works now.
Thanks for the info and for guiding me through this GH2user
Sorry to be an idiot (again) but here is where I am at (stuck again)
Iām on a Mac using Terminal to SSH into the DS918+
Open Terminal and type ssh user@IP
PW - entered
user@synology:/$ sudo -I
PW - entered
root@synology:~# sudo vi /usr/local/etc/rc.d/startup.sh
Once I do that, the above lines move up and I have a screen with ~ running vertically on the left side
At the bottom it says ā/usr/local/etc/rc.d/startup.shā [New File]
Now, if I start typing #, I get at the bottom:
E348: No string under cursor and on right side of that warning I see 0,0-1 and then All
And if I then click any keys I get a dull ding sound and nothing happens.
I randomly clicked f, then d and saw them at bottom and then s and bottom text changed from error to:
ā INSERT ā then 1,1 All
I then copy/paste the next three lines:
#!/bin/bash
insmod /lib/modules/usbserial.ko
insmod /lib/modules/ftdi_sio.ko
But then when I click the escape key and then :qs! I get another error:
E492: Not an editor command: qs!
Not sure if this is because I am using Terminal on a Mac but imagine the commands should be the same.
I Googled and found :q alone might be the answer?
I tried that and got:
E37: No write since last change (add ! to override)
So is it :q! alone on Mac Terminal?
Thanks again for the help and any further guidance you can offer.
I never used vi either and had to look on the turorials in the internet.
You might indeed have to start with the letter i to go into insert mode once the new file is created.
saving
It seems the command is :wq! for saving (write) and quit without complaining we add the !
sorry for this
VI Editing commands
i - Insert at cursor (goes into insert mode)
a - Write after cursor (goes into insert mode)
A - Write at the end of line (goes into insert mode)