Home Assistant Yellow gets CM5 support in HAOS 14

Different and a little bit ‘off topic’ question:
Based on the availability I got a CM5 with WiFI and because of that I also ordered an antenna. However, although there is a connection on the CM5 to attach the antenna, there is no chance to install it to the yellow enclosure. Actually I also believe HA does not really need WiFi ( at least not yet), as I connect via LAN.
However, any idea whether WiFi could potentially be preferable or even required for future HA features (Thread/Matter?) ? Any idea how to install an antenna at the yellow? (May are a new enclosure or just drilling a hole?

Coming back to say I have fixed my ZHA integration.

I fixed this by going into the Silicon Labs Multiprotocol addon, going to configuration, and smashing every reset to defaults I could find, both in the context menu and on the configuration page, setting the device back to /dev/ttyAMA1 and noticing the baud rate reset to 460800

I then restarted the service, and went to reconfigure the Zigbee integration, selected the multiprotocol, select keep radio settings, and…everything just popped back to life.

Thanks @Automated_House for the idea.

2 Likes

Hi, new user here!

Adding to this, using the Asmedia 1182e chip might prodvide a path forward for such a cool M.2 splitter. It has already been proved to work with the RPi 5 by way of the Pineboards HatBRICK! Commander which uses this chip to bifurcate PCIe.

Just wanted to add to the discussion with resources. If no one is willing to do this, maybe I can try to spin up a board myself when I have some time :person_shrugging:

Cheers!

1 Like

In case you’re not aware, the use of Multiprotocol has been actively discouraged for close to 2 years now. Shortly after release, it was found to be not stable enough for production environments and was causing multiple issues.

Posting this as a heads up in case you ever run into an issue now or in the future.

2 Likes

I too did the same and after a default reset and two reboots it all works again! No idea what the actual order was and fingers crossed it survives a reboot…

I’d appreciate any input to my post about uncertainty with the Yellow + CM5 here.

Hello,
I have a Yellow Box which was running a cm4 (CM4108000 8Gb ram lite) and I swapped it to a cm5 (CM5116000 16Gb ram lite). The yellow box boot up correctly, but it seems to only see 8 Hb (parameters/system/hardware and memory graph says 8Gb). Does HA recognise 16 Gb cm5 version ?
Thanks for your help

It looks like the Dev Team has a fix for this issue. Not sure if the fix has been released to the public yet, though…

thank you @ogiewon, this is exactly my problem.
I think I have just to wait for a fix that will come with a future software update.
Best Regards
Pascal

1 Like

Just a sanity check - I upgraded my HA Yellow with CM4 to use NVMe storage even though it came with eMMC. It sounds like I can just buy a CM5 without storage. That said, the instructions on migrating posted on the Nabu Casa website says something is written to eMMC during the upgrade process.

If you look at step 5 in the section entitled “Installing the Home Assistant OS using Raspberry Pi Imager” the second item says:

  1. Wait for the Home Assistant OS Installer to be written to the internal eMMC storage on your module.

Does this mean I don’t need to follow their instructions, or was it simply an editing error?

I admit I’m now a bit confused. I’d like to upgrade because I’ve seen a performance degradation as I’ve added more devices and functionality.

I am using an Ethernet cable versus WiFi for the HA Yellow internet connection and a Hubitat hub with the Maker API integration for zigbee and z-wave devices, if that makes any difference. I am using mqtt for an Esp32 program but no Matter devices. I think my setup is pretty straightforward.

Please explain the process you used to accomplish the above. I am wondering if you originally installed HAOS on the CM4’s built-in eMMC without having the NVME drive installed? And then if you later added the NVME drive to the Yellow, and used the HAOS’s built-in feature to “Move Data” to the NVME drive. If this was the process that you took, then upgrading to a CM5 is not going to be as trivial as simply swapping in the new module.

The above would result in HAOS still being installed on your CM4’s eMMC module, with only HA’s data being on the NVME drive.

In this case, you would want to perform a full backup of Home Assistant and store that backup somewhere safe (like on a separate PC, MAC, or Linux system.) Then, you would pull the NVME drive out of the HA Yellow, install it into a USB enclosure, plug that into a PC and image the NVME drive with a full copy of HAOS. Once that is done, install the NVME drive and the new CM5 Lite into the HA Yellow, and power it up. Once the initial setup is finished, you should be able to restore the backup of Home Assistant made earlier. This way, everything will be running off of the NVME drive.

Personally, I would use a different NVME drive for this, so that the original CM4 and NVME drive are kept untouched. If things go horribly wrong, you could always just reinstall both of those on the Yellow board and be right back where you are today. :wink:

2 Likes

Thanks for the terrific explanation! Yes, I purchased the HA Yellow with only eMMC on the CM4 board. I then added the NVMe board and used “Move Data” as you described.

I like your suggestion about considering buying a new NVMe board to preserve my current setup. When I shopped for one a few months ago, I was unable to install a Samsung 1TB drive but was able to install the 500GB version with no issues, even though they were both technically the same model family.

Specifically, this one worked:

SAMSUNG (MZ-V7E500BW) 970 EVO SSD 500GB - M.2 NVMe Interface Internal Solid State Drive with V-NAND Technology, Black/Red

This one did not:

SAMSUNG 970 EVO Plus SSD 1TB NVMe M.2 Internal Solid State Drive w/ V-NAND Technology, Storage and Memory Expansion for Gaming, Graphics w/ Heat Control, Max Speed, MZ-V7S1T0B/AM

I think the “Plus” version is faster and has updated flash memory. That might have been the issue.

I am wondering if the CM5 boards accept more modern variants, for example, the 990 EVO Plus?

Wish I could be more help, but I have only ever used a 1TB Western Digital NVME m.2 drive in my HA Yellow. It is definitely an older drive, one of the first ones that I bought many years ago. I have been using Samsung 980 Pro and 990 Pro drives in my desktop computers, but have never tried one of those on the HA Yellow board.

Another option, if there is room on the CM4 eMMC module, is to “Move Data” back to the eMMC module from the NVME drive. In theory, this should free up the existing NVME drive to be used specifically for the CM5 Lite module.

Basic steps would be:

  1. Take a backup and keep it safe of existing HA Yellow setup.
  2. Perform the Move Data to get all data off of the NVME drive and back on the CM4 eMMC module
  3. Remove the NVME drive and make sure the HA Yellow still boots and runs HA properly off of the CM4 eMMC module.
  4. If successful, take another FULL backup of the HA Yellow, and store that backup somewhere safe.
  5. Load the clean HAOS image on the NVME drive
  6. Replace the CM4 with the new CM5
  7. Install the NVME drive back into the HA Yellow
  8. Boot up the HA Yellow and restore the latest backup taken in step #4 above

This would avoid needing to purchase a new NVME drive.

Hope this helps! Good luck in your upgrade.

1 Like

OK, so is the consensus that we do not use the two CM4 thermal pads when installing the heat sink on the CM5? I wish the instructions noted this on this page Home Assistant Yellow Kit with CM5 – Nabu Casa. So for now my Heat sink kit will not use the 4 screws or the thermal pads. It would be nice if someone has links to optimal thermal pads or maybe grease in amazon with pictures for a possible future HW upgrade. The instructions should specifically state that the pads should not be used if that is what is meant by not mentioning them at all.

Read the following earlier post from @agners on the topic of the CM5 with the original HA Yellow Heat Sink.

Also, in the instructions you linked, if you browse down far enough you’ll see the following picture showing the thermal pads on a CM5.

Thank you ogiewon! I had read the agners post the first time which seemed to negate the need for thermal pads with the testing that was done, then following the instructions (that I linked) in order, the pads are not mentioned at all. You are correct I should have read through the entire set of instructions, and I may have seen that. The reason I stopped reading further was because it looked like the remaining text related to software which would start after the hardware is properly assembled. It would be clearer if that picture was shown in Step 3 and some mention of applying thermal pads was listed in the text. I think this would be helpful for other newbies. As for me, I have been using Universal Devices ISY/eISY for 20? years and purchased this HA Yellow Kit with CM5 now as I am seeing the limitations with my current system. Lots to learn and doing things step by step.

1 Like

@agners What would be the size of a thermal pad for the black chips? I understand the CPU that already has a metalic cover that act as a heat sink, I can just use a thermal tape, but I’m wondering what would be the size for the other chips.

I also bought a Samsung 970 EVO Plus and after using rpiboot it didn’t recognize the drive. I used another Samsung one (P4 something was the model), and it recognized. I would like to use this one because I could add a thermal pad and a heat sink I bought, but since the other one I used was 2230 and not 2280, I think I will have to buy a new heat sink.

Issues with Zigbee here - driving me insane.

ttyAMA1 was fine on my CM4, but does not appear on my CM5.

I use Z2M, not that it makes a difference if ttyAMA1 is not being exposed.

Has anyone figured out how to fix this? I’ve tried power cycling many times over the last 2 days, reflashed, but I cannot get ttyAMA1 back.

ttyAMA10 has appeared and is new, but this does not work.
I am also missing the CONFIGURE button under Settings → System → Hardware - which I thought was odd.
Finally, I notice when I boot Yellow, the green LED is the only one to light up, and it stays lit all the time - none of the other LEDs work/do anything.

I am on HA Yellow rev 1.3 - I wonder if it’s specific rev’s with the issue.

Any tips very welcome - I have to switch back to my CM4 for now because of non-working Zigbee

My HA Yellow with CM5 is running Zigbee2MQTT using the onboard Zigbee radio module without issue.

It uses ttyAMA1 as shown below.

Z2M Configuration