RaspBee 2 can't connect

Hello community, I’m getting crazy with a Raspbee 2 and hassio, this is my environment:

Pi4
HassOS 3.13
HASSIO 0.110.4

From DeCONZ log:

[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:31:03] INFO: Waiting for device...
[15:31:03] INFO: Starting VNC server...
[15:31:06] 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:31:07] INFO: Starting Nginx...
[15:31:07] INFO: Running Home Assistant discovery task...
2020/06/05 15:31:07 [notice] 514#514: using the "epoll" event method
2020/06/05 15:31:07 [notice] 514#514: nginx/1.10.3
2020/06/05 15:31:07 [notice] 514#514: OS: Linux 4.19.114-v7l
2020/06/05 15:31:07 [notice] 514#514: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2020/06/05 15:31:07 [notice] 514#514: start worker processes
2020/06/05 15:31:07 [notice] 514#514: start worker process 522
[15:31:07] INFO: Running the deCONZ OTA updater...
[15:31:07] INFO: Running the IKEA OTA updater...
[15:31:07] INFO: Running the LEDVANCE/OSRAM OTA updater...
[15:31:07] INFO: deCONZ is set up and running!

After a while, I got:

15:31:54:686 wait reconnect 13 seconds
15:31:55:686 failed to reconnect to network try=5
15:31:55:686 wait reconnect 12 seconds
15:31:56:686 wait reconnect 11 seconds
15:31:57:686 wait reconnect 10 seconds
15:31:58:685 wait reconnect 9 seconds
15:31:59:686 wait reconnect 8 seconds
15:32:00:685 failed to reconnect to network try=6
15:32:00:686 wait reconnect 7 seconds
15:32:01:686 wait reconnect 6 seconds
15:32:02:686 wait reconnect 5 seconds
15:32:02:724 dev /dev/ttyAMA0
15:32:03:686 wait reconnect 4 seconds
15:32:04:686 wait reconnect 3 seconds
15:32:05:686 failed to reconnect to network try=7
15:32:05:686 wait reconnect 2 seconds
15:32:06:686 wait reconnect 1 seconds
15:32:06:724 dev /dev/ttyAMA0
15:32:06:725 COM: /dev/ttyAMA0 / serialno: 
15:32:06:725 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:06:743 device disconnected reason: 4, index: 0
15:32:07:686 wait reconnect 15 seconds
15:32:07:728 dev /dev/ttyAMA0
15:32:07:728 COM: /dev/ttyAMA0 / serialno: 
15:32:07:728 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:08:686 wait reconnect 14 seconds
15:32:09:686 wait reconnect 13 seconds
15:32:10:686 failed to reconnect to network try=8
15:32:10:686 wait reconnect 12 seconds
15:32:11:686 wait reconnect 11 seconds
15:32:12:686 wait reconnect 10 seconds
15:32:12:725 dev /dev/ttyAMA0
15:32:13:686 wait reconnect 9 seconds
15:32:14:686 wait reconnect 8 seconds
15:32:15:686 failed to reconnect to network try=9
15:32:15:686 wait reconnect 7 seconds
15:32:16:686 wait reconnect 6 seconds
15:32:17:686 wait reconnect 5 seconds
15:32:18:685 wait reconnect 4 seconds
15:32:19:686 wait reconnect 3 seconds
15:32:20:686 failed to reconnect to network try=10
15:32:20:686 wait reconnect 2 seconds
15:32:21:686 wait reconnect 1 seconds
15:32:21:710 dev /dev/ttyAMA0
15:32:21:711 COM: /dev/ttyAMA0 / serialno: 
15:32:21:711 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:21:758 device disconnected reason: 4, index: 0
15:32:22:686 wait reconnect 15 seconds
15:32:22:710 dev /dev/ttyAMA0
15:32:22:710 COM: /dev/ttyAMA0 / serialno: 
15:32:22:710 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:22:737 dev /dev/ttyAMA0
15:32:23:685 wait reconnect 14 seconds
15:32:24:686 wait reconnect 13 seconds
15:32:25:686 reconnect network failed, try later
15:32:25:686 wait reconnect 12 seconds
15:32:25:686 start reconnect to network
15:32:26:686 wait reconnect 11 seconds
15:32:27:686 wait reconnect 10 seconds
15:32:28:686 wait reconnect 9 seconds
15:32:29:686 wait reconnect 8 seconds
15:32:30:686 failed to reconnect to network try=1
15:32:30:686 wait reconnect 7 seconds
15:32:31:686 wait reconnect 6 seconds
15:32:32:686 wait reconnect 5 seconds
15:32:32:726 dev /dev/ttyAMA0
15:32:33:686 wait reconnect 4 seconds
15:32:34:686 wait reconnect 3 seconds
15:32:35:685 failed to reconnect to network try=2
15:32:35:686 wait reconnect 2 seconds
15:32:36:685 wait reconnect 1 seconds
15:32:36:723 dev /dev/ttyAMA0
15:32:36:723 COM: /dev/ttyAMA0 / serialno: 
15:32:36:723 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:36:757 device disconnected reason: 4, index: 0
15:32:37:686 wait reconnect 15 seconds
15:32:37:724 dev /dev/ttyAMA0
15:32:37:724 COM: /dev/ttyAMA0 / serialno: 
15:32:37:724 COM: --dev: /dev/ttyAMA0 (RaspBee)
15:32:38:687 wait reconnect 14 seconds
15:32:39:686 wait reconnect 13 seconds
15:32:40:686 failed to reconnect to network try=3
15:32:40:686 wait reconnect 12 seconds
15:32:41:686 wait reconnect 11 seconds
15:32:42:686 wait reconnect 10 seconds
15:32:42:724 dev /dev/ttyAMA0
15:32:43:686 wait reconnect 9 seconds
15:32:44:685 wait reconnect 8 seconds
15:32:45:686 failed to reconnect to network try=4
15:32:45:686 wait reconnect 7 seconds
15:32:46:686 wait reconnect 6 seconds
15:32:47:686 wait reconnect 5 seconds
15:32:48:685 wait reconnect 4 seconds
15:32:49:685 wait reconnect 3 seconds
15:32:50:686 failed to reconnect to network try=5
15:32:50:686 wait reconnect 2 seconds
15:32:51:686 wait reconnect 1 seconds
15:32:51:725 dev /dev/ttyAMA0
15:32:51:725 COM: /dev/ttyAMA0 / serialno: 
15:32:51:725 COM: --dev: /dev/ttyAMA0 (RaspBee)

