# Raspbee II not working correcly when update from RPi3+ to RPi4

**URL:** <https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681>\
**Category:** Setup Support\
**Created:** [September 17, 2024, 6:16pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681 "2024-09-17T18:16:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 17, 2024, 6:16pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/1 "2024-09-17T18:16:24Z")

</div>

Hello community,

I have problems after updating from the RPi3b+ to the RPi4. I am using the “Official” Phoscon Image with stable deCONZ version and desktop based on Raspberry Pi OS - Raspbian GNU/Linux 11 (bullseye).  
RaspBee II - Firmware 26780700, Gateway 2.28.1.  
Pi OS is running from an SSD connected through USB. When I switch the RaspBee II and SSD from the RPi3b+ to the RPi4, Pi OS boots normally. I can log in to Phoscon or through VNC to the desktop and check the deCONZ app. The issue is that on the RPi4, most of the nodes are not connected. I can see only 4 or 5 links instead of the 50+ I had on the RPi3b+.

Any idea where the problem could be or what to check? Any advice is much appreciated.

Screen from RPi3 where nodes are normaly connected and working

 ![image](https://forum.phoscon.de/uploads/default/original/2X/9/9508918571a039d97708bba16a7deb9f2bbcee20.png)

Thanks,  
Martin

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [September 18, 2024, 7:10am UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/2 "2024-09-18T07:10:50Z")

</div>

Hello, you have “migrated” the database too ? Using the backup/restore feature in Phoscon ?

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 18, 2024, 8:09am UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/3 "2024-09-18T08:09:59Z")

</div>

Hello, the migration to Rpi4 involved reconnecting the SSD, which means the entire Pi OS and its settings were not changed. I can see all nodes, but only a few of them are linked/working. Should I try the backup/restore in Phoscon?

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 18, 2024, 8:56am UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/4 "2024-09-18T08:56:41Z")

</div>

I have tried the backup/restore in Phoscon, unfortunately no change…  
This is the state on RPi4  
 ![image](https://forum.phoscon.de/uploads/default/original/2X/1/15aee2c93f83fef77dfec747a3cf399b2f458694.png)

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [September 18, 2024, 11:22am UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/5 "2024-09-18T11:22:44Z")

</div>

> [@kimosak](#):
>
> Should I try the backup/restore in Phoscon?

No, you are right, not realy usefull in this situation.

And few thing to do with a Raspbee …  
You have tried to use different USB port ? There is usb 3.0 and 2.0 on the pi 4.

And deconz (and the OS) setting are same for me as you are using the same SSD.

Perhaps some hardware setting ? Have you check bluetooth and wifi ?

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 18, 2024, 12:05pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/6 "2024-09-18T12:05:15Z")

</div>

Yes, BT and WiFi disabled on both RPis, different USBs also tried, no change…

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [September 18, 2024, 1:37pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/7 "2024-09-18T13:37:44Z")

</div>

And it’s working ?  
Because there is a setting to show or not “link” according to level, perhpas it’s just a “lower connection” issue (as device name are not yet grayed, so not yet off line)?

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 18, 2024, 2:51pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/8 "2024-09-18T14:51:55Z")

</div>

Unfortunately no, it is not working, even the nodes with active links are not working

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 19, 2024, 3:03pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/9 "2024-09-19T15:03:30Z")

</div>

Fixed with this [config.txt](https://forum.phoscon.de/t/raspbee-ii-hat-with-rpi-4-and-ha/4596/6) from @manup and also the SSD connected in different USB (not the 3.0) Thank you @Smanar for suggestions 👍

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [September 19, 2024, 3:55pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/10 "2024-09-19T15:55:34Z")

</div>

Nice ^^, but it would have been useful to see what is the problem with your config.txt, as it work fine on pi3 and not pi4.

---

<div class="post-metadata">

**Author:** ![kimosak](https://forum.phoscon.de/user_avatar/forum.phoscon.de/kimosak/32/4738_2.png) [@kimosak](https://forum.phoscon.de/u/kimosak)\
**Post date:** [September 20, 2024, 9:09am UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/11 "2024-09-20T09:09:43Z")

</div>

I can see removal of dtoverlay=pi3-miniuart-bt-overlay and addition of arm\_64bit=1, otg\_mode=1 and arm\_boost=1

---

<div class="post-metadata">

**Author:** ![Smanar](https://forum.phoscon.de/user_avatar/forum.phoscon.de/smanar/32/60_2.png) [@Smanar](https://forum.phoscon.de/u/Smanar)\
**Post date:** [September 20, 2024, 4:42pm UTC](https://forum.phoscon.de/t/raspbee-ii-not-working-correcly-when-update-from-rpi3-to-rpi4/5681/12 "2024-09-20T16:42:16Z")

</div>

Ths a lot :).  
I don’t think it’s from arm\_64bit or arm\_boost but for otg\_mode

> ### `otg_mode` (Raspberry Pi 4 only)
> 
> USB On-The-Go (often abbreviated to OTG) is a feature that allows supporting USB devices with an appropriate OTG cable to configure themselves as USB hosts. On older Raspberry Pis, a single USB 2 controller was used in both USB host and device mode.
> 
> Raspberry Pi 4B and Raspberry Pi 400 (not CM4 or CM4IO) add a high performance USB 3 controller, attached via PCIe, to drive the main USB ports. The legacy USB 2 controller is still available on the USB-C power connector for use as a device (`otg_mode=0`, the default).
> 
> `otg_mode=1` requests that a more capable XHCI USB 2 controller is used as another host controller on that USB-C connector.
> 
> Note Because CM4 and CM4IO don’t include the external USB 3 controller, Raspberry Pi OS images set `otg_mode=1` on CM4 for better performance.
