Do you have the stick in the nuc USB port? Because conbee sticks don’t like usb3 ports. Extend with a usb2 cable and the problem is solved.
Well, I run hassOS directly on a nuc. No container, no vm.
There is a whole thread about this
you will find some pro and cons in there too.
For me the only con is, the waste of ressources (what some would say).
The pro is, I don’t have to maintain another system. No Linux or windows, which needs updates, where I have to assign ressources, etc.
Hi, I just got a new Connbee II, but it disconnects immediately and does not reconnect, the LOG seems fine to me. Any hint?
[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…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] firmware.sh: executing…
[10:01:36] INFO: GCFFlasher V3_13 © dresden elektronik ingenieurtechnik gmbh
Path | Vendor | Product | Serial | Type
-----------------±-------±--------±-----------±------
/dev/ttyACM0 | 0x1CF1 | 0x0030 | | ConBee II
[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.
[cont-init.d] done.
[services.d] starting services
[08:01:36] INFO: Running the IKEA OTA updater…
[services.d] done.
[10:01:36] INFO: Websockify waiting for VNC to start
[08:01:36] INFO: Running the deCONZ OTA updater…
[08:01:36] INFO: Starting udevd…
[08:01:36] INFO: Running the OSRAM LEdvance OTA updater…
[10:01:37] INFO: Starting VNC server (local/yes)…
[10:01:37] INFO: Starting websockify…
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
[10:01:40] INFO: deCONZ waiting for VNC to start
[10:01:41] INFO: Starting the deCONZ gateway…
libpng warning: iCCP: known incorrect sRGB profile
10:01:42:400 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
10:01:42:431 CTRL. 3.27.210:01:42:492 COM: /dev/ttyACM0 / serialno:
10:01:42:492 COM: --dev: /dev/ttyACM0 (ConBee II)
10:01:42:492 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
[08:01:42] INFO: Starting Nginx…
10:01:42:575 parent process s6-supervise
10:01:42:576 gw run mode: docker/hassio
10:01:42:576 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
10:01:42:576 DB sqlite version 3.27.2
10:01:42:577 DB PRAGMA page_count: 50
10:01:42:577 DB PRAGMA page_size: 4096
10:01:42:577 DB PRAGMA freelist_count: 3
10:01:42:577 DB file size 204800 bytes, free pages 3
10:01:42:577 DB PRAGMA user_version: 6
2020/08/31 08:01:42 [notice] 325#325: using the “epoll” event method
10:01:42:577 DB cleanup
2020/08/31 08:01:42 [notice] 325#325: nginx/1.14.2
2020/08/31 08:01:42 [notice] 325#325: OS: Linux 5.4.56
2020/08/31 08:01:42 [notice] 325#325: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2020/08/31 08:01:42 [notice] 325#325: start worker processes
2020/08/31 08:01:42 [notice] 325#325: start worker process 1567
10:01:42:577 DB create temporary views
10:01:42:600 don’t close database yet, keep open for 900 seconds
10:01:42:600 started websocket server at port 8081
10:01:42:602 found node plugin: libde_rest_plugin.so - REST API Plugin
10:01:42:604 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
10:01:45:452 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
10:01:45:474 COM: /dev/ttyACM0 / serialno:
10:01:45:474 COM: --dev: /dev/ttyACM0 (ConBee II)
10:01:45:629 New websocket 172.30.32.1:50718 (state: 3)
10:01:45:630 New websocket 172.30.32.1:50720 (state: 3)
10:01:47:820 Announced to internet https://phoscon.de/discover
[10:01:52] INFO: Successfully send discovery information to Home Assistant.
10:01:55:540 COM: /dev/ttyACM0 / serialno:
10:01:55:540 COM: --dev: /dev/ttyACM0 (ConBee II)
10:01:56:047 device state timeout ignored in state 2
10:01:57:009 device state timeout ignored in state 2
10:01:57:536 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26580700.bin.GCF
10:01:57:536 GW firmware version: 0x00000002
10:01:58:009 device state timeout ignored in state 2
10:01:59:009 device state timeout ignored in state 2
10:02:00:009 device state timeout ignored in state 2
10:02:01:009 device state timeout (handled)
10:02:01:024 device disconnected reason: 1, index: 0
10:02:01:509 wait reconnect 15 seconds
10:02:01:509 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
10:02:01:509 device state timeout ignored in state 1
10:02:55:509 wait reconnect 3 seconds
10:02:56:509 wait reconnect 2 seconds
10:02:57:510 wait reconnect 1 seconds
10:02:57:543 COM: /dev/ttyACM0 / serialno:
10:02:57:544 COM: --dev: /dev/ttyACM0 (ConBee II)
10:02:58:035 device state timeout ignored in state 2
10:02:59:009 device state timeout ignored in state 2
10:02:59:509 reconnect network failed, try later
10:02:59:509 start reconnect to network
10:03:00:009 device state timeout ignored in state 2
10:03:01:008 device state timeout ignored in state 2
10:03:02:013 device state timeout ignored in state 2
10:03:03:008 device state timeout (handled)
10:03:03:030 device disconnected reason: 1, index: 0
10:03:03:511 wait reconnect 15 seconds
10:03:03:513 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
10:03:03:513 device state timeout ignored in state 1
10:03:04:508 failed to reconnect to network try=1
10:03:04:509 wait reconnect 14 seconds
10:03:05:508 wait reconnect 13 seconds
10:03:06:509 wait reconnect 12 seconds
10:03:07:509 wait reconnect 11 seconds
10:03:08:509 wait reconnect 10 seconds
10:03:09:509 failed to reconnect to network try=2
10:03:09:509 wait reconnect 9 seconds
10:03:10:509 wait reconnect 8 seconds
10:03:11:509 wait reconnect 7 seconds
10:03:12:509 wait reconnect 6 seconds
10:03:13:509 wait reconnect 5 seconds
10:03:14:509 failed to reconnect to network try=3
10:03:14:509 wait reconnect 4 seconds
10:03:15:513 wait reconnect 3 seconds
10:03:16:509 wait reconnect 2 seconds
10:03:17:509 wait reconnect 1 seconds
10:03:17:559 COM: /dev/ttyACM0 / serialno:
10:03:17:565 COM: --dev: /dev/ttyACM0 (ConBee II)
10:03:18:059 device state timeout ignored in state 2
10:03:19:009 device state timeout ignored in state 2
10:03:19:509 try to reconnect to network try=4
I am running Home-Assistant on a Synology NAS using Docker. I have a Conbee II Stick and everything worked ok-ish until yesterday. The problem was, that one sensor that was working ok in the phoscon app always said it’s not available in HA, that’s why I updated de deCONZ integration yesterday, and since then it’s not starting any more. It complains about finding the Conbee Stick I guess?!? But that one is still there and everything was working ok-ish until yesterday as I said…
Maybe anybody has any idea? Currently there is only one temperature sensor form Xiaomi and a Button (also Xiaomi) connected to the Conbee stick.
Would be great to get it up and running again
Here are some logs:
[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...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] firmware.sh: executing...
[12:54:38] INFO: GCFFlasher V3_13 (c) dresden elektronik ingenieurtechnik gmbh
Path | Vendor | Product | Serial | Type
-----------------+--------+---------+------------+-------
/dev/ttyACM0 | 0x1CF1 | 0x0030 | | ConBee II
[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.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:54:40] INFO: Running the deCONZ OTA updater...
[10:54:40] INFO: Running the OSRAM LEdvance OTA updater...
[12:54:40] INFO: Waiting for device...
[10:54:40] INFO: Starting udevd...
[10:54:40] INFO: Running the IKEA OTA updater...
[12:54:40] INFO: Websockify waiting for VNC to start
[10:55:40] INFO: Starting Nginx...
[12:55:40] INFO: Starting websockify...
2020/08/31 10:55:40 [notice] 326#326: using the "epoll" event method
2020/08/31 10:55:40 [notice] 326#326: nginx/1.14.2
2020/08/31 10:55:40 [notice] 326#326: OS: Linux 4.4.59+
2020/08/31 10:55:40 [notice] 326#326: getrlimit(RLIMIT_NOFILE): 524288:1048576
2020/08/31 10:55:40 [notice] 326#326: start worker processes
2020/08/31 10:55:40 [notice] 326#326: start worker process 860
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
172.30.32.2 - - [31/Aug/2020:10:56:27 +0000] "GET /ingress.html HTTP/1.1" 200 2007 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15"
2020/08/31 10:56:29 [error] 860#860: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: _, request: "GET /pwa/index.html HTTP/1.1", upstream: "http://127.0.0.1:40850/pwa/index.html", host: "192.168.1.9:8123", referrer: "http://192.168.1.9:8123/api/hassio_ingress/027RHD-Ci2C2zSUbiIClPrdwTN_mJFQ6efuydddzJHc/ingress.html"
172.30.32.2 - - [31/Aug/2020:10:56:29 +0000] "GET /pwa/index.html HTTP/1.1" 502 184 "http://192.168.1.9:8123/api/hassio_ingress/027RHD-Ci2C2zSUbiIClPrdwTN_mJFQ6efuydddzJHc/ingress.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15"
2020/08/31 10:56:31 [error] 860#860: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: _, request: "GET /pwa/index.html HTTP/1.1", upstream: "http://127.0.0.1:40850/pwa/index.html", host: "192.168.1.9:8123", referrer: "http://192.168.1.9:8123/api/hassio_ingress/027RHD-Ci2C2zSUbiIClPrdwTN_mJFQ6efuydddzJHc/ingress.html"
172.30.32.2 - - [31/Aug/2020:10:56:31 +0000] "GET /pwa/index.html HTTP/1.1" 502 184 "http://192.168.1.9:8123/api/hassio_ingress/027RHD-Ci2C2zSUbiIClPrdwTN_mJFQ6efuydddzJHc/ingress.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15"
[12:57:41] FATAL: No device /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE1962646-if00 found!
2020/08/31 10:57:41 [notice] 326#326: signal 15 (SIGTERM) received from 308, exiting
2020/08/31 10:57:41 [notice] 860#860: exiting
2020/08/31 10:57:41 [notice] 860#860: exit
In exit
2020/08/31 10:57:41 [notice] 326#326: signal 17 (SIGCHLD) received from 860
2020/08/31 10:57:41 [notice] 326#326: worker process 860 exited with code 0
2020/08/31 10:57:41 [notice] 326#326: exit
Closing socket listening at 127.0.0.1:5901
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Hi, did you deactivate vnc? if not hen try that. There are some posts regarding this above.
This bug is the reason I moved to bare metal.
it has never been resolved that randomly the by-id device link does not work in the Addon
You only need to use by-id link if you have multiple devices that race with each other during boot to become /dev/ttyACM0 and /dev/ttyACM1.
If you only have one USB device called /dev/ttyACM0 then use that in the Addon config and this problem goes away
YES!!! @KennethLavrsen THANK you very much! That did the trick! Interessing though… cause my Synology NAS only has the Conbee Stick plugged in, nothing else. Anyway… now it starts again! Will have to setup everything again, bug hey
Cool! Thanks!
yes, that works in my config too, much better and easier than the long explicit line…
since I am new to the Deconz and add-on, please forgive me my noob questions:
on the Ikea motion sensor, the ‘detected’ state is permanent, while I can see the motion being detected in the log. It simple never returns to a not detected state. Is this as per design:
secondly, this battery sensor doesnt have a state at all ?
and
lastly for now: as you can see the bottom sensor doesnt have a state, but, when clicking this Ikea remote switch, very briefly and faintly the correct action is shown. Shouldnt this last action remain in the state until the next has occurred?
thanks for having a look
Motion sensors report on and off. They are binary sensors.
Remote controls (switches with buttons) are stateless. They create events that can be viewed as deconz_event. There are 100s of questions just in this thread on this.
Push buttons do not have a state. I know it is tempting to see them as ON as long as you hold the button pressed and OFF when you let go of the button. But most Zigbee remotes do not work like this. They send events when you press and when you release. They also send events for long press and some even have events for double press. So they are not binary. They often have 3 or 4 different event types. That is why these things have to be implemented as event driven devices and not devices with a binary state.
You could then say that maybe it should be a sensor with multiple values. But they does not work either in all cases because the events are not always mutually excluded
All the motion sensors still have sensors defined for battery.
I have seen issues with pairing motion sensors with Deconz lately. They pair but often the other sensors are not registered. I have seen it lately with the Philips remote.
This is not an Addon related issue. This is something in Deconz itself. I normally resolve it by keeping on adding the device until I see all the sensors working. Sometimes it repairs itself it seems if you wait. However I have seen this not being the case
See my bug report
Thanks for your reply! much appreciated.
sure, I understand that. Have a plentitude of them in the system ;-), was only now experimenting with a new Conbee II stick. Thats why I dont understand why it keeps showing ‘detected’ for ages, and doesnt change to clear after a few seconds.
Yep, forgot about that, still used to the former Hue CC sensors for the switches… Still, the very faint display of the actual action could be clearer.
Guess the CC event sensor will provide some assistance.
Will try to reinstall the motion sensor and see what happens. Any tips for deleting a sensor in the best way?
btw, Ive added to your issue, maybe the stale bot wont declare Stale so quickly
Anyone have any clue?
I am without light in the whole house
check the port, was my issue when i first got it
the info on the info pages is very good but you need to be exact for the thing to work otherwise it just looks like its working and then discons
Which port do I have to put?
It’s written not required for ingress, so there is none
The port that the USB device shows up as.
Typically this is /dev/ttyACM0
but you’re going to have to check on your own system to verify.
It does connect to the device, problem is it disconnects
When I put a wrong USB address I get different errors in log.
EDIT I changed USB port on the NUC, but niothing, nothing I do helps.
In device if I put
device: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2195369-if00
I get this LOG, connects but it disconnect. If I go to VNC I see that it fhas COnbeeII byt can-t connect
king 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...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] firmware.sh: executing...
[21:48:30] INFO: GCFFlasher V3_13 (c) dresden elektronik ingenieurtechnik gmbh
Path | Vendor | Product | Serial | Type
-----------------+--------+---------+------------+-------
/dev/ttyACM0 | 0x1CF1 | 0x0030 | | ConBee II
/dev/ttyACM1 | 0x1CF1 | 0x0030 | | ConBee II
[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.
[cont-init.d] done.
[services.d] starting services
[19:48:30] INFO: Running the OSRAM LEdvance OTA updater...
[21:48:30] INFO: Websockify waiting for VNC to start
[services.d] done.
[19:48:31] INFO: Starting udevd...
[19:48:31] INFO: Running the deCONZ OTA updater...
[19:48:31] INFO: Running the IKEA OTA updater...
[21:48:31] INFO: Waiting for device...
[21:48:36] INFO: Starting VNC server (local/yes)...
[21:48:36] INFO: Starting websockify...
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:48:39] INFO: deCONZ waiting for VNC to start
[21:48:39] INFO: Starting the deCONZ gateway...
libpng warning: iCCP: known incorrect sRGB profile
21:48:40:837 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
21:48:40:859 CTRL. 3.27.221:48:40:915 COM: /dev/ttyACM1 / serialno: DE2195369
21:48:40:917 COM: --dev: /dev/ttyACM1 (ConBee II)
21:48:40:917 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
21:48:40:991 parent process s6-supervise
21:48:40:991 gw run mode: docker/hassio
21:48:40:991 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
21:48:40:991 DB sqlite version 3.27.2
21:48:40:992 DB PRAGMA page_count: 50
21:48:40:992 DB PRAGMA page_size: 4096
21:48:40:992 DB PRAGMA freelist_count: 3
21:48:40:992 DB file size 204800 bytes, free pages 3
21:48:40:992 DB PRAGMA user_version: 6
21:48:40:992 DB cleanup
21:48:40:993 DB create temporary views
21:48:41:008 don't close database yet, keep open for 900 seconds
21:48:41:009 started websocket server at port 8081
21:48:41:011 found node plugin: libde_rest_plugin.so - REST API Plugin
21:48:41:013 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
[19:48:41] INFO: Starting Nginx...
2020/08/31 19:48:41 [notice] 337#337: using the "epoll" event method
2020/08/31 19:48:41 [notice] 337#337: nginx/1.14.2
2020/08/31 19:48:41 [notice] 337#337: OS: Linux 5.4.56
2020/08/31 19:48:41 [notice] 337#337: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2020/08/31 19:48:41 [notice] 337#337: start worker processes
2020/08/31 19:48:41 [notice] 337#337: start worker process 1588
21:48:43:996 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
21:48:44:037 COM: /dev/ttyACM1 / serialno: DE2195369
21:48:44:037 COM: --dev: /dev/ttyACM1 (ConBee II)
172.30.32.2 - - [31/Aug/2020:19:48:44 +0000] "GET /api/config?_=1598903322317 HTTP/1.1" 200 262 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"
172.30.32.2 - - [31/Aug/2020:19:48:44 +0000] "GET /api/hassio_ingress/Tns5H4FVOpBfhcciBXbvc0jbL4LjEb_Pw6_9LBtLEcA/api/config?_=1598903325329 HTTP/1.1" 403 140 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36"
21:48:46:144 Announced to internet https://phoscon.de/discover
now I put back my COnbee 1 (It lost all nodes so I thought it was broken, that’s why I bought a Conbee II)), this gets recognized immediately, but all connectiuon between nodes are lost
WTF, I am at a point of throwing everthing in the garbage
EDIT WTF WTF WTF
I repaired evwerythging, and again all connections between nodes are lost.
This is pure crap
I use conbee 2 and Pi 3b+. Manual update firmware in Hassio seems to be hard to me. Is it ok to update firmware by Pc with windows 10 and Phoscon app then use it again with Pi 3?
Thanks
Seems this night add-on stopped again, lots of users were reporting it again, seems when add-on stops, it also happens at the same time for other users too
Maybe it is a useful information for one or the other.
I read all this issues and avoided to upgrade so far.
I’m running hassio on RASPB3+ and deCOnz 5.3.4.
It is rock solid and stable.
This is the Firmware:
Maybe, one can get back to this version and reach stability again.