And from Phoscon App I got Not Connected

Could someone help me to solve this issue? Thank you

Hi, had the same problem, Firmware showing Not connected.
I had added the wrong device so did some trial and error with the instructions in dokumentation, Configure the add-on

/GreenHorn

It works perfect on RPi 3, same hass.os / Hassio version. I didn’t try now with RPi 4 and hassos 4.10 recently released.

Hi,
I have the same problem, did you solve it?

@GreenHorn did you solve it? I don’t understand if you find some a workaround.

Thansks,
Milko

Hi
I got it working.I had the"failed to reconnect to network" error after loading a snapshot.

enable_uart=1
dtoverlay=pi3-miniuart-bt

was missing in config.txt so the raspbee2 did not show up in system/hardware so I tried /dev/ttyAMA0,got error.
added lines to config.txt, /dev/ttyS0 showed up in System/hardware. Used that in the configurationtab.I did a restart/reboot and no problem adding sensors.
I’m new to this(3-4 weeks) so lots of google and testing…

Setup:
Pi4
Home Assistant Core 0.111.4
Operating System 4.10

/GreenHorn

1 Like

Sorry GreenHorn, I missed your post, however I can confirm the config.txt solution, I just used this on RPI4, but pi3-miniuart-bt should works too.

enable_uart=1
dtoverlay=disable-bt

Thank you
Lucas

@Lucas_Rey and how did you find the config.txt? I’ve installed home assistant with the image from the website and can’t ssh to the root or boot folder on the sd card. Can anyone explain how I did this?

thx

Switch off the RPi, remove the SD and put it into a PC.
Then you can find config.txt in the root of your SD. If not, you have to create it from scratch with desidered parameters.