Any HW recommendation?

to add my 2cents. Stay with Pi. two reasons:

  1. broad support here in forum, if using openHABian
  2. enough power for even big installations

What I’d suggest, is to seperate perfomance-hungry (here: camera streams) from your openHAB physically. So you could use your “old” Pi2 for the camera streams, if that’s enough and a new Pi4/4GB (more than powerful enough).

I’m using only “Silicon Power 32GB 3D NAND High Speed MicroSD Card” since years now with a bunch of Pis and don’t have any issues at all: here in Jeff Bezos’ universe: https://www.amazon.com/Silicon-Power-Speed-MicroSD-Adapter/dp/B07Q384TPK

I just want to make something clear about SD cards and power outages. A power outage does not kill the SD card. Physically it’s still just fine and can be used again. What it does do though it potentially corrupt the contents of the card. Given the nature of how flash memory works stuff you haven’t touched in years (file system tables, parts of critical services like the kernel or systemd) can be participating in a write operation and if that write operation doesn’t complete those parts of those files get lost which can lead to corruption and all sorts of weirdness.

But the key point is you don’t have to throw out the SD card. It’s still physically just fine.

When weird stuff happens and a power loss isn’t involved that could mean that the SD card has worn out. In that case, the OS and everything running thinks it’s writing stuff to the file system. There’s caching involved so it even looks like it wrote to the file system. However, it didn’t or only partially was able to complete the write and at a later time those changes get lost in part or in total. When this happens you must replace the SD card, as it means it’s physically inoperable.

3 Likes

Do you guys use/prefer “Endurance” cards? I know there are different levels of “Endurance” cards too.

That’s my opinion too. It really just depends on how much effort the user wants to put in.

I have an old laptop running DietPi and thought about installing openHAB, but realized I’d have to install and configure extra components like Fronttail and Zigbee2mqtt manually. I could also install the openHABian scripts manually, but I don’t know if they’ll work on DietPi. I could also try putting openHAB into Docker.

I’m capable of figuring these things out–I’m just not interested in doing that right now. Maybe that changes in the future, but for now I’m best off running openHABian on an RPi.

Yes, of course. A power outage just stops the writing operation, it doesn’t cause a surge that would fry the card. Thanks for the clarification, Rich!

I just use typical SanDisk and Lexar cards. I suspect the endurance cards might have mattered more before ZRAM was introduced to openHABian.

1 Like

Yes, I always recommend using these. The more ‘Endurance’ the better.

For everbody’s reference and education, here’s the collected ‘wisdom’ on SD wearout and mitigation.
Corrupt FileSystems every 2-3 month? - Setup, Configuration and Use / Beginners - openHAB Community

The other recommendation I’m always giving is to use the SD mirroring feature of openHABian.
That way you will not need any SSD, nonetheless reach a better system availability level.
For rationale and details see this post.

2 Likes

i think I am going a bit budget/easy setup and stick with the Pi. Thx everybody for the other suggestions though. Any opinions about getting a fan in the case?

I don’t think a fan is necessary for an RPi4 running openHABian. That might be different with an RPi5, which runs hotter.

Saving 8€ for a fan would be the wrong end to save money. I wouldn‘t do that even if it might not really be required. My Pi5 runs at 0% CPU load and 44°C CPU temperature with active cooling kit.

its not about the money, but the fan might be the 1st part to fail. If there is a viable passive solution even if its a bit more expensive I tend to prefer that. E.g. as a router I have a NanoPi R4S, which runs completely passive at 27 degC (single digit load on each of the 6 cores).

I have a pi4 in an aluminum case designed to ensure significant better cooling. The drawback is that bluetooth reception worsen. I therefore added an external bluetooth receiver.

Is my Dell poweredge Xeon CPU 32gb ram 2tb HDD overkill? :grinning:

2 Likes

My advice is to use a fan within a Pi.
Since I installed a fan I got rid of problems because the pi started throttling almost every day for some minutes.
The fan barely ever runs because openhab usually doesn’t challenge the hardware very much.

Yes! :wink:

I used rPi4 up to the point that my Deconz installation ruined my Bluetooth. Since I use both and couldn’t solve the problem, I got myself Intel NUC

Is openhabian working with: Argon ONE V3 M.2 NVME PCIE Case (PRE-ORDER) – Argon 40 Website Store? i.e. can I boot from the SSD?

Will it work? Probably. Will it be a supported configuration? No it won’t. So you might find support on the forum limited.

How much worse is the CPU and memory load when using docker on a pi4?

I migrated from OH 3 on a Pi3B to OH 4 on a Pi4 8GB.

I am running the pi in the Argon ONE V2 case with the SATA expansion. I built it with the Team group 512GB SSD. Decided on the SSD from the James Chambers online SSD benchmarks. I felt Sata was not a bad choice and it is fast enough.

The fan works amazing with Argon ones passive and active cooling setup.

It was a challenge to make it SSD bootable, but it works great. It’s bootable from the SSD.

I run PiOS Bullseye 64 bit. The whole setup is very fast and stable for many months.

Yes, you can. Booting from PCIe (NVMe SSD) and USB (NVMe bridge for SSD) is officially supported by Raspberry PiOS.

After flashing the SSD on your PC (and before the first run on your Pi) add this to the end of /bootfs/config.txt:

[All]
# Enable PCIe external connector
dtparam=pciex1