Wondering if anyone can help me on the below. We had a power cut last night for about an hour. After the power came back on everything restarted but my Deconz has been having an issue.
I have a raspbee premium connected to a Pi 3+ running Hassio.
I have the deconz addon which I thought might have had a problem with the latest update so have done a restore to 5.3.2 but that did not help.
I only have two temp sensors and a door sensor so far but they are all showing unavailable in HA and Not Reachable in the Deconz GUI.
On top of this in the GUI my gateway is showing “not connected”
when I stop the deconz add on it shows deconz up and running although does have two worrying lines around “failed to open swrast”
[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] done.
[services.d] starting services
[services.d] done.
starting version 232
[15:54:38] INFO: Waiting for device...
[15:54:39] INFO: Starting VNC server...
[15:54:44] INFO: Starting the deCONZ gateway...
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
libpng warning: iCCP: known incorrect sRGB profile
[15:54:46] INFO: Starting Nginx...
[15:54:46] INFO: Running Home Assistant discovery task...
[15:54:46] INFO: Running the deCONZ OTA updater...
[15:54:46] INFO: Running the IKEA OTA updater...
[15:54:46] INFO: Running the LEDVANCE/OSRAM OTA updater...
[15:54:46] INFO: deCONZ is set up and running!
2020/06/05 15:54:46 [notice] 597#597: using the "epoll" event method
2020/06/05 15:54:46 [notice] 597#597: nginx/1.10.3
2020/06/05 15:54:46 [notice] 597#597: OS: Linux 5.4.42-v7
2020/06/05 15:54:46 [notice] 597#597: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2020/06/05 15:54:46 [notice] 597#597: start worker processes
2020/06/05 15:54:46 [notice] 597#597: start worker process 629
After a short while it then tries to connect obviously and runs into errors:
[15:55:05] INFO: Successfully send discovery information to Home Assistant.
15:54:46:116 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
15:54:46:134 CTRL. 3.16.215:54:46:456 dev /dev/ttyAMA0
15:54:46:456 COM: /dev/ttyAMA0 / serialno:
15:54:46:456 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:54:46:457 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
15:54:46:906 parent process bash
15:54:46:906 gw run mode: docker/hassio
15:54:46:906 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
15:54:46:907 sd-card cid: 035344534533324780ffffffff012bf9
15:54:46:954 DB sqlite version 3.16.2
15:54:46:959 DB PRAGMA page_count: 30
15:54:46:959 DB PRAGMA page_size: 4096
15:54:46:959 DB PRAGMA freelist_count: 0
15:54:46:959 DB file size 122880 bytes, free pages 0
15:54:46:959 DB PRAGMA user_version: 6
15:54:46:959 DB cleanup
15:54:46:975 DB create temporary views
15:54:47:010 don't close database yet, keep open for 900 seconds
15:54:47:012 started websocket server at port 8081
15:54:47:030 found node plugin: libde_rest_plugin.so - REST API Plugin
15:54:47:039 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
15:55:05:405 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
15:55:05:449 dev /dev/ttyAMA0
15:55:05:449 COM: /dev/ttyAMA0 / serialno:
15:55:05:449 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:05:736 New websocket 172.30.32.1:47220 (state: 3)
15:55:05:785 dev /dev/ttyAMA0
15:55:06:082 Announced to internet https://phoscon.de/discover
15:55:06:083 discovery server date: Fri, 05 Jun 2020 14:55:06 GMT
15:55:06:083 local time seems to be ok
15:55:06:083 discovery found version 2.04.35 for update channel stable
15:55:15:140 dev /dev/ttyAMA0
15:55:15:140 COM: /dev/ttyAMA0 / serialno:
15:55:15:140 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:15:174 device disconnected reason: 4, index: 0
15:55:16:104 wait reconnect 15 seconds
15:55:16:147 dev /dev/ttyAMA0
15:55:16:147 COM: /dev/ttyAMA0 / serialno:
15:55:16:147 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:16:185 dev /dev/ttyAMA0
15:55:17:105 wait reconnect 14 seconds
15:55:18:104 wait reconnect 13 seconds
15:55:19:105 wait reconnect 12 seconds
15:55:20:105 wait reconnect 11 seconds
15:55:21:104 wait reconnect 10 seconds
15:55:22:104 wait reconnect 9 seconds
15:55:23:104 wait reconnect 8 seconds
15:55:24:105 wait reconnect 7 seconds
15:55:24:605 start reconnect to network
15:55:25:104 wait reconnect 6 seconds
15:55:26:105 wait reconnect 5 seconds
15:55:26:142 dev /dev/ttyAMA0
15:55:27:104 wait reconnect 4 seconds
15:55:28:104 wait reconnect 3 seconds
15:55:29:104 wait reconnect 2 seconds
15:55:29:855 failed to reconnect to network try=1
15:55:30:105 wait reconnect 1 seconds
15:55:30:148 dev /dev/ttyAMA0
15:55:30:148 COM: /dev/ttyAMA0 / serialno:
15:55:30:148 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:30:168 device disconnected reason: 4, index: 0
15:55:31:104 wait reconnect 15 seconds
15:55:31:138 dev /dev/ttyAMA0
15:55:31:138 COM: /dev/ttyAMA0 / serialno:
15:55:31:138 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:32:105 wait reconnect 14 seconds
15:55:33:104 wait reconnect 13 seconds
15:55:34:104 wait reconnect 12 seconds
15:55:35:104 failed to reconnect to network try=2
15:55:35:104 wait reconnect 11 seconds
15:55:36:104 wait reconnect 10 seconds
15:55:36:137 dev /dev/ttyAMA0
15:55:37:104 wait reconnect 9 seconds
15:55:38:104 wait reconnect 8 seconds
15:55:39:105 wait reconnect 7 seconds
15:55:40:105 failed to reconnect to network try=3
15:55:40:105 wait reconnect 6 seconds
15:55:41:104 wait reconnect 5 seconds
15:55:42:104 wait reconnect 4 seconds
15:55:43:105 wait reconnect 3 seconds
15:55:44:105 wait reconnect 2 seconds
15:55:45:104 failed to reconnect to network try=4
15:55:45:104 wait reconnect 1 seconds
15:55:45:140 dev /dev/ttyAMA0
15:55:45:140 COM: /dev/ttyAMA0 / serialno:
15:55:45:140 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:55:45:162 device disconnected reason: 4, index: 0
15:55:46:104 wait reconnect 15 seconds
15:55:46:138 dev /dev/ttyAMA0
15:55:46:138 COM: /dev/ttyAMA0 / serialno:
15:55:46:138 COM: --dev: /dev/ttyAMA0 (RaspBee)
it keeps trying until it gets to:
15:56:45:149 dev /dev/ttyAMA0
15:56:45:149 COM: /dev/ttyAMA0 / serialno:
15:56:45:149 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:56:45:172 device disconnected reason: 4, index: 0
I have tried uninstalling it all, I have tried taking the Raspbee premium out of the pi (serial) and turning it on without, then plugging back in. I tried resetting the gateway that just says failure.
Any thoughts? It was working fine until the powercut.