Тёмный

443 I found an Excellent Raspberry Pi Replacement for Home Assistant / IOTstack (incl. Proxmox) 

Andreas Spiess
Подписаться 483 тыс.
Просмотров 1,1 млн
50% 1

Raspberry Pi boards are hard to get, but probably also next year. So, we have to have a strategy to survive without new Raspberry boards. Sometimes, a problem can be a chance. This is what we will see today. Stay tuned if you want to get a cheaper, faster, and prettier Raspberry replacement. Spoiler alert: It will be “Back to the Future.”
Links:
Fujitsu: ebay.us/VyIeAz
I5 Lenovo: ebay.us/ZtXI7G or amzn.to/3gj6MlH
I7 Lenovo: ebay.us/j0R7sl
i3 Lenovo: amzn.to/3Aoae5p
mSATA Adapter: s.click.aliexp... (not tried)
HA Installation: • How To Install Home As...
Debian installation: • Running a Debian 11 Bu...
The links above are usually affiliate links that support the channel (at no additional cost to you).
Commands and links:
Debian Live
cdimage.debian...
Home Assistant
github.com/hom...
sudo apt-get update -y
sudo apt-get install -y efibootmgr
sudo efibootmgr -c -l /EFI/BOOT/BOOTx64.EFI -L HomeAssistant
su
sudo usermod -aG sudo pi
sudo service ssh start
exit
~/PiBuilder/boot/scripts/01_setup.sh
~/PiBuilder/boot/scripts/02_setup.sh
~/PiBuilder/boot/scripts/03_setup.sh
~/PiBuilder/boot/scripts/04_setup.sh
~/PiBuilder/boot/scripts/05_setup.sh
cd ~/IOTstack
./menu.sh
lsusb
ls /dev/ttyA*
nano ~/IOTstack/docker-compose.yml
github.com/Par...
Proxmox helpers: tteck.github.i...
Patreon supporter companies:
passiv-energie...
www.welectron....
yosmart.com/
RU-vidr Patreon: / @makersmashup
Supporting Material and Blog Page: www.sensorsiot.org
GitHub: www.github.com...
My Patreon Page: / andreasspiess
Discord: / discord
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission on your purchases to buy new stuff for the channel
My Amazon.com shop: www.amazon.com...
For Banggood bit.ly/2jAQEf4
For AliExpress: For AliExpress: bit.ly/3MtXUY8 (just go on from here to your product)
For Amazon US: www.amazon.com...
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
www.facebook.c...
/ spiessa
www.instructab...
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,7 тыс.   
@xtremeideaz
@xtremeideaz Год назад
Been using this for long and have no regrets. Proxmox and docker creates so many more possibilities. media centers, dns, adguard, pihole and many more
@sc0or
@sc0or Год назад
I can tell you a secret. You can install ALL this software on a single PC and forget about it for ages. People are crazy about a virtualization like about a new iPhone when 5 yo model can cover all use cases. I completely understand that installing a new virtual machine is like purchasing a new hardware, but this is only a psychology
@smyle78
@smyle78 Год назад
Why do you need proxmox for this?
@haveaniceday7950
@haveaniceday7950 Год назад
@@sc0or how do you do it?
@aliaghil1
@aliaghil1 Год назад
As always, great video. I moved to tiny micro PCs for my home server back in 2019. I remember with an i7 processor, it was like being on a jet engine, super fast compared to a raspberry pi. Also, backup and recovery staff are superfast. I will never regret my great move. 😊
@AndreasSpiess
@AndreasSpiess Год назад
Sounds great!
@kemai.adventures
@kemai.adventures Год назад
what is the self backup system and how does it work?
@dirkbetscheider2368
@dirkbetscheider2368 Год назад
I really like your videos. Thanks for the awesome work. Just one word of caution: Whenever it comes to power saving, the TDP is often used to decide which hardware to use. I learned it myself the hard way. My two server systems A2SDi-16C-HLN4F (32W TDP CPU) and A2SDi-8C+-HLN4F (25W TDP CPU) come not even close to 30 Watt power usage. Platform power saving feature support is way more important than the TDP numbers… Apart from choosing your hardware wisely, there are also BIOS and software settings to take care of. That is the main reason I am writing this comment. I think that there may be some potential to save even more power… To achieve the power consumption I mentioned further down I did the following: Used a pico PSU. Be careful: in my system it only supported 2 nvme ssds. But in this way I saved between 10-15 watts compared to my Gold rated SFX and ATX PSUs I made a video going trough all BIOS settings pages to “remember” the state without any changes. And later a second video recording all the changes I made:) I updated the BIOS to the most recent version. I loaded the BIOS default to have a reference point. In BIOS switched c-states on and selected the highest c-state number available In BIOS switched p-states / package p-states and selected the highest number In BIOS I enabled ASPM for all available pcie and chipset devices In BIOS I turned ACPI on Removed all pcie cards and other not crucial devices - just to make finding problems more easy… In proxmox I installed the following packages powertop, i7z, cpufrequtils, acpi-support, acpid, api Ran powertop and tab trough the pages. Kept an eye on the p- and c-states as well as the “bad” entries. Then ran powertop - -autotune. That did drop the power usage quite a bit. Ran cpufreq-info. Here you can see what frequencies the cores are running and what cpu governor is used (was “performance” in my case) Changed the governor to “powersave” or “ondemand”. In one of my systems “powersave” would not allow the cpu to go over the minimum frequency. There you can also see whether your system is using intel-p-state driver or ACPI driver It may be worth it to edit the /etc/default/grub to make the system use ACPI OR p-states I put the hdd to sleep with hdparm. Yes I am aware that this may not be suitable for every setup One by one added the components back in the system and looked at the changes that made to power consumption My system automatically switched from p-state driver to ACPI after installing the ACPI support. This resulted in less power usage. After doing the above settings, my system is using less than half of the power in comparison to running “stock” BIOS settings and “stock” proxmox. For about one week I am now using my new “server”: ASROCK H670m-itx, 64 GB RAM, i5-12400, 2 nvme ssds, one 12 TB Ironwolf pro all powered by a pico PSU. With the hdd running the system uses around 22 W. I put the hdd the sleep most of the time, because I just use it once an week for backing up my data to an additional drive. In this state the system uses between 15 and 17 W. The board as an Intel 1 GbE Nic and a Realtek 2,5 GbE one. Power measurements were done with either one connected. If I put an Intel dual i710 10 GbE NIC in my server idle power goes up around 10 W. Unfortunately my mainboard does not handle pcie power saving well. ASPM is not fully support. That issue I will have to investigate. Maybe I will contact ASROCK. I suspect it is a BIOS or BIOS setting issue. As for the Realtek NIC… I turned it of, because it was giving me a really hard time in proxmox using docker containers. The containers would randomly drop the connection making them inaccessible. It took me quite some time before I realised the Realtek NIC was to blame and not the reverse proxy configuration I was trying to set up… I then tried out a GigaByte B660i mainboard which as an Intel 225V NIC. That NIC on that specific board was using over 8 watts when there was close to no network traffic (just the proxmox web interface and no vm running). This board was handling pcie power saving better, but had general stability issues and only has one nvme slot. So I stayed with my ASROCK board. Whether 10GbE, an Intel 2,5 GbE card or just 1 GbE will be used I still have to decide. I also tried an Aquantia based 10 GbE card. It seemed to work ok in proxmox that is (vsphere is a different story) but the Intel card uses about the same power and gives more features (SR-IOV and hardware offloading). This server replaced my Supermicro servers. My systems were running proxmox and later vmware vsphere. As prices for electricity are going really up, I got rid of my cluster (3 nodes). Spending over 85 W combined when the machines were idle was getting too expensive for just playing around. So from now on I will be using just one server. My problem with the server hardware was, that it was not possible to push the servers under 30 watts in idle. I went trough all the settings in the BIOS, turned off network cards and even cores hovering at the 30 W mark. The remote management alone is using between 5 and 8 watts of power. When I build the systems 5 years ago, everyone told me I should use server hardware. Remote management, ECC RAM and better stability sounded good at that time. Stability was not an issue in the 5 years. As for ECC RAM not a single error was reported on the machines… But I noticed that many of the power saving options my consumer hardware was giving me weren’t available on my servers. My HPE Microserver Gen10plus would not work with ACPI… even if I did all the step above and edited the grub file to disable intel p-states… That BIOS is quite special and some power saving settings are not available. The HPE ILO5 is using also around 8 W. After all the optimisations the Microserver was using approximately 20 W. Another minus for me: HPE disabled the integrated GPU of the processor. This is done in hardware. There is no way to enable the igpu. I wanted to have some gpu acceleration available. If that wasn’t the case I would not have bought new hardware. Again something I learned after buying the server. You have to use ILO remote, a VGA monitor or adaptor to setup that machine. The display port is connected to the ILO gpu (matrox) and only works in Windows or Linux after installing the drivers… So I decided to use consumer hardware for the next HOME server. No remote management or ECC support on my platform. As for remote management I can use pikvm to add that feature. The pi will do that job excellently and uses only 2-3 W while doing so. And for ECC I just cross my fingers that it will be a no issue as it was in the past. And if hardware disaster strikes I still do have way to much hardware in my “homelab” to quickly setup a backup machine. But what I think it is more likely, that I make some stupid configurations while playing around and will have to use one of my backups with “known good states” of my software setup :). Im looking forward for the next video. 😃
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for your explanations. I just checked my CPUs. They all run at around 1GHz with IOTstack and HA up. So it seems that Proxmox can tune them down when not used (governor: ondemand).
@tyrzxv
@tyrzxv Год назад
Just my 2 cents: I have a supermicro Intel Xeon with 32gb ECC RAM running 24/7 with 8 HGST drives and an ssd, with idle wattage around 60 watts, running mostly stock bios settings. Although this is definitely not as low as you are going for, this seems low to me considering the constant running drives. It's mainly a storage NAS, running freenas/truenas and ZFS. I think at some point, when you have larger or more capable server hardware, the bare minimum wattage will be higher than smaller Raspberry Pi or minimalist consumer pc, but if you upscale the hardware attached, the server hardware becomes more efficient for what's running. This is just using my own experiences with the hardware ive used to make various servers. Edit: I should have added, using the right size power supply makes a huge difference, and since the hardware that's constantly running (harddrives) is going to be the majority of the idle wattage.... it's easier for it to hit that power supply efficiency range. The lower the wattage your going for, the more percentage of your wattage is waste-conversion wattage for just having the power supply on.
@oscargr_
@oscargr_ Год назад
I was so tired of waiting for a pie just to try home-assistent. Last week finally decided to get a cheap NUC. My Home assistant is small as I m still finding out stuff. The NUC runs very silent, very cool and only uses less than 5W.
@AndreasSpiess
@AndreasSpiess Год назад
Many other viewers went with NUCs. Seem to be a good choice.
@oscargr_
@oscargr_ Год назад
@@AndreasSpiess Yeah, and not that much more expensive than a raspberry... If for the Rasp. you re going to need a case, a power supply, a memory and an SSD upgrade... Looking back, it's hard to remember why lots of people wanted to run it on a berry. Must have been exceptionally good marketing by the rasp foundation. Edit: who are doing a good job I am sure at providing cheap computers for educational and other purposes. Which is obvious by that they produce tons of boards for industry and that's why there hardly any left for home-hobby-users.
@duncanowino7653
@duncanowino7653 Год назад
@Oscar Gr which particular NUC did you get?
@oscargr_
@oscargr_ Год назад
@@duncanowino7653 Note that I only just have it, so my HA install is new and rather small. So far so good. BNUC11ATKC20RA0 Processor N4505 (2 core), 4G RAM, 250GSSD They were rather a good deal here(without any OS preinstalled), but I see they are about 200 US$ in US.
@SmithyScotland
@SmithyScotland Год назад
It's a shame that Raspberry Pi have completely abandoned the maker community that they built their company off. 400k pi's still being built per month but all going to "commercial partners". You'd think Pi Trading was going to float on the stock market.....
@AndreasSpiess
@AndreasSpiess Год назад
The commercial market probably depends more on the HW if they included it in their products. We are "just" hobbyists :-(
@JTordur
@JTordur Год назад
The situation with the supply chain crisis is very difficult. I don't think Raspberry Pi could do anything differently. This will blow over soon, but unfortunately we have to wait until we can build all of our cool project using RPi for a while.
@RK-kn1ud
@RK-kn1ud Год назад
@@JTordur I think that preferring one customer over another (instead of taking orders as they come in) will likely result in their demise.
@JTordur
@JTordur Год назад
@@RK-kn1ud I don't think so, no-one currently is ready to take their position in the market. They have an eco-system, of hardware and software around their devices, that is hard to beat. I get why they probably have customers they prioritise, they probably have customers relying on the Compute Modules in their products, and tbh. either piss of some entitled hobbyists with long lead times, or let business build on your product go out of business? I know what I would have chosen.
@RK-kn1ud
@RK-kn1ud Год назад
@@JTordur I don't think you should ever turn down a customer who is willing to pay. It's not like they have a shortage of customers willing to pay. There is no competition now, but there may be of somebody wants to capitalize on the customers that are being purposely ignored.
@rklauco
@rklauco Год назад
Tip: I often buy laptops with broken screens for dirt cheap (i5, 8GB RAM, 128GB SSD for 30 CHF). Not only it runs no problem for server tasks, same as the machine on the video, but on top it has built-in ups :)
@cedricjung1899
@cedricjung1899 Год назад
I was wondering how well will it be in the year, is it reliable ? What about about the consumption with i5 ?
@AndreasSpiess
@AndreasSpiess Год назад
Interesting! Indeed, they do not have a value as a laptop.
@JohnBaxendale
@JohnBaxendale Год назад
Great tip! I did run an old i7 laptop as a server for a long time (~3 years in a very dusty environment) and it was great. I had a docking station for it which made the IO much easier too. As you say, the built in UPS was super handy too! :)
@rapjul
@rapjul Год назад
@@cedricjung1899 It’s just a normal laptop, no reason why there should be any additional issues. There are two main power envelopes for the CPUs in laptops: - 15 W (processors that end in “U”) - 45 W (processors that end in “H” or “HQ”; these traditional had four cores hence the ‘Q’ for quad, but since 2018 can have more than four cores) Even 15 W CPUs from 10 years ago should still be more powerful than a RPi 4. Get something like a Lenovo Thinkpad, HP ZBook/Elitebook, or Dell Precision/Latitude for the almost certain guarantee of user replaceable memory and storage, and an included Ethernet port (which is pretty much impossible to get on thinner, non-business laptops anymore). If you can, try to get a laptop with 1 × 8 GB of RAM so you can fill the other SODIMM slot with another 8 GB for a cheaper upgrade to 16 GB later.
@enjibkk6850
@enjibkk6850 Год назад
Would you recommend brands? The life expectency of my laptops have varied a lot across the decades, I would be wary to buy 2nd hand (half broken 😉). Laptop form factor is not ideal to just stick them behind the TV cabinet along with the hue bridge
@akiko009
@akiko009 Год назад
I've been using refurbished "mini PCs" for years instead of RPis because of the more reliable storage setup (and CPU options in cases where performance is a factor). I usually spend the few extra bucks for a new replacement SSD. For these refurbished units it's really important to test them fully. I've had iffy memory and out of 10+ systems, one had an intermittent motherboard issue. I'd add to the list at 9:24 that updating the BIOS is a must.
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for the additions. It just took me a few hours to update all the BIOS in my Lenovos. Not easy. As you said: They were from 2013...
@ilyai746
@ilyai746 Год назад
if you purchase some like hp probook (i have HP ProBook 6360b x2 + proxmox ) , you got server with ups... Power down will not touch...New hp probook no so nice
@akiko009
@akiko009 Год назад
@@ilyai746 I like the idea. On the downside I've had difficulties with the embedded controller on some laptops going out to lala land and taking the unit with it. Those things don't have the most solid firmware.
@ManfredBartz
@ManfredBartz Год назад
​@@ilyai746, I did that for a while -- until the battery runtime was down to 30 seconds....
@ManfredBartz
@ManfredBartz Год назад
@akiko009: "mini PCs ... instead of RPis because of the more reliable storage setup" -- totally agree. I could never get an RPi to reliably work with an SSD even though I spent extra bucks buying a "supported" SATA to USB adapter. And SD-card operation is only viable if the SD is made read-only.
@noweare1
@noweare1 Год назад
Kind of an amazing find. I have only bought one PI so I will be looking into these mini servers.
@kemai.adventures
@kemai.adventures Год назад
I've bought dozens of these boxes over the years for everything from home assistant servers, remote desktop PCs for maintenance of onsite systems, node red servers, etc etc. They really are great and can be bought for less than a pi depending on spec. Another advantage over other options is that these fit nicely into a rack. I usually use a 1U rack shelf and sit these on. they look neat with the rest of the rack.
@AndreasSpiess
@AndreasSpiess Год назад
Indeed, I like their looks too. Mine sits now above my PC on the shelf!
@mormegil231
@mormegil231 Год назад
As far as i understand in Proxmox when it comes to CPUs there is no issue if you overcommit CPUs on the VMs. If both of the VMs ask for all cores at some point, the scheduler will just spread the host and VM processes equally to the actual cores. And if only one VM needs the processing power while the others are idle then that one will be able to get all the processing power it needs. But it is not the same with RAM though. You need to make sure you do not overcommit RAM on the VMs and split it specifically mostly to always make sure that the host has enough to operate. Otherwise if both VM request the maximum RAM allocated at some point it will not leave any left for the host and the device will momentarily freeze and you will have frequent cuts on the services running.
@AndreasSpiess
@AndreasSpiess Год назад
I made the same observations during my recent tests. RAM added up, CPUs were used by the machine with the bigger need.
@pietstreet8311
@pietstreet8311 Год назад
I used a Zotac CI323 Nano with two ethernet ports and proxmox to build a all-in-one home router. The virtual machines are OPNsense as Firewall, pihole for adblocking and iobroker for my home automation. it runs fine with 8GB RAM for a small home network and using LXC containers for pihole and iobroker helps saving memory resources. Also backing up the vms is super easy.
@polycrystallinecandy
@polycrystallinecandy Год назад
If you have an old laptop sitting around, just use that. You get plenty of power to run a ton of docker containers. I have 16 containers running (including home assistant) on a 10 year old laptop. You even get a screen and keyboard for debugging when things go wrong and ssh isn't working. And free battery backup.
@AndreasSpiess
@AndreasSpiess Год назад
Laptops are also a good idea, I agree.
@sayantansantra2332
@sayantansantra2332 Год назад
I decided to get a Thinkcentre M900 with an i5-6500T, 8GB RAM. Had old SSD and HDD to put into it, and now I have a pretty powerful (for my use case) server. Got it for around $75 off of eBay. I'd say it's money well spent. I have tens of Docker containers running on it, on top of AlmaLinux 9, accessible through cloudflare tunnel. Everything runs smoothly, and being x86_64, I don't have to worry about software support and such.
@technics6215
@technics6215 Год назад
I have replaced my RPi 2 "home server" with Dell Wyse 5070 with 4GB RAM and 16GB eMMC purchased for something like 80EUR. It takes less than 10W, has no fan and I have it in closed cabinet. Temperature inside is 34'C. Yesterday I put WD SA500 SSD in it and installed Proxmox. This is awesome, much more value than new RPi.
@AndreasSpiess
@AndreasSpiess Год назад
These DELL Wyse PCs are a good fit. They are not often sold here.
@sesl91
@sesl91 Год назад
Thanks for the great breakdown and cost analysis. The raspberry pi shortages definitely require us all to become creative with our home project! A new alternative that I've also been looking at is the Celeron N5105 mini PCs. I've been seeing them pop up for around $180 USD which can also be competitive when comparing to an 8GB Raspberry Pi 4 with case and power.
@AndreasSpiess
@AndreasSpiess Год назад
I agree and bought one. Still, they are about double the price with not a lot of advantages over the i5 model
@zvpunry1971
@zvpunry1971 Год назад
I got a new laptop, it has a i5-1245U CPU, 16GB RAM, 256GB SSD and a 58Wh battery. A new toy and a new discovery: The power supply was ice cold! This sparked some curiosity about the power consumtion and made some measurements (All taken on the input side of the power supply with a cheap power-meter). No measurable power consumption when it is charged and switched off. After switching it on, the uEFI firmware prompted me for the SSD password: 15 Watt After entering the password, I paused it in the grub bootloader: 20 Watt I continued to boot, a linux kernel and an initramfs was loaded and the kernel started. Then the scripts in the initramfs prompted for the LUKS/cryptsetup password: 5.9 Watt I entered the password and let it boot into the Gnome Desktop and let it idle there: 6.1 Watt to 8 Watt (6.5 Watt on average) I switched off the Display and Keyboard illumination, i.e. doing nothing important with lights off: 2.5 Watt
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for the information. I agree, power consumption of modern laptops have to be low. Otherwise, they would not run for 10 hours with one battery charge.
@anonymoususer6448
@anonymoususer6448 Год назад
Another keeper ! Another video packed with information. Many youtubers would make 2-3 separate video with this content, to optimize their revenue. Not Andreas. Also, as usual Andeas goes one step further as most RU-vidrs. As a real engineer, analyzing all aspects, including computing long term power costs Love it ! /chrisV
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for your kind words!
@sarahjanegray
@sarahjanegray Год назад
Thanks, as always, Andreas. I had been wondering at the use of these thin clients as a headless server for many reasons a while ago and seeing how locked down they seemed to be had dismissed them. Think I will have to revisit this. I have one main server that started out as a NAS/VM server and is slowly becoming used more for storing and presenting IoT data from the ever increasing number of devices around my house. So wanted to use a thin client as a server backup just for IoT as a backup server to avoid the single point of failure and to allow me to do maintenance and reboot the main server regularly, which is not easy at the mo. Concern about power consumption (esp at the moment) was another concern, as well as that we run our own DNS here, which I am currently using an old Pi as a secondary nameserver for. So lots to think about from your video. Thanks for the work you have put in on this, even if it now gives me yet another thing to think about!! Best wishes, Sarah
@AndreasSpiess
@AndreasSpiess Год назад
Maybe I will investigate in redundancy in the future. It is not a simple topic. Because with each device, you also add a chance that something can go wrong... And so far I had no need for a NAS. We do not have lots of shared content and for backup, I depend on Dropbox.
@kokoscom
@kokoscom Год назад
I have been trying to solve the PI issue for the last couple of weeks and still searching for a replacement.. We need I/O ports as well a relatively fast processor since we will use screen mirroring for some projects.. Andreas this is very interesting - we also need a video comparing things like RASPBERRY pi, ondroid, banana pi, orange pi and other to find a real replacement for our projects! Thank you Andreas for the great video!
@giornikitop5373
@giornikitop5373 Год назад
this debate has been done to death. while there are similar arm boards in cost and performance, none of them can even touch rpi's software and user base. going x86 with mini pcs or similar is a usual solution if you are willing to give up the versatility of arm sbcs in size and power consumption. BUT, the prices for all those minis are nowhere near what most youtubers claim to be and are largely depended on geolocation. so, you either go for arm for less size, power and generally price or x86 for bigger perf. cost, power and size. there is currently no in-between.
@davidlloyd1526
@davidlloyd1526 Год назад
For me the number 1 problem is Linux driver support, something that all the comparisons ignore. They always just download junk like RaspbianOS or random binaries from dodgy websites in China. At least in this video he just downloaded Debian. I don't want to buy a board where the graphics chipset has no Linux drivers...
@arm-power
@arm-power Год назад
What about to use SBC with new RK3588 chip with famous ARM Cortex A76? - prices starts at $60 USD for Orange Pi 5, Radxa Rock 5 etc. - Cortex A76 is 1st desktop class ARM core (IPC equal to PC AMD Zen 1 or Intel Skylake i7) - Cortex A76 has double IPC than older A72 in RPi4 - RK3588 has 4x A76 at 2.4 GHz .... 50% clocks increase * 2.0 IPC = 3 times higher performance (single core) - RK3588 has also 4x little A55 core at 1.8 GHz .... these alone provides same performance as whole RPi4 (4x A72 @ 1.5 GHz) - overall 4x higher performance - 8nm LP Samsung process (compared to 28nm for RPi4 = huge difference in consumption for identical load) - up to 16 GB RAM (4GB, 8GB options) - 1x PCIe slot for native NVME SSD, or eMMC
@keithmiller9665
@keithmiller9665 Год назад
See my post for a Beelink U59 Pro N5105, much better than Pi 4. Important to add in all the costs to get a Pi 4 up and running.
@AndreasSpiess
@AndreasSpiess Год назад
I also think that the Pi foundation is in a powerful situation. Linux, unfortunately, is not as standardized as Windows.
@DaNiXLuKaSVNTcrew
@DaNiXLuKaSVNTcrew Год назад
Thanks for great video and chapters about power consumption. I recently purchased Odroid H3 as an alternative to my RPi4 (home-server). It is like full PC. It has x86 Intel and it can run under 2W in idle! I measured 1.2-1.8 W power consumption (only device, without power supply). It runs on 12V and I have connected 1x 16GB DDR4 RAM and 1x 256GB m.2 SSD (Adata XPG SX6000 Pro). OS: Debian 11 with kernel 5.19.0 and applied tweaks via powertop utility.
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for your information!
@NickReynolds
@NickReynolds Год назад
Very timely for me, just last week I bought a Wyse 5060 to do just this and reclaim the Pi currently running HA for something where the smaller size and GPIO are an advantage.
@AndreasSpiess
@AndreasSpiess Год назад
SAme here. Two Pis recently died, and I do not have too many left ;-)
@82levy5
@82levy5 Год назад
I bought a HP t520 thin client for about 10$. Even this old hardware with a dual core cpu, M2 ssd and 4 gb DDR3 ram, performs better then a Raspberry pi. Also stability is more better. Power consumption aso can't be concerned, it consumes only 10 watts.
@gerardstrik2555
@gerardstrik2555 Год назад
I also use this one with upgraded ssd. Cheap, fast, quiet, low energy usage: perfect.
@sebastien4116
@sebastien4116 Год назад
The issue with those tiny PCs is still power consumption. 15w for running continuously is going to cost a lot in electricity. I am running an Orange Pi Zero LTS at home as a "micro server", and it consumes about 0.8w, which is hard to beat. Perfectly capable to run Pi-hole DNS, a web server, a DLNA server, a file server etc. All my storage is online, so I don't need a lot of local storage.
@AndreasSpiess
@AndreasSpiess Год назад
Orange Pis are good computers. However, I did the price calculation for power in the video. And after replacing my 2 Pis with my old I7 PC I hardly noticed an increase of power consumption.
@sebastien4116
@sebastien4116 Год назад
@@AndreasSpiess I guess my point was: if you need to run a sever 24/7 at home, you may want to use the most efficient board/PC available, to reduce wattage/electricity cost. It's probably neither a Raspberry Pi 4 (or two of those) or a i7 PC. Those are probably overkill in performance for most people's needs, and therefore consuming more watts than necessary for the job. Of course, if you want to run Plex, Jellyfin, do some transcoding etc. then more powerful machines are required, but people would be surprised on what you can run reasonably well on a low end, low power Orange Pi (or earlier Raspberry Pis).
@atomicforcegaming2867
@atomicforcegaming2867 Год назад
I actually built that same computer last year for a media center in the living room. Those M93 tinys are awesome !
@AndreasSpiess
@AndreasSpiess Год назад
And quiet enough for the living room, I think.
@atomicforcegaming2867
@atomicforcegaming2867 Год назад
@@AndreasSpiess Absoutely ! I upgraded to 16 GB of ram, 2tb solid state inside and the CPU to a i7 4790T it's a little beast ! 🙂
@PLANTROON
@PLANTROON Год назад
I bought an old Thinkpad T430 for this which gives me a battery backup as well. And it has bt, wifi, slots for 2 sata drives. It runs my mail server, websites, hass, pleroma (mastodon alternative) and a lot more... on top of that I used it as emergency workstation when my main pc broke down. I could run Windows VM on it with igpu passthrough. And the total cost was 60 for the laptop, 20 for ram upgrade to 16G and storage SSDs which I already had.
@AndreasSpiess
@AndreasSpiess Год назад
I agree, Laptops are also a good solution.
@hikefka8001
@hikefka8001 Год назад
Sometimes you got good dealers who sell refurbished corporate laptops for so cheap!
@AkramButNot
@AkramButNot Год назад
@@AndreasSpiess and also they have a battery, which is reaaaally useful when a power outage occurs. They can survive without an UPS as they run on battery. And, that's convenient for some semi-critical missions that you can still run, for example, sending a Telegram alert when power is down.
@marcusone1
@marcusone1 Год назад
I've been saying this for over a year now... way better than a Pi... particularly when people started added SSDs, you basically have the same machine, but much slower. Where I live you can get a SSF used pc for dirt cheap.
@remy44444
@remy44444 Год назад
Second hand laptop ftw. It's nearly free come with everything you need ( from windows to m&k) and have built in battery ( ZigBee tend to mess up after powercuts ). I think I wrote it in the last video among more tips but it didn't go through for some reason.
@khriss75
@khriss75 Год назад
yessss this is like my solution: a free second hand hp i5 128Giga SSD,laptop (4 years old). Laptop (and relative power supply) + friztbox modem + 12V 10A power supply and relative LiFePO4 battery backup + sesnsor, my home automation pcb boards etc = about 22W
@AndreasSpiess
@AndreasSpiess Год назад
Also a good alternative!
@dogemaster6079
@dogemaster6079 Год назад
can confirm, i have had an old t460 running all of my iot stuff and it has been rock solid. easily >10w typical and built in kvm + ups is really nice.
@notmyname9062
@notmyname9062 Год назад
I use a zbox PI335 (N4100 6W TDP). The size is similar to a Pi4, but it comes in a case with passive cooling and 64GB included. With default settings it draws ~2W in idle and 6W on full load while being ~30% faster then a PI4 drawing 9W. Increasing the TDP in Bios to 12W makes it draw ~12W under full load (passive cooling is still sufficient) while being approximately twice as fast as a Pi4. It's suitable for running server(s) on it. But sadly it's missing the pins. No 5W power output, no gpios, no i2c, no spi...
@AndreasSpiess
@AndreasSpiess Год назад
64GB is a lot for such a small box! But good for many VMs. However probably not in the Pi price range...
@ronaldronald8819
@ronaldronald8819 Год назад
Ha Excellent Thanks for sharing your hardware home automation experiences . By the way, there are some excellent deals to be found on systems with AMD Epyc or Intel Xeon processors. Somewhat more costly in power usage but good fun to play around with.
@AndreasSpiess
@AndreasSpiess Год назад
For the moment I spent enough on HW ;-)
@hanssalow6796
@hanssalow6796 Год назад
I usually use older Laptop mainboards for this purpose now. They come with CPU and lots of connectors on the motherboard so you just have to add m2 ssd storage and ram to the setup. The CPU power ist decent, and space is even smaller than a thinclient.
@AndreasSpiess
@AndreasSpiess Год назад
Good idea! Then you just have to find a decent box for it.
@oscargr_
@oscargr_ Год назад
So much fun reading everyone's setup for home assistant OTHER than raspberry. I always thought raspberry was the holy grail for HA just because of community support and it's popularity. From the comments here I got a very different story. Just a week after I finally decided not to wait for the raspberries to become available again and go with a cheap NUC. All your comments work great to prevent buyers remorse.😁😁
@dmanwithers
@dmanwithers Год назад
Been running it in Proxmox for 2 years now without issues. Been nice because I have one server running 5 or 6 machines right now. Want to do more, but need to upgrade the RAM before I can do so. Probably going to build a bigger server instead though, since mine is an old R510 anyway
@AndreasSpiess
@AndreasSpiess Год назад
I was also astonished about the comments. It shows that time is right now.
@oscargr_
@oscargr_ Год назад
@@AndreasSpiess Thanks for always keeping me moving on (with the crowd)😁😁
@FilipeNeto616
@FilipeNeto616 Год назад
Been running HA in a Pi4 for several years. At the begining was painfull, in particular due to power outages/hard powerdowns and SD degradation. Over the time I've been improving those handicaps by replacing the SD cards with SSD drives and using an UPS to avoid hard shutdowns. But Pi4 don't allow me to use VMs (or is hard to), so anytime I need to do some test deployments I end-up buying a new Pi for that purpose. So today was the day I finally move on and placed an order to get a new Lenovo M75n. It's not cheap, but hopefully it will allow me to setup as many as test enviroments as I need and keep running my HA stack. Thank you all for that!
@oscargr_
@oscargr_ Год назад
@@FilipeNeto616 oh my.. that sounds like an upgrade over an upgrade. I don't know how many devices you control in your mansion, but it seems like a super setup. If you re that willing to upgrade, must be you love home assistant. I m not there yet. Who knows in a few years, after I have moved all my hand made automations over to home assistant. Struggling with yaml.😅
@ziomalZparafii
@ziomalZparafii Год назад
I run my home automation (Node-RED, Grafana, Influx, pi-hole) on RPi 1 with 512MB of RAM. At some point I wanted to switch to RPi4 8GB, but it was already out of the market. TinyPC (well, any PC) is not a RPi replacement. There is no GPIO so most of my home automation won't work (lots of 1wire thermometers, MCP23017, etc). I would have to buy expensive external GPIO over USB plus much higher power consumption would lead to noticable bigger cost. No idea why so many people suggest tinyPC *as a RPi replacement* forgetting about GPIO which is the biggest RPi advantage.
@AndreasSpiess
@AndreasSpiess Год назад
I usually do not connect any sensors to my Pi because the "server" is not where the sensors are. This is why I use ESP32s for sensors and place them where the need is. Or I use Zigbee devices. But, as said: I still have projects for Pis and I am happy I have now 2 more free for those projects.
@GeoffSeeley
@GeoffSeeley Год назад
I have been playing with these "1L" low-TDP boxes for about a month now and I too was surprised by how fast they are! Managed to get two Lenovo M900 (i5-6500T) for $75 CDN but usually these are ~$250+CDN but the cheapest Pi4/8GB(kit) I was able to get in Canada a few months ago was $300 CDN so "1L" PCs are a better deal IMHO. Oh, and yes, Proxmox is fantastic!
@AndreasSpiess
@AndreasSpiess Год назад
So you got a very good deal!
@maak6270
@maak6270 Год назад
Yep. I got a HP T620 (4-core) with 4GB RAM and 128GB SSD, for $50. It runs Proxmox + HA, with bunch of containers, i.a. ebusd (Vaillant heating), SDR-RTL (433Hz radio sensors), gates/door control, lots of zigbee/bluetooth stuff, etc. The PC mostly sits at 1% CPU and uses like 9W. Super quiet (no fan). Perfect!
@theengineer4050
@theengineer4050 Год назад
What is the noise level using such a solution? I assume the machines have fans? I live in a small apartment, so for me it's important, that my home server is perfectly quiet.
@AndreasSpiess
@AndreasSpiess Год назад
I never heard a fan during my tests with HA and IOTstack (apart from a short test rund during boot)
@jonmayer
@jonmayer Год назад
A single Raspberry Pi booting from SSD to USB is plenty fast for Home Assistant (it's what I use), but the ultimate win here is power savings and cost. I get that the Pi is unobtanium at this point, but a PC with VMs is usually going to burn more power, so the cost to run 24x7 is higher. But in this climate, you have to do what you have to do. Maybe one day we will be able to get some glorious SBCs again.
@AndreasSpiess
@AndreasSpiess Год назад
These small PCs fortunately are very power efficient. In my setup I hardly measured any difference when I replaced my 2 Pis with this very old Thin Client PC. And, as said: I am the proud owner of a PV...
@jonmayer
@jonmayer Год назад
@@AndreasSpiess You've convinced me to give my Celeron J4125 mini PC I bought awhile ago a chance at running instead of my Pi(s). I was using it for something else, but I think this application is better.
@keithmiller9665
@keithmiller9665 Год назад
I just picked up a Beelink U59 Pro Celeron N5105 16 GB (NUC) 11th gen CPU with 500 GB SSD M.2, 2 network ports, 4xUSB3, 1xUSB C, 2xHDMI. I paid about £220 on Amazon. I could have bought it cheaper but I wanted Amazon support in case of problems. Full x64 with Windows 11 pre-activated. I installed Ubuntu 22.10 on a regular SSD in the empty slot. I can do VAAPI & QSV hardware encoding - Pi only has v4l2m2m which is far inferior. For low power video encoding it is ideal. I am spending this week investigating hardware encoding using ffmpeg. Add in all the accessories needed with the Pi 4 and the Celeron is still a bit more expensive but is MUCH more capable and will last the test of time better. I am walking away from Pi 4s now, they just can’t compete with a 11th gen Celeron N5105.
@AndreasSpiess
@AndreasSpiess Год назад
That is a really good price!
@AnthonyDeChiaro
@AnthonyDeChiaro Год назад
I recently picked up a 10th gen i5 Beelink for a k8s cluster and have been liking it so far. This video made me consider the idea of using those N5105 or similar models as a RPi4 replacement - I agree the price/performance target is pretty attractive for them.
@t.w.3
@t.w.3 Год назад
Great video. I have some cases full of these MFF pc's with 8th gen i5 processors and 16GB DDR4. Finally got a use case for using these. Also runs ProxMox fine with no slowdowns. A good tip is to check that the computers have the latest BIOS updates provided. Some of these Micro pc's can run from a smaller, more efficient PSU.
@AndreasSpiess
@AndreasSpiess Год назад
So you are a lucky guy. With some cases of PCs...
@hardbrocklife
@hardbrocklife Год назад
These, amazon renewed, are like 120$. Best small PC options ever.
@jmize
@jmize Год назад
This is perhaps the most bookmarkable youtube video for me right now. I'm in the process of re-purposing a Dell-Wyse Thin Client ($55 on Ebay) to run Proxmox, HA, etc. Upped RAM to 16GB (had a spare 8GB stick) and a larger SSD. I am stunned at how complete Proxmox is. What a great learning experience for an old guy like me. Whereas most YT videos have crap comments, yours always have insightful and informative ones (unlike this one).
@AndreasSpiess
@AndreasSpiess Год назад
Glad you like my content. An these Thin clients with Proxmox are really cool. I do not look back to the Raspberry.
@fernapiedade
@fernapiedade Год назад
Loved all the topics covered. But, why don't you use a 905 chip processor tvbox based and install any linux distro on it and go from there? I have it at my home. - Super light in power consumption. - Extremely fast. - Cheap (around 40€ or around 15€ second hand.) On top of it, it runs docker containers quite fast tho.
@AndreasSpiess
@AndreasSpiess Год назад
I never tried it. Maybe not for a server, but for other projects.
@rkan2
@rkan2 Год назад
A good alternative for RPi is used Intel Compute sticks (especially the m3/m5 variants). They run fine from a 5V3A PSU and have quite a lot of performance.
@AndreasSpiess
@AndreasSpiess Год назад
Maybe I have to try one in the future.
@jorgwende6314
@jorgwende6314 Год назад
Their only limitation: interfaces …
@oscargr_
@oscargr_ Год назад
What do you use those for in practice?
@rkan2
@rkan2 Год назад
@@oscargr_ Anything you'd use a 5W TDP CPU from 2015 for.. RPi 4 is 28nm. M3-6Y30 was on a much newer 14nm process and it was a 280$ CPU back then. There is also much better value Atom CPUs but they might still not offer the same single core performance. Of course the major limitation is RAM on board but it is still plenty to run a few containers or even full on Win10 of course.
@mattivirta
@mattivirta Год назад
not have alternative. were have gpios ? no can use 90% all projects if not have gpio.
@philipp1960
@philipp1960 Год назад
:) that video came out quick! - Regarding the open question about proxmox cpu handling. In my setup, proxmox itself is showing 4 cores ( Pentium(R) Silver J5005 CPU ) and if I assign 1 core to a container that runs bad code (in my example, frigate exeeding disc space) and runs into 100%, the proxmox server itself saw a 25% increase in cpu-usage. Hence I never give all 4 cores to a single instance.
@AndreasSpiess
@AndreasSpiess Год назад
Interestingly enough: My I7 server shows 8 cores. So I gave 7 to the VMs and kept one for Proxmox... Anyway, with the current load it is probably not too important.
@philipp1960
@philipp1960 Год назад
@@AndreasSpiess I also don’t have details I’d you have 2vms , both with 7/8 cores, do they use the same 7? :) agree, no performance issues detected yet, even on smaller cores in other builds, the cpu load was mostly very low.
@brian2590
@brian2590 Год назад
I bought a pile of 8 identical thinkcentres last year when PI's started to become scarce and overpriced. I think i paid roughly $70 each with no HD. So far so good and i have them all maxed out on memory. They make for great little servers and desktops. No issues and highly stable. I have a nice little cluster going that is a mix of thinkcenters and RPIs.
@AndreasSpiess
@AndreasSpiess Год назад
Cool. Maybe I try a cluster too. I have now enough HW ;-)
@TecSanento
@TecSanento Год назад
I used such a pc, installed ubuntu via usb stick and then used the homeassitant convinience script and its up and running:)
@AndreasSpiess
@AndreasSpiess Год назад
Cool!
@SlykeThePhoxenix
@SlykeThePhoxenix Год назад
I've been using these beasts for my K8s setup! Raspberry Pis are just not powerful enough. These little ITX M910Q Thinkcentre boxes are excellent.
@sky1nax
@sky1nax Год назад
There are all sorts of set-top boxes on the amlogic905x4 processor (arm a55 x4 + graphics ). In the 4/64 configuration you can find a new one in the range of $35. Judging by the video reviews armbian on them works quite well and it consumes about 10 watts in working mode.
@AndreasSpiess
@AndreasSpiess Год назад
I never looked into these boxes. Maybe in the future...
@xDNightmarex
@xDNightmarex Год назад
Nice to see some more exposure to the TinyMiniMicro-Machines (ServeTheHome has a long running series about them). I switched my setup from one beefy old enterprise machine over to one dedicated HA box (Acer Veriton N4620G, 2nd gen i3... runs at ~7-9W and looks cool :D) and 3 Lenovo Tiny (2x i5 + 16GB [M73]. one as a sandbox mostly turned off, one for essentials like pihole and other stuff, but inside LXC instead of docker, 3rd one has a Pentium Gold and 8GB but was the bigger variant [m720q] which supports PCIe cards. Dropped my Quadro P400 in there and it runs 7 streams FullHD at only 19W using unlocked drivers and emby/jellyfin). The cool thing with multiple of those running as a proxmox cluster: I can do maintance (installing a smart-plug for example) without downtime, just migrate the container/VM to another host, shutdown the first and reverse afterwards. Current Consumption: - PvE 1: ~12-14W - PvE 2: (sandbox) off, aka 0W else same ~12-14W - PvE 3: (media server): ~16W - HA (Acer i3): 8W One thing to note for people running Lenovo Tiny machines: Turn off "Smart Power On" and everything in there except Wake-On-LAN, else your machine won't stay off when shutting down via proxmox and instead do an instant boot afterwards. With those settings turned off I can finally get my 2nd machine to stay off and wake it up via proxmox if I want to tinker around. Oh and another thing: There's cheap (~20,-) adapters which can take 2x m.2 SSDs inside a regular 2.5" SATA enclosure. With that you can run something like a mirror-setup of fast storage inside a VM beside your normal boot/proxmox SSD already in there and safer then using a normal 2.5" drive.
@AndreasSpiess
@AndreasSpiess Год назад
Impressive installation. Would probably steel too much of my time ;-)
@xDNightmarex
@xDNightmarex Год назад
@@AndreasSpiess once I'm getting into more and more automations and things (started with HA like 6 weeks ago, before all this was more or less playground mixed with work-prep) that will probably be the case for me vs. HA... way to much time one can sink into that to make "the perfect, smart home" :) Currently playing with "Seeed Studio ESP32C3" + ESPresence + EMQX mqtt broker.. have to admit, capable & cool piece of soft/hardware yet sooooooo tiny :D lovin' it.
@cannesahs
@cannesahs Год назад
it is ServeTheHome, not Server :)
@xDNightmarex
@xDNightmarex Год назад
@@cannesahs oops, corrected :)
@McTroyd
@McTroyd Год назад
Amazing what one can get for US$100 or so these days. Those Lenovos would have bested proper servers from ~10 years ago, especially for the power consumption!
@AndreasSpiess
@AndreasSpiess Год назад
I think they are written off by the original owner and the refurbisher mainly charge for cleaning and distribution. So we get a good deal, I think.
@mortensentim511
@mortensentim511 Год назад
I'm running Home Assistant on proxmox with a Seed Odyssey (Celeron J4105) and monitoring using a power monitoring smart plug. My old server was drawing 75W when I cut it back to just Home Assistant, and this one draws roughly 3.5W. There are plenty of new tiny form factor mini PCs available with that CPU or better in the £100-200 range, and you get a real M.2 Slot and/or SATA.
@AndreasSpiess
@AndreasSpiess Год назад
Cool. I hope your power measurements is ok. I saw that those plugs were not very accurate in the low-level area (video will follow).
@macemoneta
@macemoneta Год назад
The RPi were useful when the price was $35-$55 USD. At 2-3X that price, they are no longer competitive.
@AndreasSpiess
@AndreasSpiess Год назад
I agree.
@wonttellyoumyname8769
@wonttellyoumyname8769 Год назад
I got my lenovo M92 tiny with a i3-2120T CPU running with debian a while ago but couldn't decide to make the move. Last Year, Inspired by your videos, I tried IOT-Stack but switched to plane docker-compose. I used my Setup with raspberry pis and X86 as well. It's really not that hard, to make it work on both platforms. The Lenovo is very versatile. Also, there are no cluttered cables and everything is nice and tidy. I was curious how the power consumption would be. Initially after installing Debian, It used about 18 watts in idle mode. Now comes the interesting part: i enabled various power saving methods like described in debians "SimplePowerSave" script. Later i made some experiments running powertop as a systemd unit. -----> It uses 8 Watts in idle mode now! I must admit, there are no services running by now, but it made a stunning 10W difference. You should try it out! But be aware: It powers down the usb in idle, to a point where even keyboards and mice power down if you adopt all recommendations from the links. I had to click the mouse or keyboard twice before it could be used again. This could be a problem to your conbee-stick. But i'm sure it's just some advanced configuration neccesary to make it work or you can exclude usb from power saving completely. I didn't fiddle with it any longer, since i will not move my Smart home setup to it by now. Maybe i will setup a full clone system and make a comparison. You should experiment with Debians "SimplePowerSave" Script. I tried to inderstand powertop quickly but variants of the "SimplePowerSave" Scripts will do the job, however you make them persistent. I mean: -----> It uses 8 Watts in idle mode now! --> How great is that??😀
@AndreasSpiess
@AndreasSpiess Год назад
Maybe I will have a look at power saving. However, I am not sure if it is worth the time for me as a Linux noob. BTW: I hope you had an accurate power meter for these low power levels.
@yekutielbenheshel354
@yekutielbenheshel354 Год назад
@@AndreasSpiess Linux on the desktop is pretty easy these days. I use and highly recommend Linux Mint Cinnamon 20.3 or 21. In my opinion, Ubuntu made a bad decision regarding Flatpaks. Therefore, I have given up on "buntus". Being a Linux Mint noob these days is generally no problem for engineers. There's a little tinkering to do, but, frankly Linux Mint is hardly any different from Windows for most things an ordinary engineer needs to do. Rolling releases-such as Arch and Manjaro-are a huge waste of time unless someone wants to turn Linux into a time-consuming hobby.
@paulhyland3528
@paulhyland3528 Год назад
Awsome video glad the thin clients worked out. I've just purchased the fijitsu for a pfsense router to replace a pc, I do have my proxmox on a xeon e3 1220l with ha but would like eventually re do that.
@AndreasSpiess
@AndreasSpiess Год назад
I hope it will work for you, too.
@desktorp
@desktorp Год назад
raspberry pis are gimmicks.. they were interesting for a short period of time, but people always wanted to use them as desktop computers, so the specs kept going higher and higher, to the point where they need heatsinks with fans and they're more expensive than a cheap mini itx or micro atx solution. If they could get the prices back down to sane levels and keep them in stock, they might be worth it, but until then, they're gimmicks.
@AndreasSpiess
@AndreasSpiess Год назад
More than 50% of these boards are used in the industry... This is part of the current problem.
@RK-kn1ud
@RK-kn1ud Год назад
I buy RPi for GPIO and how easy it is to write Python for GPIO...in addition to running a Linux OS I can use for other stuff. Is there an alternative?
@AndreasSpiess
@AndreasSpiess Год назад
No alternative for me. This is why I wanted to free my Raspberry used as a server.
@dreamcat4
@dreamcat4 Год назад
@@AndreasSpiess indeed for the convenience to have easy and simple access to GPIO from linux... rpi cannot be beaten. However your question about GPIOs on PC it reminds me of a guy who was working on a driver on the i2c bus. Which is something you can peek / poke to. So with a bit of soldering onto those bus lines etc... then maybe that i2c can be hijacked with some io expanders or other 'gateway' type devices added on to it. And of course SMBUS is the other one (which maybe is abit similar to i2c, but not quite?). Many laptops have drivers for things like nuvotron chips. Which then in turn operates attached leds or switches, or RGBs. Things like this could also be hijacked. However it is device dependant. So you really have to be invested in a specfic hardware and/or drivers or bios support for those specific hardware. but that's not all i found out! aparrently there is some GPIO options in the kernel .config file, so if you are compiling your own kernel it might be possible to export some of the PC x86 GPIO to become available in /sys/class/gpio/ folder tree. However this interface was now superseeded by a new kernel feature on top of that. Which is called linux pin control (aka PINCTRL). Where you can code in C some good control of GPIOs. This is something meant usually for writing hardware drivers. That you are then building upon that to make your own layer for the user. Finally marco reps recently did a video on ethercat. And this is where on linux it's possible to convert a normal gigabit NIC to become an Ethercat port. Simply by loading different driver. The reason i mention ethercat is because that then has very good capabilities for realtime timing control. That it uses the ethernet bus for sending very well coordinated packets. That of course is meant for controlling CNC machines. However it could potentially be re-used for other applications. And the great thing about ethercat is that there is a rich linux software for it (which many is open source). And it works on a lot of cheap and standard PC hardware. Perhaps also some of these x86 'thin client' etc. etc. Which maybe is not something you do without a specific reason or application in mind. But still, is cool option to be aware of (to consider) for some specific projects.
@siberx4
@siberx4 Год назад
When it comes to core assignments, it's important to note that a given VM must have exclusive access to the assigned number of cores/threads *simultaneously* at a given moment in time, and also to remember that the hypervisor sometimes needs time to do stuff as well. This means that if a particular VM is assigned all or most of the cores available on a host, that VM will basically run solo and any computation by other VMs will require pausing the VM in question and switching it out for another one. This can actually result in _lower_ performance in practice because of the switching overhead. Every time the VM makes an I/O request, the whole VM has to be paused and let the hypervisor run for a bit to service that request; very inefficient! It's difficult with small core count processors like this, but whenever possible I target half-or-less of the available cores (or logical threads if not) to make sure the hypervisor can efficiently schedule multiple VMs to actually execute in true parallel. If you have 4 cores with hyperthreading, this means you have a maximum of 8 threads to work with. You can have 8 tasks "in flight" at once, but remember that hyperthreading isn't magic and you'll still take a (smaller) performance hit if you have multiple threads doing computation on one physical core too. As such, it's sometimes better to ignore hyperthreading and just do your numbers based on actual cores, but with processors this small that's often not practical. You could assign your VMs to 4 virtual cores each so they could run beside each other, but the hypervisor will occasionally switch one out to do its own processing. Even better is to assign 2-3 cores per VM if the VMs are not especially heavyweight (probably true in this case) so that you can have multiple VMs running in true parallel while still having a core/thread or two free for the hypervisor to handle stuff like I/O and networking calls. People often assign more cores than necessary to a given VM, and the people specifying requirements for a virtual machine are guilty of perpetuating this because their thinking is "more cores for my application, which is obviously the most important, is better!". In practice, many workloads can't meaningfully take advantage of more than a couple cores simultaneously, and you only need to up the core count if you see the VM is actually hitting 100% utilization for all of its assigned virtual cores.
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for sharing your considerations. Very helpful!
@raimocom
@raimocom Год назад
While nothing said here is wrong, it has no measurable effect on the kind of workload we are looking at. These kind of setups run almost always at idle cpu loads. VM context switching is not a factor to consider here. Furthermore most containers will be LXC or Docker anyway. So just process isolation via Linux cgroups. Which is in the end the plain standard process context switching. So i´m happily just assign all physical cores to these very few VMs/containers and let the CPU microcode, Linux kernel scheduler and QEMU virtualization layer micro manage. They are much smarter than me.
@ckirkyg
@ckirkyg Год назад
I'd like to add that memory in proxmox is alot less forgiving. You should only allocate vm and lxv containers system memory 1 for 1 not as if it's shared across the processes drawing from system memory. You can over provision processors quite a bit and run many containers drawing resources from those same cores.
@truckerallikatuk
@truckerallikatuk Год назад
Yeah, I couldn't get a Pi when I wanted to get into Home Assistant, so it's running on some spare parts I had lying around. An old PC case, Pentium Anniversary and 8GB of memory. It's a decent option, as low end "junk" PCs will run as fast or faster than a Pi. I may need to fiddle with the available power saving options to get my power draw that low, but it's barely idling most of the time.
@AndyPayne42
@AndyPayne42 Год назад
Yes - I like my ARM on microcontrollers or whatever this Xtensa thing is for esp32 :) -- Currently re-doing someone's ARM design from 10 years ago who was using dual ARM7 processors. Very good design technically but the obvious answer for many situations now is x86. Especially when size/power is not as much of a concern. There are endless suppliers of ARM boards which are time and money pits. BE AWARE!
@AndreasSpiess
@AndreasSpiess Год назад
I decided to go with mainstream for things which are not important for my live. This so far saved me a lot of time I was able to spend for interesting projects. I am not the "infrastructure maintainer type"...
@AndyPayne42
@AndyPayne42 Год назад
@@AndreasSpiess Standards (even bulky x86) should not be under appreciated. But I think you understand infrastructure more than most programmers - a lot of new programmers live very far away from the hardware/software infrastructure by always being on top of high level abstractions (containers, virtualization, etc..) but if they were taught in grade school more basic Linux skills like commands and services then the world would be a better place - the alternative is letting Amazon/Google/Microsoft control it all.
@rogerschmid8612
@rogerschmid8612 Год назад
i compared price and power in 2020 as the pi's where available in masses, i needed a firewall for a client doing even small iot stuff, bit he convinced me using a PI4 well usb ethernet adapter or vlan trunk to a switch ? usb hardware is never stabil like real hardware. i installed an netgear 8 port switch at the end i could start installing .. first trouble mtu of the pi for the trunk never worked biger than 1500 (under raspian), well reduced the mtu on the untagged ports of the switch to 1496 :( then quickly arrived the whish to share an HD for datashare, (usb) then problem with the flash .. letting iot scrap frequently will end up in a short happyness, therefore an usb ssd was needed .. at the end powerconsumption if all was 18W and and the price with an case for the raspi and all parts 360.- and 3 power sockets ... and no battery backup same setup with one of the popular J1900 4 lan box including 4gb ram and 128gb SSD same size as the netgear switch was running 9W, as this is a 4 core even proxmox would work flawless. Price was 280.- (including an 12V powersupply with build in battery). the firewall with nat and 25 rules passed from wan to lan linespeed (1Gb) with CPU just idling on 5% the PI4 maxed out on 450mbit
@DezFutak
@DezFutak Год назад
The other way you could install HA on a thin client is the "Advanced" method; in my view, it's actually not that tricky to do at all, as the instructions are included on the main HA site. That has enabled me to run HA on a full debian 11 SSD drive attached via USB3 to the thin client, and also IOTSTACK runs too (& on a pretty low spec thin client)
@AndreasSpiess
@AndreasSpiess Год назад
My guess is that "more advanced" means HA OS for the developers and the best support will be on this platform. But I might be wrong.
@blowfly71
@blowfly71 Год назад
Migrated to a HP ProDesk 600 G4 SFF (i7-8700) with 48GB. Running Arch with a windows VM, HA and other docker containers. Find it idles/averages around ~15w normally but will spike nearly 4x under load. Overall very happy with the performance/power tradeoff from a m93p/pi arrangement. Can also throttle CPU performance to cap power consumption spikes 'cpupower frequency-set -g powersave' etc
@AndreasSpiess
@AndreasSpiess Год назад
Cool setup!
@hcjkruse
@hcjkruse Год назад
Did you use the extra PCIe slots for NVMe adapters? I only have experience with Prodesk and Elitedesk mini G4. I am considering a modern Prodesk sff as a replacement for an Haswell era system. Also might want to use an sff for gaming.
@blowfly71
@blowfly71 Год назад
@@hcjkruse has one NVME slot and SATA. Could use low rise PCI->NVME too though if I need extra
@legender9254
@legender9254 Год назад
Nice video! However I think a home automation server should not require a i5+8GB RAM that consumes 10W+. That just shows how inefficient the whole setup is. At the end of the day a home automation server just collects and stores sensor data and triggers some switches using pretty simple logic.
@AndreasSpiess
@AndreasSpiess Год назад
Did you include the gray energy included in my new PC compared with my second-hand setup?
@peter2327
@peter2327 Год назад
I did the same with refurbished notebooks. The display can be shut down via software, UPS is included (and in case of the big three manufacturers can be bought as spare parts for years!), plus it has decent loudspeakers and can give proper alerts, for example if something is out of normal with the cistern. It got me uptimes of two years instead of two weeks.
@erboy5546
@erboy5546 Год назад
did you measure power consumption
@peter2327
@peter2327 Год назад
@@erboy5546 varies wildly depending on what is running on it. it is a TP t440. pulling the optical drive did help, changing the RAM did help, pulling the keyboad did help onky a little, and using a minimal linux without many systemservices helps, too.
@erboy5546
@erboy5546 Год назад
@@peter2327 thanks for answering
@peter2327
@peter2327 Год назад
@@erboy5546 I forgot to mention: there were two different power supply sizes available for it: a 40W and a 90W(?, not sure, for docking stations). I am running on an aftermarket 40W one, because my original 40W PS had a high frequency hiss to it)
@phillkelley7700
@phillkelley7700 Год назад
At 13:00, I noticed that the PiBuilder scripts were throwing up errors on your install because of dependencies like raspi-config that can't be satisfied if you're not running Raspberry Pi OS. I built my own Debian AMD64 environment in Parallels on an Intel Mac and set about fixing PiBuilder issues as I noticed them. Things like not having raspi-config mostly failed safe, in the sense that no harm was done, if not in the sense that an intended change (eg WiFi country code) was not applied. More significant was the absence of rsync which is needed for some PiBuilder merge operations; those were failing. I've just pushed revisions to PiBuilder which deal with all the issues I found. I don't know if you want to start over with a clean build but it's there if you want it. I was also able to restore a backup taken on a Pi and, aside from the Node-RED devices, it just worked. Good video.
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for your work! I am just installing the new version on a virtual machine. Maybe I will do a new install later on my main machine.
@marcinkopa
@marcinkopa Год назад
This is not an "excellent replacement "for rpi, rpi is much smaller. The cheapest and equally good replacement is a cheap TV Box with Android for $10 and uploading Linux there, e.g. Ubuntu. Anyway, very good video!
@AndreasSpiess
@AndreasSpiess Год назад
An interesting idea I would like to try, too. Do you have a link to a project or information I could use? And how about storage? Maybe you can send me some hints on messenger or Twitter because RU-vid does no more accept links.
@barneybarney3982
@barneybarney3982 Год назад
16:07 for lower power consumption its good to disable cores in bios after installing everything and use just bare minimum for vms.
@AndreasSpiess
@AndreasSpiess Год назад
Maybe I will look into power saving in the future. But disabling cores seems not the first idea for me. Why not buy a slower CPU then?
@barneybarney3982
@barneybarney3982 Год назад
@@AndreasSpiesssometimes higher end chips have more efficient cores, so its better to get one with 4 and disable half of them. Sometimes its not rly possible to get any other cpu in such machine, fpr example i had good deal on hp usff pc with i5, celeron version is like 5-10% cheaper, and since im using it for Kodi only, i disabled half of the cores and it works better than with celeron but seems to draw even less power than celeron.
@barneybarney3982
@barneybarney3982 Год назад
@@AndreasSpiess btw sometimes its even possible to underclock, undervolt, limit max frequency, disable turbo or w/e to get better power efficiency since having some task running for 20% longer without turbo is still more efficient than running it for 20% shorter time but with +50-100% power draw. But it all depends on task :)
@vova3379
@vova3379 Год назад
You can build a real proxmox cluster from 2 servers, also if you add zfs file storage on both servers you can sync VMs between servers using proxmox replication, even if one server die you can spin up VM on another server. All you need in such case set quorum from 2 to 1, and move VM config to another dir on a healthy server.
@AndreasSpiess
@AndreasSpiess Год назад
I agree. But so far, I had no HW defect on all my computers for years. Most outages were caused by wrong actions of the PC owner or because of network issues. So I do not know if I will spend the energy for hot redundancy.
@vova3379
@vova3379 Год назад
​@@AndreasSpiess sure, also there is Proxmox Backup Server, so can easy backup your vm using solution from the same vendor.
@argosooru
@argosooru Год назад
But if you must boot only with one node you need to tell :"pvecm expected 1" because otherwise proxmox will complain about no quorum
@vova3379
@vova3379 Год назад
@@argosooru sure and will not boot vm automatically due to this.
@DarrenDignam
@DarrenDignam Год назад
Looks like a good candidate for learning ansible.Cheers
@HATipsByLarry
@HATipsByLarry Год назад
i use a dell thin client computer which you can get for around 150 USD It works a lot better then a pi much faster and as you said about the lenovo everything is contained inside the frame. Been using this over almost 2 years now and has worked very well indeed.
@AndreasSpiess
@AndreasSpiess Год назад
Unfortunately, the Dells are quite expensive here. But for sure a good choice.
@MilesProwerTailsFox
@MilesProwerTailsFox Год назад
I just hate how raspberry have almost no documentation on stuff that normies don’t care like how to use all of the connections, like half of the plugs are just “hdmi output” and nothing else
@AndreasSpiess
@AndreasSpiess Год назад
I always liked the good documentation and the community support for the Raspberries.
@timj3784
@timj3784 Год назад
I also replaced all but one Pi that i had running with Fujitsu Futro S740 Thinclients. Depending on RAM/SSD/Accessories I bought them for 30-40€ each. All of them including a case, some without a psu, as I am using them with a 12V 2A PoE Splitter (which works fine, as the mainboard has a wide input range, even when fujitsu specifies it for their standard 19v supply). Power usage (running proxmox, even the 4gb one) is between 4 and 10W. One is used as a central gateway for zigbee/zwave/bluetooth and mounted in the attic, the other one is responsible for homeassistant exclusively, but I am still using proxmox for easy management and snapshots. In the same go I also replaced my two Fujitsu TX1320 M3 SFF Servers with a single Lenovo M90q with a i5 10500T, which is faster then both of them together, while only using 30W with all my homelab stuff running. The only Pi left is attached to a waveshare touchscreen as a smarthome wall panel, also supplied by poe (using a waveshare poe shield with additional 12v out), as I need some IO pins there.
@AndreasSpiess
@AndreasSpiess Год назад
Nice setup! I think that current energy prices will influence many homelab owners...
@bangla70s
@bangla70s Год назад
How can one do IoT without IPMI? Would need two of them, one acting as "BMC" to the other. But mini-ITX solutions from Supermicro or Asrock are more expensive than even two Rpis.
@AndreasSpiess
@AndreasSpiess Год назад
Never heard of IPMI. But maybe not needed in my case as the server is sitting below my desk.
@DaveSomething
@DaveSomething Год назад
I ran Home Assistant Core on a RPi 2, up until the last few updates that wouldn't install correctly. I had no other use for the thing and thought I'd torture it. Up until recently, it didn't mind. And you can find an RPi4, but may as well buy a NUC for the prices they want. RIP RPI.
@AndreasSpiess
@AndreasSpiess Год назад
I refuse to pay more than the "normal" price for a Pi4. Maybe others need one more than me and are willing to pay the price...
@DaveSomething
@DaveSomething Год назад
@@AndreasSpiess indeed, I have given up on more pi, so I got one of these things from your dooblidoo.
@jga11ar
@jga11ar Год назад
Another interesting option is to use an old phone with Postmarketos Linux. I use a Motorola G3 (2015) as Home Assistant/ espHome server with docker. See this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0HemPRAq7dc.html
@AndreasSpiess
@AndreasSpiess Год назад
This is an innovative approach!
@RockFordCademce
@RockFordCademce Год назад
i also upgraded from the pi's to the thinclients. have been running a m73 with docker containers for years. it has been working flawless.
@jmr
@jmr Год назад
I've been moving to containers. Not sure what I'll do with the PIs yet but they will find purpose again!
@AndreasSpiess
@AndreasSpiess Год назад
Same here. But I cancelled the order for new ones.
@enricosaccheggiani3192
@enricosaccheggiani3192 Год назад
Thanks Andreas for this interesting video
@AndreasSpiess
@AndreasSpiess Год назад
You are welcome!
@dim3nt0
@dim3nt0 Год назад
pi's are 150$ alone, plus whatever you need extra, theres orange pi 5 presale for less then 100$ for 8gb model
@AndreasSpiess
@AndreasSpiess Год назад
I did not buy a Raspberry recently. I do not pay 150$
@dim3nt0
@dim3nt0 Год назад
@@AndreasSpiess :) i didnt sey you did but you mentioned a rpi price somewhere in video that is not realistic i think
@diegoeche
@diegoeche Год назад
Yep, did exactly this. SSD included. Good RAM. And well built!
@ScottBot2000
@ScottBot2000 Год назад
The timing of this video couldn’t have come any more perfectly. I just bought myself a fell optiplex for my HA! Just waiting on the power cord and I’ll be following along with your video a second time to get it up and running.
@AndreasSpiess
@AndreasSpiess Год назад
Cool. Waiting for a power cord is an interesting problem, BTW ;-)
@sagichdirdochnicht4653
@sagichdirdochnicht4653 Год назад
If you are looking for Pis, might check out rpi locator. It keeps track of when and where are Pi Models in Stock at legitimate vedors. I got my Pi4 in August trough there. However, you still need to get lucky, especially if you need a specific model. Tough then again, if you are looking for a server, a cheap used PC is propably the better solution anyway. As I only got the 2GB model, I'm running out of memory and my CPU also often spikes. I was allready looking for such devices those past days. If you are *very* lucky and find a Pi Zero at vendor prices, might as well grab one. They are dirt cheap if not sold at scalper prices, they consume extremely little power and are ideal for very lightweight server tasks.
@AndreasSpiess
@AndreasSpiess Год назад
I am glad my Pi box is now filled up with Pi4. I usually use the 4GB version as it is very versatile and was not too expensive before the crisis.
@livemadseason
@livemadseason Год назад
Ventoy is the best tool for boot image management for usb stick - you can have multiple iso and select the one you need on startup. BTW, you can find great deals on 1L PC on tutti also ;-) Just got my first - HP G2 6th gen i5, 8GB ram, 256SSD for 130chf But I am hoping to have it running proxmox and Ubuntu server with Docker for HA, zigbee2MQTT and mosquito, probably pihole as well. With Sonoff dongle plus running 7.1.1.0_115200.gbl
@AndreasSpiess
@AndreasSpiess Год назад
After other commenters, I use Ventoy, too. I agree with your recommendation.
@livemadseason
@livemadseason Год назад
@@AndreasSpiess Finally I went with HA OS, like you said in your new video - KISS 🙂 I am going to use second VM - debian for docker compose - traefic, PiHole, Nextcloud maybe.
@Tom-vt8sp
@Tom-vt8sp Год назад
I'm also running my HomeAssistant on a brand new HP EliteDesk 800 G3 DM with an i5-6500, 16GB ram I bought in Ricardo (stock clearance sale). I found the Raspberry Pi 4 for Influx/Grafana on the lower edge to run on. With the Elite Desk it’s perfect and power consumption goes down to is 6.5-7W which is excellent. There is an easier way to bring the HomeAssistant on the internal disk without removing it or the need for an adaptor. I use the Ventoy boot solution to stage almost any PC/server with any OS. I have a SATA disk with USB adapter, installed Ventoy on it and stored all the images I need on the disk. For HomeAssistant you just boot a live linux, download Etcher and flash the internal drive - done. If you need more sophisticated disk tools, Hiren’s BootCD is your friend. Always great to see your videos!
@AndreasSpiess
@AndreasSpiess Год назад
I tried Ventoy and it worked ok for the Debian installation image. To install HA I found it was not a big help compared with how I did it :-(
@Tom-vt8sp
@Tom-vt8sp Год назад
@@AndreasSpiess Interresting, I took me 5 min to install HA to the internal disk. I have no M.2 adapter and this was my only and easy way.
@AndreasSpiess
@AndreasSpiess Год назад
​@@Tom-vt8sp I also used a live Debian on a USB stick. So I don't know where I would have saved time. But for the Debian installation, it was faster.
Год назад
I use a Odroid-M1 with 8GB RAM. Available, about 100€ in Price (plus 50€ for m2 ssd). HA run in a docker environment. Can run with my 12V Supply and uses less than 5W of power with typical workload.
@AndreasSpiess
@AndreasSpiess Год назад
Also a good idea!
@AerialWaviator
@AerialWaviator Год назад
The viewer comments here are amazing, as this video demonstrates.
@AndreasSpiess
@AndreasSpiess Год назад
We are a bunch of interesting people, I agree ;-)
@shephusted2714
@shephusted2714 Год назад
refurb i7 is the deal you want for expandability and much more ram capacity plus much better performance - the 6/7th gen have low idle power usage - sbc/minis re lacjing and arm has no clear roadmap but they are getting much better - 2023 should see more arm chips but also lower costs for refurbs - more ram makes all the difference and nvme and faster network options
@MyAeroMove
@MyAeroMove Год назад
Most of those Lenovo PCs have Intel vPro feature included. You can access console, mount ISOs, change BIOS settings remotely. Another convenient feature!
@AndreasSpiess
@AndreasSpiess Год назад
I did not know. I have to investigate! Thanks.
@dan-nutu
@dan-nutu Год назад
Very interesting option, I was thinking what should I do with the Home Assistant install that nowadays claims the entire machine just for itself. Thanks a lot for the clear (as always!) video. One thing that is really important for me and I was hoping to see/hear about (I thought you were close at 14:35, 15:20, 15:34 and 16:20): is there any fan noise with these thin client PCs while running the lot (i.e. proxmox, Home Assistant, IOTstack, Zigbee2MQTT and NodeRed)? I could move HA to a second Pi4 since I already have it (hard to believe that I was able to buy a new one this summer at a decent price) and everything else I need for it and it is dead silent with the extruded aluminium case, however I'd rather consolidate HA and everything else IOTstack on a single machine to keep the traffic between the machines in the virtual environment rather than on the physical LAN. Also, I guess proxmox would provide more convenient backup approaches. BTW, at 12:39-12:45 unnecessary use of sudo was spotted :) You always want the most efficient solutions, why not do it in software as well?
@Fine_i_set_the_handle
@Fine_i_set_the_handle Год назад
Home assistant isn't supposed to be installed on a pi anyway, the sd cards are very prone to failure under the 24/7 load
@dan-nutu
@dan-nutu Год назад
@@Fine_i_set_the_handle I have it running on an external SSD (connected via USB 3.0) since 2020, when it was perfectly fine to install it on top of your own OS (which I did, with IOTstack) and it didn't give me any grief besides the fact that the new versions expect to manage the entire linux machine (which is not what I'd like). The idea to stick it in a proper VM (not container) was always appealing, too bad it's not something that would work on a Pi4
@AndreasSpiess
@AndreasSpiess Год назад
I did not hear the fan during all my tests because CPU load was so low. Just during boot. And it is not very loud. And I am sure I use too much sudo because usually, I have no clue what I am doing ;-)
@wickeddubz
@wickeddubz Год назад
If you will deploy more servers in future, you might need PXE server for network installation. Dnsmasq will do the job, it can work as DNS, DHCP and TFTP server, which is nice combo for PXE in small network. Running PVE cluster & linstor in production environment for a few years - harder to setup, but worth it.
@AndreasSpiess
@AndreasSpiess Год назад
My server is just a tool here and I do not have big needs. So I hope I can live with one server in the future.
@berlinberlin4246
@berlinberlin4246 Год назад
Have you maybe a working iPXE script for the unattended PVE install, with the setup of the cluster PVE connection? I haven't found a working base script to have a known working base setup. Or do you know a documentation with a working base line? Thanks in advance.
@wickeddubz
@wickeddubz Год назад
@@berlinberlin4246 i don’t have such scripts, because I don’t install PVE so often. I have 2 ansible scripts that install all required packages (preinstall + PVE itself) over Debian minimal server version. Adding new node to the cluster is made manually, works for my needs. The main thing to configure in PXE is preseed. All settings for Debian autoinstall are stored there. All other secondary settings + metrics and monitoring are deployed via Ansible playbooks.
@davidfarning8246
@davidfarning8246 Год назад
I agree. Every time a project does not specifically require GPIO, I run it under Proxmox on a mini PC. In my case a couple-year-old NUC. You can fit an amazing amount of LXC containers on a 32GB NUC. Because of the types of services I run, CPU is rarely an issue. I actually tend on run into more issues with USB contention.
@AndreasSpiess
@AndreasSpiess Год назад
Same here. CPUs run nearly idle.
@JAAPOP8
@JAAPOP8 Год назад
Considering you have my age and background I again am amazed by your weekly achievements! Even in Linux and alike. Great job! Grüzi from Holland :)
@AndreasSpiess
@AndreasSpiess Год назад
It needs some dedication. And a lot of time ;-)
@tonisee2
@tonisee2 Год назад
Thank you for great overview.. seems that this way solves many near future issues of mine in an ecosystem with weather stations, telescope control etc.
@sixposeidon
@sixposeidon Год назад
I have been using hp microserver (gen7 gen8) at home for years, with OS Unraid (VM, docker .. ), today raspberry pi prices are absurd, I bought too a very small mini pc... ( Beelink T4), you give me some ideas how better use it, thank you :)
@AndreasSpiess
@AndreasSpiess Год назад
Cool. A good choice!
@collectorguy3919
@collectorguy3919 Год назад
That fancy multimeter of yours ... Is that home made power input/output in epoxy? Is that permanent or removable?
@AndreasSpiess
@AndreasSpiess Год назад
It is 3Dprinted filled with hot glue.
@johnlh100
@johnlh100 Год назад
My tiny Lenovo additionally runs LXC-containers for LMS(Squeezebox-Server), Unify, Pihole and Edomi-Visu. Edomi ist available as a Proxmox-LXC-Container template from knx-user-forum, which is ready to use out of the box and can be installed in a minute. Everything is nicely separated and one application will not compromise the others in case anything goes wrong. All my raspies have been retired a year ago and I never want to go back ... Thanks for great videos, always inspiring!
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for sharing your experience. And I learned that Edomi exists ;-)
@JFML1974
@JFML1974 Год назад
I found a new 1200cc little car scare but it's a bit more expensive the Lamborghini Diablo but it will surely run more
@AndreasSpiess
@AndreasSpiess Год назад
:-))
@movax20h
@movax20h Год назад
I use PC Engines APU2. 4 cores, multiple gigabit interfaces, data and pcie storage, small, passive cooling, WiFi possible too. It is actually made in Switzerland, I think in Zurich. I have like 20 of them for various projects. the use like 5W which is really good. Prices did increase a bit tho last year, and max ram is 4GB. But indeed used thin client can be cheaper, if you count also storage and case. I got my APU2 boxes like 5 years ago, so it was a good deal then. Now there are better options. Pc engines are planning new APU version, but it takes time. Their strategy is long term support for industrial and telecommunications industries.
@AndreasSpiess
@AndreasSpiess Год назад
These Thin Client PCs are built in millions. A clear advantage for the manufacturing cost. Plus the old ones have been written off. Hard to complete…
@ManfredBartz
@ManfredBartz Год назад
Thanks for prompting me to look into Proxmox - I have now installed it on an Optiplex Mini and run several VMs (including HAOS) on it. I cannot imagine ever going back to RPi. While investigating further, I also decided to give TurnKeyLinux (Debian based) a go -- and I am impressed by the clean, lean and stable appliances. The most fundamental one is "TurnKey Core" (339MB) which would be a good base to install IOTstack on. Question: What is the reasoning behind running Mosquitto in a separate VM from HAOS? Keeping the door open for an alternative to HA or something else?
@AndreasSpiess
@AndreasSpiess Год назад
1. I assume IOTstack will run also on TurnKey 2. I wanted Home Assistant run on their (very closed) OS because I assume it is well supported. And I wanted to have the possibility to use non HA software on the IOTstack machine.
@joanandkuharajasekaram6738
@joanandkuharajasekaram6738 Год назад
@Mr. Spiess: In Proxmox, I overbook the CPUs. This means, I assign max. number of CPUs per VM where needed (If you run a windows variant which uses limited CPU cores, there is no benefits using more cores). But I do not overbook RAM. It is possible with the balloon-driver, but it might cause swapping to HDD/SSD so there will be performance penalty. Overbooking CPU might cause penalty, this is where you should keep an eye on the CPU usage of the system. But most of the time, CPUs are idle (this is where the concept of virtualization saves energy by consolidation). For your setup, you can use up all available CPUs for each VM and divide the memory (minus 1 GB for Proxmox) equally over the VMs. I have had better performance with "Default (kvm64)" CPU type than with any other CPU types on Linux based VMs. BR
@AndreasSpiess
@AndreasSpiess Год назад
Thank you for your info. I will have a look at your CPU recommendation. The memory is already according to your recommendation.
@cowasakiElectronics
@cowasakiElectronics Год назад
I've been using a Lenovo like that for a couple of years. It just works
@dzebrys
@dzebrys Год назад
usff are just great but envinroment and TDP wise it would be best to utilize all trashed around mobile phones which we have dozens in our houses. root, debloat to pure linux and utilize with entware. stacking with Vt not yet so popular but phisical stacking with glue - why not (same wallplug)?
@AndreasSpiess
@AndreasSpiess Год назад
I agree, Smartphones would be an excellent source for compute power. But so far, I did not find good projects.
@HelmutQ
@HelmutQ Год назад
Really liked it. I went for a Cloud solution. But I am tempted to buy a cheap server. Proxmox is almost an overkill. Docker is good enough for almost any Stack. Runs on any minimal Linux, slight preference for 8086 but really most runs on Arm.
@ristomatti
@ristomatti Год назад
Watch the IOTstack videos and you'll find out it's what he's been doing most of the time as well. :)
Далее
476 Is the Raspberry Pi5 the better Proxmox Server?
11:01
Cet OS est addictif
14:08
Просмотров 431 тыс.
Сколько стоит ПП?
00:57
Просмотров 127 тыс.
БАГ ЕЩЕ РАБОТАЕТ?
00:26
Просмотров 107 тыс.
I got this PC from a fast food restaurant. What now?
16:32
The Mini PC You SHOULD Be Looking At
11:50
Просмотров 1,3 млн