its been some time now for me, and right now I am quite unhappy with the results I get with the conbee 2 stick. Could be that it is my setup, but that is what I want to find out.
So here is what happens:
I have a standalone server, based on a Ryzen 3 cpu, running Unraid in the version of 6.10.0 rc2 lately. Before that, it was running for the last ~2 years with 6.8.3. No issues.
On the unraid, I was using a docker version of deconz, to connect my devices (100% aqara sensors) with the phoscon web app. This has worked in the beginning, but after some undefined time, the stick lost connection and showed “not connected”. Only a reboot of the whole server (restart of docker does not work) with the conbee 2 stick being unplugged during bootup will make it work again.
Since I couldnt find a solution for that, I found that I could just use the deconz integration of Home Assistant, which is also running on the unraid server as a virtual machine. Unfortunately, it shows the exact same behaviour.
Finally, I tried the stick on my standard windows 10 gaming rig, with deconz software. It looks like it doesnt show that behaviour. I didn’t test it as long as on the linux rig, but well…
So any ideas?
it is connected to a usb 2 port. With an usb extention cable (tried two different already; true for the port and cable…)
Version is: 2.12.06 / 19.8.2021
thx for the reply. I reread my text, and found that I wrote it in a way, that it is quite easy to misunderstand it. Sorry for that.
To correct it: even with 6.8.3, the Conbee 2 stick showed the same behaviour. So not working at all.
I just wanted to say, everything else, did run fine with 6.8.3 version of unraid. I just upgraded to 6.10.0 rc2, because I was hoping that that would help in some way…which it didnt.
So any other idea?
Right now this is really unsatisfactory.
Sure, logs from unraid? Logs from the deconz docker? Or the deconz app in the Home-Assistant VM?
EDIT: nevermind, I try to get some logs of the home assistant.
EDIT: there is nothing really in the logs. But I try and start.
This shows unraid under devices:
Bus 001 Device 097 Port 1-9 ID 1cf1:0030 Dresden Elektronik ConBee II
And here the logs from the deconz app in home-assistant:
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[cont-init.d] executing container initialization scripts…
[cont-init.d] firmware.sh: executing…
[21:54:15] INFO: GCFFlasher V3_17 (c) dresden elektronik ingenieurtechnik gmbh
Path | Vendor | Product | Serial | Type
[cont-init.d] firmware.sh: exited 0.
[cont-init.d] nginx.sh: executing…
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] novnc.sh: executing…
[cont-init.d] novnc.sh: exited 0.
[services.d] starting services
[21:54:16] INFO: Running the deCONZ OTA updater…
[21:54:16] INFO: Websockify waiting for VNC to start
[21:54:16] INFO: Running the OSRAM LEdvance OTA updater…
[21:54:16] INFO: Running the IKEA OTA updater…
[21:54:16] INFO: Starting VNC server (local/yes)…
WebSocket server settings:
Listen on 127.0.0.1:5901
Flash security policy server
Web server. Web root: /usr/share/novnc
No SSL/TLS support (no cert file)
proxying from 127.0.0.1:5901 to 127.0.0.1:5900
[21:54:19] INFO: deCONZ waiting for VNC to start
[21:54:19] INFO: Starting the deCONZ gateway…
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[21:54:20] INFO: Starting Nginx…
2021/12/09 21:54:20 [notice] 313#313: using the “epoll” event method
2021/12/09 21:54:20 [notice] 313#313: nginx/1.14.2
2021/12/09 21:54:20 [notice] 313#313: OS: Linux 5.10.75
2021/12/09 21:54:20 [notice] 313#313: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2021/12/09 21:54:20 [notice] 313#313: start worker processes
2021/12/09 21:54:20 [notice] 313#313: start worker process 1436
21:54:19:835 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
21:54:19:878 dev /dev/ttyS0
21:54:19:878 COM: /dev/ttyS0 / serialno: , RaspBee
21:54:19:878 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
21:54:19:905 parent process s6-supervise
21:54:19:905 gw run mode: docker/hassio
21:54:19:905 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
21:54:19:905 DB sqlite version 3.27.2
21:54:19:906 DB PRAGMA page_count: 42
21:54:19:906 DB PRAGMA page_size: 4096
21:54:19:906 DB PRAGMA freelist_count: 0
21:54:19:906 DB file size 172032 bytes, free pages 0
21:54:19:906 DB PRAGMA user_version: 8
21:54:19:906 DB cleanup
21:54:19:906 DB create temporary views
21:54:19:907 started websocket server at port 8081
21:54:19:908 [INFO] - Found file containing button maps. Parsing data…
21:54:19:910 [INFO] - Button maps loaded.
21:54:19:911 dlg action: Read binding table
21:54:19:911 found node plugin: libde_rest_plugin.so - REST API Plugin
21:54:19:911 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
21:54:21:721 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
21:54:22:010 Skip idle timer callback, too early: elapsed 252 msec
21:54:22:733 dev /dev/ttyS0
21:54:22:733 COM: /dev/ttyS0 / serialno: , RaspBee
21:54:24:249 device state timeout ignored in state 2
21:54:24:409 device state timeout ignored in state 2
21:54:24:569 device state timeout ignored in state 2
21:54:24:729 device state timeout ignored in state 2
21:54:24:786 Announced to internet https://phoscon.de/discover
21:54:24:890 device state timeout ignored in state 2
21:54:25:049 device state timeout ignored in state 2
21:54:25:209 device state timeout ignored in state 2
21:54:25:369 device state timeout ignored in state 2
21:54:25:530 device state timeout ignored in state 2
21:54:25:690 device state timeout ignored in state 2
21:54:25:850 device state timeout ignored in state 2
21:54:26:009 device state timeout (handled)
21:54:26:089 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
21:54:26:089 device state timeout ignored in state 1
21:54:26:557 wait reconnect 15 seconds
21:54:27:558 wait reconnect 14 seconds
21:54:28:558 wait reconnect 13 seconds
21:54:29:558 wait reconnect 12 seconds
21:54:30:558 wait reconnect 11 seconds
21:54:31:558 wait reconnect 10 seconds
21:54:32:557 wait reconnect 9 seconds
21:54:33:558 wait reconnect 8 seconds
21:54:34:557 wait reconnect 7 seconds
21:54:34:568 dev /dev/ttyS0
21:54:35:557 wait reconnect 6 seconds
21:54:36:558 wait reconnect 5 seconds
21:54:37:558 wait reconnect 4 seconds
21:54:38:557 wait reconnect 3 seconds
21:54:39:557 wait reconnect 2 seconds
21:54:40:557 wait reconnect 1 seconds
21:54:40:568 dev /dev/ttyS0
21:54:40:568 COM: /dev/ttyS0 / serialno: , RaspBee
21:54:41:058 start reconnect to network
21:54:42:137 device state timeout ignored in state 2
21:54:42:298 device state timeout ignored in state 2
21:54:42:457 device state timeout ignored in state 2
21:54:42:617 device state timeout ignored in state 2
21:54:42:778 device state timeout ignored in state 2
21:54:42:938 device state timeout ignored in state 2
21:54:43:097 device state timeout ignored in state 2
21:54:43:257 device state timeout ignored in state 2
21:54:43:417 device state timeout ignored in state 2
21:54:43:577 device state timeout ignored in state 2
21:54:43:738 device state timeout ignored in state 2
21:54:43:897 device state timeout (handled)
21:54:43:978 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
21:54:43:978 device state timeout ignored in state 1
21:54:44:558 wait reconnect 15 seconds
21:54:44:568 dev /dev/ttyS0
21:54:45:557 wait reconnect 14 seconds
21:54:46:309 failed to reconnect to network try=1
21:54:46:557 wait reconnect 13 seconds
21:54:47:557 wait reconnect 12 seconds
21:54:48:557 wait reconnect 11 seconds
21:54:49:557 wait reconnect 10 seconds
To get debug logs in a GUI installation, open deCONZ and click Help . After that, click Debug View . The following debug levels need to be enabled for proper logging: INFO , INFO_L2 , ERROR , ERROR_L2 , APS , APS_L2 .
Please note that in the HA Addon and Docker webVNC you can’t copy paste. You need to use a Native VNC Client. HA Addon How-To,
I really have no clue what the reason is here. It doesn’t seem to be able to access the Conbee. What if you try a native OS on the unraid and see if that works? Please note that your on an unsupported way
of running deCONZ so there’s not any guarantees.
To sum it up: The Conbee can’t be mounted by deconz. Perhaps there’s some configuration mismatch in unraid exposing the stick to the OS/Home assistent.
just to let you know the latest update:
I updated the firmware on the stick to 26680700. Additionally I went back to disable the deconz addon in the home assistant VM and tried to use again a deconz docker on unraid. Didnt work at first, but after I changed the docker image from “spaceinvaderone/deconz” to “marthoc/deconz:latest”. That seemed to do it.
Now it is connected without issue for the last >24h.
I’ll go on and see how stabel it is.
Thx for the help.