Upgrade your Raspberry Pi to a Homelab (instead of a Raspberry Pi 5)

  Переглядів 237,779

Andreas Spiess

Andreas Spiess

День тому

The Raspberry Pi 5 was recently announced. It is faster than the old one, and you can add an SSD with a special adapter. The price went up, and now it needs a beefy power supply. Is it worth ordering one for our home automation server? Maybe you watch this video before you order.
My second channel: / hb9blawireless
Links:
Thin client (second hand):
Lenovo: ebay.us/GHrTWf or amzn.to/46896kj
Mini PC: s.click.aliexpress.com/e/_Ddy... or amzn.to/3PyA39H
My Demo VM: drive.google.com/file/d/1cxCF...
Migration of IOTstack: github.com/Paraphraser/IOTsta...
Tinkerdad video: • How To Install Home As...
Root:
User/PW: pi/raspberry (raspberz if you do not use a German keyboard)
IP: xx:xx:xx:xx
Mosquitto:
username/PW: no authorization needed
IP: xx.xx.xx.xx:1883
Node-Red:
Username/PW: no password
IP:xx.xx.xx.xx:1880
InfluxDB
username/PW:
Grafana:
username/PW: admin/raspberry (raspberz if you do not use a German keyboard)
Portainer:
username/pw: admin/raspberry123 (raspberz123 if you do not use a German keyboard)
IP: xx.xx.xx.xx:9000
Patreon supporter companies:
passiv-energie.gmbh/
www.welectron.com/
yosmart.com/
UKpostsr Patreon: / @makersmashup
The links above usually are affiliate links that support the channel (at no additional cost to you).
Supporting Material and Blog Page: www.sensorsiot.org
GitHub: www.github.com/sensorsiot
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/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: For AliExpress: bit.ly/3MtXUY8 (just go on from here to your product)
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
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

КОМЕНТАРІ: 671
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I forgot to mention that you must pay attention to the keyboard (I use a Swiss-German one where the Y and Z are reversed). You should find the how-to on the internet
@Howie55Aus
@Howie55Aus 6 місяців тому
Hi @AndreasSpiess, I have now succesfully loaded your Proxmox image and can open everything except for Portainer which won't accept the admin/raspberry123 user/password combination. Are there any tips that you can offer please? I have noted the swap of the y & z but without any joy.
@patricknash9575
@patricknash9575 6 місяців тому
all obvious permutations, of the en_US keymap [a,b,...,x,y,z,...,0,1,2,3,...], of 'y123' in raspberry123 (e.g., perm y->z gives y123->z123, and yields PW=raspberrz123, User=admin ) also seem to fail; however, on my en_US keyboard, PW=raspberrz User=pi, allows me to login to VM (cf. ROOT User/PW: pi/raspberry)
@Howie55Aus
@Howie55Aus 6 місяців тому
@@patricknash9575 I couldn't log into the Portainer console but eventually backed up /home/pi/IOTstack/volumes/portainer-ce/data/portainer.db and then deleted the file and then retried logging into Portainer and at that point I was asked for a new admin password so now able to access Portainer completely.
@patricknash9575
@patricknash9575 6 місяців тому
@@Howie55Aus Thank you. I deleted this db, but still get "Log in to your account" when I access Portainer. I must have screwed something else up; I will probably just start over from scratch, and immediately delete the db after restoring AndreasSpiess' VM.
@Howie55Aus
@Howie55Aus 6 місяців тому
@@patricknash9575 although it looks like a log in at this point I had to input the password twice. I just created the password as raspberry123 which then worked. Fingers crossed it works for you eventually.
@TenFeetDown
@TenFeetDown 7 місяців тому
Your videos are so information dense, you do a great service to the community.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Glad you think so! Thanks
@davidharms3562
@davidharms3562 7 місяців тому
Thanks Andreas, you’re an excellent mentor to us Makers. Your videos are always a great resource. 😊
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for your kind words!
@joachimswigon271
@joachimswigon271 7 місяців тому
I'm happy to hear something new from you again. I've taken a similar route (used mini PC and proxmox) and I'm enjoying it. I would also like to add that I use bookstack for my documentation and I also installed pihole on it. I have an NVEm with 2 TB and an additional 2 TB SSD for data backup.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
So your installation is much bigger than mine. My documentation is only small. Thanks to the internet, I did not have to buy new disks for a long time...
@NoProblem76
@NoProblem76 7 місяців тому
Nice video as always! I run the same setup on a Lenovo machine. I run my docker containers in a Linux Container, so they will have bare metal performance.
@schrodingersmechanic7622
@schrodingersmechanic7622 7 місяців тому
​@NoProblem76 so you're running a Linux vm in proxmox and docker containers on that vm? Pretty cool. I'm building a 1u firewall for my rack and I'm thinking proxmox with pfsense and then migrating my various hardware installs to that. Currently it's all running on an i7 thin client. Want to wipe that and proxmox it to experiment with the high availability function of proxmox.
@NoProblem76
@NoProblem76 6 місяців тому
@@schrodingersmechanic7622 not a Linux VM, it's a Linux Container, its more efficient than a VM, you will have close to bare metal performance as if you're directly running docker in proxmox, yet the container still provide you with a layer of separation
@DumahBrazorf
@DumahBrazorf 7 місяців тому
About the 27w of the pi5. Explaining Computers tested the consumption under load and it seems to be 6-7W, 1-2W more than the pi4, so the beefy psu is realisticly needed for external disks and usb devices.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I know. Still it is quickly approaching the 10 watts or less of a modern Intel mini PC. Personally, I always wonder why people care about a watt or two difference and use their car for a short trip to the next shop ;-) But I am just an engineer...
@EsotericArctos
@EsotericArctos 6 місяців тому
The Raspberry Pi 5 is almost getting to the point, with power consumption, where a lower power Intel based SFF PC is beginning to look more economical from a power usage perspective, and as you said, much more powerful / useful for a home lab.
@_MicZ_
@_MicZ_ 6 місяців тому
The RPi 5 uses the same idle power as a RPi 4. Of course it uses more power during usage than a RPi 4 because it's a lot faster. But if you don't need anything faster than a RPi 3 or 4, they are still available to buy. If you need something faster than a RPi 5 then I agree that a low power PC will probably be the better choice.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I also think that the difference between a Raspberry Pi and a small X86 board becomes smaller (price, power consumption, and speed). We will see how good the Pis can compete with the Intel ecosystem. This is another market...
@2kBofFun
@2kBofFun 6 місяців тому
It is worse than Intel right now. Look up N100. Total different league. It might look expensive, but everything is included, decent RAM and SSD. Those machines have lower idle and lower peak power use, but are 4-5 times as fast, and 10 times as fast when it comes to the GPU.
@avejst
@avejst 7 місяців тому
Impressive build. Thanks for sharing your experience with All of us 👍😀
@AndreasSpiess
@AndreasSpiess 7 місяців тому
You are welcome!
@jonathanmartins7744
@jonathanmartins7744 7 місяців тому
impressive and inspiring!
@bonamin
@bonamin 7 місяців тому
For my Homelab, I started with an AMD E350 old computer that I had laying around. Now a couple of years later, after diving into this magic world, I run a server with Dual Xeon 2690v2, 128GB RAM, 40TB drives, a couple of NVMe 980Pros, and a couple of GPUs. Never looked back. I'm running everything on UNRAID.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
So you definitively can show your installation to your friends ;-)
@magnificat_orig
@magnificat_orig 7 місяців тому
I had a pretty similar journey. First I had a Synology 4 bay nas, which i loved, and became the main media hub of my home with Plex. Then I started fiddling with home automation, for this I re-purposed an old Zotac machine with E-350 I bought a long time ago to my parents. For a time it was great, but I wanted more. I built a decent computer for it (AMD 5700g, 16 gigs of ram, Define 7 case with 12+ drive bay, 4x4TB hdd, unraid), for virtualization, data backup, home automation and media center. But when the electric bills started to rise (the server used 60/70W idle), I changed tactics. I kept the NAS for plex only (4x4 TB is sufficient for now, especially since I have streaming services too), I purchased a fanless zotac CI331 with N5100 for home assistant and always on stuff (this uses only 10-15W), and the large server went to S3 sleep for the 95% of the time, so in just 3-5 second, it can be ready, but usually it sleeps. And this is used only for data backup, virtualization, if I need.
@libertine5606
@libertine5606 7 місяців тому
@@magnificat_orig I went full server rack in the shed. I bought a Rosewill 4u long on rails. I am running a AMD Ryzen™ 9 7900 12-Core, 24-Thread Unlocked Desktop Processor with a full ATX MB. With the Synology 8 bay it pulls 110 watt. With California electric prices that's around a dollar a day. I think for all the "entertainment" value that's not too bad since I don't pay for any streaming services. I love the Rosewill on rails because I can pull it out and change the motherboard and CPU without a bunch of hassle. I may change to a mini motherboard and a less powerful CPU and see if there is much difference in power use. I love having Home Assistant and getting real time power draw of both the NAS and the server.
@DmitriyKhazansky
@DmitriyKhazansky 7 місяців тому
Spot on with your main point! The last new Pi I used for this purpose was my first HA install on a Pi 2B. I've been using various alternatives from old laptops, SFF, Synology, and cheap server hardware. It makes very little sense to go with a Pi for a new build if you spend 10 minutes researching your options, but many just don't spend the time. It would be nice to see a better description of your remote radio station including what hadware/software/connectivity you have there that's connecting back to your main system.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I have a second channel for those topics…
@trevorberridge6079
@trevorberridge6079 6 місяців тому
RPI5 power consumption is barely more than RPI4. Also I use a rechargeable lithium battery and a converter so that I can store cheap electricity in the battery overnight and use that power to run my RPI4 for up to five days without having to use expensive day rate electricity. That takes the sting out of any power consumption concerns.
@andreasnocker9877
@andreasnocker9877 7 місяців тому
Hi Andreas, i confirm! The transition from rPi to used pc and server hardware was enlightening
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you for the confirmation!
@jtreg
@jtreg 7 місяців тому
Awesome video Andreas, one of your best... but I need lots of time now to digest it! Fantastic help thank you, Professor!
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Glad you liked the video. I made it also as a reference to come back when you do the installation
@silverian
@silverian 7 місяців тому
Thanks for sharing knowledge! Interesting combination of virtual machines, automation, databases and user interfaces.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Glad you enjoyed it!
@silvad702
@silvad702 7 місяців тому
Get a UPS!! I stopped using RPi's for serious projects at the Pi2 due to the unreliability of the sdcards with the PiHole project. I acquired a retiring HP MicroServer (190w) and never looked back. I did purchase a Pi3 for Octoprint, and a Pi4 for RTL stuff, but everything else is a vm now. No need for the 5
@Flamechr
@Flamechr 7 місяців тому
You can use ssd instead of sd cards
@diademzero
@diademzero 7 місяців тому
@@Flamechr did you read.. "at the Pi2 due to the unreliability of the sdcards" he moved away from Pi's because at the time they only used SD cards, there is zero sense moving backwards now because you can hook up an SSD to a Pi4.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Similar here: A Pi3 for Octoprint and a Pi4 for a SDR receiver on the roof...
@freepoet6737
@freepoet6737 7 місяців тому
Interesting, but I think I'll stick with my existing RPi4 server, It's low power, works, and just needs minimal maintenance now and then.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Never change a winning team!
@averestless
@averestless 6 місяців тому
There are many fanless x86 systems based on Intel N5105, N6005 or the newer N100. you get a tdp of 10W (6W for N100), M.2 NVMe, serial console, multiple 2.5 NICs, etc, in a tiny package at around 200 to 250 dollars and you get a future proof, flexible and multi purpose home server that will cover you for years... The argument for using an RPI as a home server becomes difficult to justify... but that is just my opinion :)
@WeirdOneOz
@WeirdOneOz 7 місяців тому
Thanks for sharing. I made the move sometime ago as the costs started to blow out.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
And I hope, you did not regret it ;-)
@isilverboy
@isilverboy 7 місяців тому
This video comes with a perfect timing because 3 days ago finally arrived my Odroid H3+! 🤩
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Have fun!
@NiHaoMike64
@NiHaoMike64 7 місяців тому
One of my home servers is an Elitedesk 800 G2, got it for free as "broken", turns out it had a corrupt BIOS and reflashing it fixed all the weird problems it was having. Against a Raspberry Pi 3+, the most notable difference was that it performs a lot better as a Tor gateway. I recall the idle power draw was about 15W and full load about 50W. I calculated it out and it turns out to be cheaper to offset the power use with solar panels instead of paying a lot more for newer hardware that's more efficient, even if it's running near full load most of the time.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Yea, "broken" sometimes is relative ;-) I think you were happy and got a good deal!
@GarryMobi
@GarryMobi 7 місяців тому
Picked up an HP EliteDesk 800 w 16G RAM and 256G SSD for slightly over 100€ - relatively low power usage (more than a RPi of course, but still). Running natively though, got a "big" VM server running in our DC, so it's just for local use. Upgraded from a RPi4 w/ 128G USB SSD, which ran perfectly for 2+ years ...
@user-qy2wf2lt6v
@user-qy2wf2lt6v 7 місяців тому
Did the same.HP EliteDesk G2 Tower with an i7-6700 - my first desktop ever. Added some more ram and now it's at 64 gigs. All in under 250 euros.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you for sharing your configurations! It is always interesting also for other viewers...
@fyremoon
@fyremoon 6 місяців тому
Something you might want to look at is the FT232H USB board with your Homelab. It is a breakout board with GPIO, I2C, SPI and UART as if it were a physical Raspberry Pi.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
A good idea if you want to have GPIOs on your Homelab. As said in the video, my GPIOs are not needed where my server stands. This is why I use microcontrollers for sensors (and GPOIs) connected via Wi-Fi or Ethernet.
@ziomalZparafii
@ziomalZparafii 6 місяців тому
FT232H USB seems nice but in my country it costs around 1/3 of RPi itself which is quite high. However, it's again 1/3 of my local price when checking China famous shop so that's a good price point. Thanks for your comment, saving that board for later :)
@billbeers6404
@billbeers6404 6 місяців тому
Thanks for this video. I have a few RPi servers/monitors running, some for a long time - PiHoles, ISP availability/speed monitor, etc. . Will be replacing them with VMs on two Proxmox servers. During the Pi4 drought, I had already switched to LePotato SBCs. Now switching to Proxmox seems like the better plan compared to RPi5.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for sharing your thoughts!
@klassichd10
@klassichd10 7 місяців тому
Thank you very much. Several years ago, I reduced my Pi fleet to kind of "static" applications. My home automation system runs for some years now on refurbished quality Laptops. Maybe a little bit more expensive, but a different world and way less maintenance effort. The power consumption is not that much higher than a pi and the solar delivers - at least in summer. A one way route.
@user-qy2wf2lt6v
@user-qy2wf2lt6v 7 місяців тому
If I really can get awya with "static" I would either uae an old laptop or an office desktop. Habing to pay 8-10 bucks in electircity per year doesn't bother me that much.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I am not (yet) static ;-) If you have a look at the list of my VMs, you see that I recently added AREDN VMs (for HAM radio). And experimented a lot with VLANs recently. I agree that the laptop is a good combination of a mini PC, terminal, and UPS.
@klassichd10
@klassichd10 7 місяців тому
@@AndreasSpiess My home automation system (ioBroker) is also not static. It grows. But the Pi applications such as NUT server, Victron OS, Homematic are kind of static. Running and serving, but not really growing.
@whkee
@whkee 7 місяців тому
Already preordered Pi5/8G 💪😎
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Hopefully, you will get it soon!
@Jeppedy
@Jeppedy 6 місяців тому
I have a different point of view. I look at my home assistant as a production machine. It only runs home assistant and the related add-ons. It stays in my wiring closet and focuses on its one task. I have a home lab PC that I use for a great many things with docker, but I prefer to keep my home assistant clean and separate and plugging away without concern.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Also a good setup!
@daskasspatzle2396
@daskasspatzle2396 6 місяців тому
For the "cheat sheet" i use my password manager. All necessary stuff in there, except for IP and MAC Addresses, which i store in a spread sheet. And the speed is the fun part. My low end thin clients even need less power than a PI-4. But the reason not to stay with the PIs for me is mainly the defect rate of the PI-3s and PI-4s. I am looking forward to a not so thin client with an i-7 and trying proxmox as well in the future...
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I agree with the quality issues. Currently, I have 2 Pi4 boards with defective PMIC chips. Not easy to change because of the double sided and crowded PCB.
@OmarMekkawy
@OmarMekkawy 7 місяців тому
I really like your videos, Andreas, and they come at the right time for me :D. Fortunately, I got another new SFF PC "SER5 Rizen7 5800H + 32GB RAM" This is a beast PC, it's time to try all your VMs. I have migrated all my VMs from my old HP G3 SFF PC and they work fine. BTW, @13:16 I noticed that you can add notes for each VM. Just go to your VM and open the summary page, then you will find the notes, you can add all the notes you want including the login credentials and the IPs :D.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Good idea with the credentials in the comments
@PawelSroka
@PawelSroka 7 місяців тому
I swapped from RaspberryPi to used ThinkCentre M700 couple years back and never looked back. I have couple of them running 24/7 with no issues for around 2 years now. I am measuring around 11W power usage for each. I swapped from RPi when my InfluxDB completely shredded my SD card.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you for sharing your experience!
@williamguru
@williamguru 7 місяців тому
I always looked at the Pi and other SBC's for makers or hobbyists who like to experiment using the gpio pins.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Me too. But in the recent years, a new hobby evolved that includes one level higher with servers and networks. A perfect combination with the lower level GPIO stuff...
@Dorff_Meister
@Dorff_Meister 7 місяців тому
Yeah, during the shortage I replaced pretty much all of my Pi's with two NUC-like boxes that run Proxmox. I use some VMs but a lot of what I run is in docker containers (always with docker-compose).
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Also a good solution (as IOTstack shows)...
@VorpalForceField
@VorpalForceField 7 місяців тому
Nicely Done ... Thank You for sharing .. Cheers :)
@AndreasSpiess
@AndreasSpiess 7 місяців тому
You are welcome!
@fareedalsahafalvarez4946
@fareedalsahafalvarez4946 7 місяців тому
Great video and great channel!
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you very much!
@trickyrat483
@trickyrat483 3 місяці тому
Excellent. Just what I was looking for. Many thanks.
@AndreasSpiess
@AndreasSpiess 3 місяці тому
Glad it helped!
@unionse7en
@unionse7en 7 місяців тому
very cool , i like these ideas thx for the overview!
@AndreasSpiess
@AndreasSpiess 6 місяців тому
You are welcome!
@Adrian_Galilea
@Adrian_Galilea 6 місяців тому
The main selling point of the pi is it's versatility. I use my pi as my portable retro-gaming powerhouse, before that was making cool time-lapses with some automatic video-processing and before that was running octopi. You bring a fair point, some users might need something different, but having a simple, reliable and "cheap" machine that I can carry around, abuse, and eventually replace with the same familiarity and support I came to expect from them is something very valuable to me and many. The last thing I want to do with my very little free time is think about virtualisation, I had enough during my IT days 😅 I want simple and physical.
@D4no00
@D4no00 6 місяців тому
nobody said you should run multiple VMs, you could always run a setup like on RPI. The initial idea with rpi zero was good, a very small device capable of running linux, but it seems they slowly lose their direction by making devices that tend to compete with full-fledged desktops, while offering lower specs and versatility, higher prices and a business model where you cannot use the devices for anything useful if you don't buy them in big bulks.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I agree that the Pi is a versatile board (I use it in several projects). This video is focused on using it as a Home Automation Server (one of the clear focus areas of the faster Pi5)
@2kBofFun
@2kBofFun 6 місяців тому
The Pi 5 is the worst machine for retro-gaming. Only the Pi 2 was worth it when it came out, for a short time of maybe 3 years. The Pi 5 is seriously bad value for money, slow compared to the peers and way too hot with its old fab process. Intel is owning this retro gaming area in 2023 with their N100 line. If the N100 is too expensive, go for yesteryears thin clients for example by Fujitsu. Those 4 core i3 models are on 14nm with proper GPU, power supply built in, 2x as fast as a Pi5, same power use on average and only 60€. With 8GB and 256GB SSD! I seriously can't think of any reason to get a new Pi right now. Go ahead, and make good use of the ones you have lying around, but the new ones are very bad value/specs in the 2023 arena. Maybe for some the compute module/zero is useful for say robotics, but good luck finding those.
@Adrian_Galilea
@Adrian_Galilea 6 місяців тому
@@2kBofFun if the pi4 is good enough for me I’m sure the pi5 will be better when supported. I use batocera with 8bitdo arcade sticks.
@2kBofFun
@2kBofFun 6 місяців тому
@@Adrian_Galilea We did not even talk software. RetroPie is a rabit hole.....
@nielsstergaard4262
@nielsstergaard4262 7 місяців тому
Was considering switching from Rpi4 to a PC based system, but the Rpi5 got me confused. This video cleared it all up, and I am now sure the PC route is the right path. Seems a lot has happened with the influx and I need to put some consideration into the naming of devices and measurements. Maybe you have done a video on that topic with mqtt and Influx 2 as the context, and I have missed out, if not then I would like to suggest such a video. Questions like: should you focus on devices or locations. How to handle multiple devices with different sensors in the same location? What if a device is changed in a location but most or all measurements are the same etc..
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I am no Influx specialist. I use a bucket per "domain" (Huawei, Weather, etc). The rest does not seem too problematic as you can adjust your queries to how you recorded the data. Maybe there are performance considerations. But for IOT, I only have very small data volumes (comparted to other applications).
@trevorberridge6079
@trevorberridge6079 6 місяців тому
Don't be fooled by someone with a vested interest trying to put you off of someone else's product. Look at what the RPI5 is capable of already in it's Beta format. Mindblowing. You can barely get that kind of performance out of anything else at the same price. It's nearest SBC rivals are up to twice the price and very few platforms get the same level of support. And just like my old favourite the Commodore Amiga the RPI can run software from Mac and Windows so (depending on which software you favour) you don't even need to miss out on PC based programs. Even on my RPI4 I can run Steam games and software, so you don't miss out on that either.
@mharding1258
@mharding1258 6 місяців тому
You're using a very similar setup to me on your homelab. I'm using an old i5-6600K and 32GB RAM. I do have the advantage though of also running a RPi3 and RPi4 from my solar shed electronics workshop that run all my DNS filtering for free. Its all great fun and I'd encourage anyone with a love of electronics and computing to get a solar shed set up!
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I agree about solar. We have a bit a bigger setup for the whole house...
@sakelaine2953
@sakelaine2953 7 місяців тому
Great video, thank you.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Glad you liked it!
@fluffyblue4006
@fluffyblue4006 7 місяців тому
For years, I was running my VM host on the skeleton of an old laptop, without screen, keyboard, harddisk, wifi-card. It booted from a USB stick and storage was on my NAS, via NFS. Now, I'm running the VMs on my new NAS. The only Raspberries I continuously use are: a USB-over-IP + 2nd pihole server, and one for utility metering and a few wired sensors and switches in that area. The 3rd Raspberry runs OctoPrint and is only powered when my 3D printer is on. Broken laptops are also an excellent VM-host-hardware source. Usually the USBC-ports break. Or the screen. A VM host doesn't need a screen. We just connect a VGA or HDMI screen during setup. And without USBC, we can power the board by soldering wires to its main power rail and ground.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I agree, laptops are a good choice, too. Particularly, if the battery can be used as a "UPS"
@MrCWoodhouse
@MrCWoodhouse 7 місяців тому
Problem with old laptops is inability to upgrade ram, especially old macbooks. I guess the memory address bus is not wide enough.
@marklewus5468
@marklewus5468 3 місяці тому
Great video as usual! Just wanted to note that someone on github made a UEFI boot loader for the Pi5. It’s still work in progress, but it’s getting there. It allows you to run Proxmox. The Pi5 CPU performance (Passmark ~8,000) is between an intel n100 & i3-n305, though you are limited to 8 GB of ram and a single PCIe3 lane for the SSD (~900MB/s read).
@AndreasSpiess
@AndreasSpiess 3 місяці тому
I saw it too. Interesting. But 8GB is extremely limiting. Even the 16GB I have are not too much…
@originalmianos
@originalmianos 7 місяців тому
I have an N100 with two network ports. 8W power consumption. This can run all the above. I run lxd and only containers for mqtt, nodered, technitium (which can use the flakey php pihole blocklists), influx and caddy for full https. All with the same power consumption as one raspi. 8G box cost me 260 AUD with 512G SSD. 4 cores. Blows a raspi away, but this is replacing 10 of them.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
That is close to an ideal setup! It seems the N100 is a very good choice for this purpose!
@casperghst42
@casperghst42 3 місяці тому
Which board did you get, I'm a bit hesitant in getting a board from Ali express, as they are "work mostly but not always" ? I know they do not exist, but it would be nice to get one with either vPro Enterprise or IPMI.
@originalmianos
@originalmianos 3 місяці тому
@@casperghst42 The N100 definitely does not have SMX. It does have VMX. It's not an enterprise CPU. I use non KVM LXD containers so I don't even use VMX. This is a replacement for a rack of raspberryPis only. I got the 8G TEKXDD (that's since been repurposed as an ocotoprint/klipper server) and then a 16G T9 Mini. The TEKDD does not have power on to S1, so it won't automatically start on a power up after a power failure. The T9 will. It's also 1/3 the size as well as having an nvme disk slot.
@casperghst42
@casperghst42 3 місяці тому
@@originalmianos I know that the N100 isn't an enterprise CPU, but as some of the i5's have vPro Enterprise (got an older NUC i5 with iKVM), then it would have been nice if they would have made a line of the N100, N200 and N305 with vPro Enterprise just to make people like me happy (I can always dream). Thanks.
@originalmianos
@originalmianos 3 місяці тому
​@@casperghst42I'd get a minisforum for a proper home vSphere server. They have i9 and high end Rizen CPUs in a similar form factor. They cost a lot more though.
@Jindraxx20
@Jindraxx20 7 місяців тому
Good morning and wishing you a pleasant fall season! Thank you for your video once again !
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you! The weather is excellent for the moment :-)
@czarekcz1097
@czarekcz1097 6 місяців тому
Thanks! That's what I did, bought small refurb i7 PC, 32GB ddr4 and I am using it as zfs based home server with intention to do exactly the way you did it with home assistant. So you simplified my next steps. Thank you. But in my home automation I stiil missing cameras to observe/record events at house surroundings. Do you have any intention to add video surveillance to the system?
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for your support! For the moment, cameras have no priority for me. But it should be possible to integrate them into HA (I saw a few examples on UKposts)
@ronaldhofman1726
@ronaldhofman1726 7 місяців тому
I will definitely buy one, it's a fast mini pc., i have 2 Gigabyte brix core i7 at home and could use one of them to do this , is now use ESXI but the machine takes 60 watts and i switch it off when not needed
@AndreasSpiess
@AndreasSpiess 7 місяців тому
This is why I separated all 24/7 tasks from my "video" machine. It consumes around 400 watts including all periphery and is switched off when not used, too.
@ganeryhyperion8386
@ganeryhyperion8386 7 місяців тому
it is nice if there is another 1 more mini pc and set up in proxmox as cluster mode and configure any important VM or CT into High Availability that replicate to the other node, in case one mini pc goes down, those vm and ct that you set up in high availability mode will auto migrate to the other node.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I still struggle with a cluster setup because I did not have hardware issues for years. But I had lots of issues when complexity got "over my head". So, in my case, a cluster most probable would create more outages ;-)
@eveningecho5334
@eveningecho5334 7 місяців тому
Interesting approach. Have you considered using the pc’s lpt/parallel printer port for sensor input, many of the boards have the headers on the motherboard even if the pc doesn’t a physical port and there are Linux libraries for using them as signal inputs. Should be able to link specific pairs to specific VM’s in the same way you linked the usb port. Excellent video, as you can see above I’ve been pondering such a use, have 100 or so ex rental small factor pc’s which I need to put to use!!
@marcogenovesi8570
@marcogenovesi8570 7 місяців тому
LPT/parallel ports (and even headers) are not terribly common these days. There are USB-GPIO adapters from Adafruit and others, if you really need direct attached GPIO to a PC. But imho Andreas's architecture is to have sensors run by microcontrollers with tasmota or whatever firmware, then send the data over a network to the home lab where there is the "brain" of the operation in a virtual machine.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
As said in the video, I have no need for sensors connected to my Homelab. Using the LPT port as GPIOs should be possible. But I did not see one in a long time...
@chaos.corner
@chaos.corner 7 місяців тому
@@marcogenovesi8570 I still see serial headers commonly but LPT is effectively gone.
@marcogenovesi8570
@marcogenovesi8570 7 місяців тому
@@chaos.corner Yeah, that's because RS-232 serial ports are still very much alive for industry and automation, and motherboard developers need a serial console for debugging anyway so they might as well have that. LPT is just dead, nothing using it has been produced in 20 years, it's only legacy hardware.
@chaos.corner
@chaos.corner 7 місяців тому
@@marcogenovesi8570 That was what I figured. Came in handy when I was installing Windows without usb3.0 drivers on a motherboard with no PS2 port. Had a serial mouse hanging around and that let me bring up a virtual keyboard which allowed me to get to the driver installation.
@louchitchat
@louchitchat 7 місяців тому
I agree 100%
@AndreasSpiess
@AndreasSpiess 7 місяців тому
:-)
@nikheel5643
@nikheel5643 7 місяців тому
I had just finished watching your video using RemoteXY and I have to say that all of your videos are super helpful and informative. Your remotexy video helped a lot with my project. Since I am new to using arduino's and esp32's this was really helpful with unlocking the Bluetooth potential with my esp32. I tried using the remotexy app and it worked really easily with controlling led lights but I also included a circular bar and I can't figure out how to make it so that the bar updates its value based on RSSI readings from the phone to create a bar that can show me how far away my esp32 is. Could you help me with this? Also is it possible to make an led blink on and off a couple times when a push button is pressed because as of now, it just turns on and then off. Thanks so much.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Unfortunately, I aslo do not know how this is done :-(
@WoLpH
@WoLpH 7 місяців тому
I fully agree with you! I initially tried running Home Assistant on a Pi 3 (the fastest available back in those days) and it was horribly slow. The only thing I'm wondering about is the power consumption, I've got no clue how they compare to raspberry pis in practice since power usage is highly variable depending on CPU load. An old laptop is a perfect solution for a low power server though, they use very little power, are generally quiet and take up very little space.
@MattHudsonAtx
@MattHudsonAtx 7 місяців тому
HomeAssistant is pretty awful even before docker eats all the resources on a pi3
@matt.604
@matt.604 6 місяців тому
I run HA in a Pi 2B and it's fine for controlling lights and switches and things like that. The UI is pretty snappy and my devices work without lag. Sure, it takes a while for EspHome to compile device firmwares but I can do that on my computer if I really need it to be fast, which I don't. So I'm assuming a Pi 3 would be even better as a HA server.
@WoLpH
@WoLpH 6 місяців тому
@@matt.604 I think it depends on what you're running on it. My zwave network was noticably slow with the Pi (i.e. taking multiple seconds to respond to a motion sensor). But I'm the first to admit that my home automation network is far too complex for a Pi to handle so I'm not the best example perhaps. I just did a quick count and I've got 26 integrations, 80 automations, 67 lights, 97 switches, 306 binary sensors, 5928 sensors... I might need to prune a bit
@christopheroneill8020
@christopheroneill8020 6 місяців тому
I've been running HA on a PI3 for years, not noticed any speed issues with my setup. I agree that using an old laptop makes sense for something more complex.
@trevorberridge6079
@trevorberridge6079 6 місяців тому
Why are people on here comparing performance with old Raspberry Pis? Each generation is significantly faster than the next. The RPI 4 is way more capable than the RPI3 and the RPI5 is way faster again. The power consumption hardly rises in normal use and the cost stays about the same too. I've owned RPI 2, 3, and 4 and the improvements are very notable. It is my main computer and does everything I want and need to do unless I have to run very OS specific software on a Windows machine. Most of the tasks that the RPIs were made famous for work very well on every model I've owned. You can upgrade if you absolutely need the extra power and/or memory or if you simply want to stick with RPI when you decide to branch out into new areas of computing. There is almost nothing beyond the capabilities of an RPI. I even run KdenLive, GIMP and Blender on my RPI 4. And programs like that will only be even more capable on RPI5.
@Austin9Lee
@Austin9Lee 7 місяців тому
Also running an ever evolving homelab using Proxmox, HomeAssistantOS, various VMs, and docker on a small form factor PCs and Pis. Welcome to the ecosystem and can't wait to see what you find!
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I thought, that "Homelab" is a new part of our hobby. So I wanted to make an introduction to may viewers...
@PhG1961
@PhG1961 7 місяців тому
Excellent! Great, usefull and awesome. All at the same time!
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for your continued support of the channel!
@PhG1961
@PhG1961 6 місяців тому
Of course! It's entertaining and quite often a recap of things that I (almost) forgot. Even the older videos are still inspiring and great for reviewing! Keep it coming.... ;-)@@AndreasSpiess
@AkosLukacs42
@AkosLukacs42 7 місяців тому
13:26 for passwords, even if it's home lab, and not accessible from outside, I would recommend using a password manager. Storing any password in plain text seems wrong to me.
@harvaldi
@harvaldi 7 місяців тому
Yeah, and don't use Lastpass, but own hosted truecrypt server ;)
@zvpunry1971
@zvpunry1971 7 місяців тому
Also the use of throwaway passwords like admin or 123456 is also a bad habit (and I'm also guilty of having used them in the past). The intention is always the same, to change them before a system goes live. But the reality is, they get forgotten. Just use good passwords from start and of course a different one for each system. It's no problem with a password manager (even a piece of paper in your pocket is better then a file on a computer or something well known as 123456).
@marcogenovesi8570
@marcogenovesi8570 7 місяців тому
@@harvaldi Truecrypt was discontinued in 2014
@harvaldi
@harvaldi 7 місяців тому
@@marcogenovesi8570 Sorry, I meant Keepass or it's clones.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I made a risk analysis and felt, that the home automation data are not security relevant for me. So I do not protect them the same way as the login to my bank account ;-) But maybe I am wrong...
@libertine5606
@libertine5606 7 місяців тому
I upgraded to a full home server running Proxmox. The compile times of Esphome was too long for even my HP Elitedesk mini. It would take 10 min. to compile now it's 30 seconds. I run Home Assistant, my webpage, and Jellyfin. Although I haven't been able to port metadata to Jellyfin. It's burning 110 watts for the server and Synology 8 bay but I can run all the VMs I want. I need a lot more information about Proxmox. I have the manual but pass through, storage, mounting drives can get confusing.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I agree that Proxmox has a lot of capabilities. I only scratch at the surface for my purpose. Recently, I had to add two additional network adapters with different nets and VLANS. Fortunately, I had help. And now I know a bit more... A lot is try and error.
@libertine5606
@libertine5606 7 місяців тому
@@AndreasSpiess Me too. It's a rabbit hole but Home Assistant has been rock solid and Jellyfin is working well although It's not getting the metadata. I ping the Debian server and it connects but I am not getting it to Jellyfin. I haven't even started in creating VLANS to separate the IOT, mostly the Alexa internet based stuff, from the other parts of the LAN. It looks like we have both got suck more into the networking stuff! 😁
@hoctrimededebutry8655
@hoctrimededebutry8655 6 місяців тому
Thanks a lot for this very interesting (as usual...) video. I have a question : i installed HA on a Proxmox machine. it works great. But i never used IOT Stack (i think that it is a very very good idea to separate HA from the IOT sensors) . Is it to late to install it in my actual configuration ? Thans a lot again for your nice work !!
@AndreasSpiess
@AndreasSpiess 6 місяців тому
You should be able to download and install my IOTstack VM on your Proxmox server to play around with it...
@michaelkeller5008
@michaelkeller5008 7 місяців тому
Andreas - thanks for planting the idea in my head. Now i have to talk myself out of it again. ;-)
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Not worth the effort to talk you out. Just go with it ;-)
@jjspr
@jjspr 7 місяців тому
You may want to swap Influxdb with postgres//timescaledb. Of course a running system is a running system. Postgres gives you standard sql, timescaledb the time series db functionality. InfluxData has again switched their query language and it is not clear to me what they will do with flux (no updates since long), influxdb3 is using something different, iox.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I am not happy with influxDB, I only started it because it was used by many others and I got instructional videos... But their documentation is overly complex. So we will see what happens with the version 3 and if I have to change...
@jjspr
@jjspr 7 місяців тому
@@AndreasSpiess agreed. Since I switched to the Grafana/postgres/timescale combo, thanks to @volkovlabs at www.youtube.com/@volkovlabs/community things got much easier for me. It's a great channel - content and presentation wise - around Grafana (and IOT). InfluxData have changed horses (query language and major architecture) for the third time. Now its simple SQL, standard tables - much simpler for my project.
@ecoterrorist1402
@ecoterrorist1402 7 місяців тому
Never had much luck in installation of Proxmox, but I will give it another go, maybe it's an updated ISO the Huawei solar thing, is that connected on USB on Proxmox to serial bus on the inverter.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I use the WLAN version for my SUN/LUNA2000 setup... I never used Serial, just USB.
@mariolisi4591
@mariolisi4591 6 місяців тому
Good morning. As always a great video; clear and exhaustive. I ordered the ZimaBoard 832 server these days. What do you think, can I do what you explained about this too?
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I am not sure where these Zimaboards fit. Similar pricing than small PCs, but not enough space for the disk and slower CPUS. I prefer a "one box" solution...
@jdjd2922
@jdjd2922 7 місяців тому
A HP Thin Client + FreeBSD & Jails has been the 'lab' for quite a few years now.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Thank you for sharing your setup!
@Xavier_BE
@Xavier_BE 6 місяців тому
Hi @Andreas, at 11:06; you say you connect sensors and switches directly to homelab, but i was wondering how do you make the zerotier tunnel without a rasperby (or any other device) ? is you router there capable of doing it ? i have a similair use case (the house of my mom), i would like to add a few sensors there, use an old rapsberry 2 with only a tailscale subnet to all sensors to comunicate with my HA. So i was wondering how you could do that "without extra hardware" ?(i checked tailscale integration into esp32 but it does seem to be ok yet)
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Yes, my router does the Zerotier connection. I showed it in a video on my second channel).
@matneu27
@matneu27 7 місяців тому
I was sometimes thinking about to migrate my serval pis in promox and your video may be the trigger to saddle up, but I wonder if all Vms share the same IP of the host network interface and how I differ them later in the network?
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Every VM gets one or more independent network adapters with a unique MAC address and therefore, also an IP.
@mvadu
@mvadu 6 місяців тому
Hi Andreas, did you upgrade proxmox to 8? May be a video on up keeping the proxmox version and your best practices
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Yes, I upgraded. It was a non-event. So nothing for a video ;-)
@matikaevur6299
@matikaevur6299 7 місяців тому
Those all-in-one second- hand "PC's" are total win! I7, PCIe M.2, regular SATA and 64G ram max (ibm something in my case, vesa mount to put it behind the monitor was included;)
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Maybe it has to do with the HW requirements of Windows 11...
@matikaevur6299
@matikaevur6299 6 місяців тому
@@AndreasSpiess Possible, or rigid standard of big corporations for hardware renewal cycle. Mine came with win10 installed and updated automatically to win11 - only piece of hardware in my home that is capable. And i run linux server on it ..
@schrodingersmechanic7622
@schrodingersmechanic7622 7 місяців тому
With used mini-pc's readily available for the cost of a pi and the extreme performance disparity between the 2 it's silly to consider a pi unless physical size and/or gpio are limiting.
@alerighi
@alerighi 7 місяців тому
Well, power consumption is not the same. Considering the consumption of a PC, that even when in IDLE it consumes a minimum of 15W, but probably 20 or more, to a Pi that consumes less than 5W, it's significant. Considering the energy prices nowadays using a PC to do basic stuff (such as a NAS) that can be done with a Pi to me is a waste of money.
@chesshooligan1282
@chesshooligan1282 6 місяців тому
@@alerighi The new firewall mini-PCs consume 6-10 watts. I just bought one (Intel N100) for £110 shipped (about $135). If you still really, really want to go the SBC route, the Orange Pi 5 only costs about $20 more than the Raspberry Pi 5 but has 8 cores, an M.2 slot for NVME SSDs, and uses a more efficient 8 nm process, as opposed to the RPi 5's 16 nm process. The OPi 5 uses under 1 watt at idle -- which would be most of the time if used for Home Assistant, for example. At UK's current exorbitant electricity prices of 30p per kWh, the cost of running an Orange Pi 5 would be £2.63 a year (about $3.30). The cost of running a mini-PC would be about 6 times more, or $13.15 per year more expensive (that's at UK electricity prices; in other places, like the US or Iceland, the difference would be much less). If 13 dollars (or less) a year is important to you, go ahead and use an underpowered computer for which the software choices are extremely limited. I think I'll stick with the mini-PC. (By the way, I also own an Orange Pi 5, but now I don't know what the heck to do with it.)
@schrodingersmechanic7622
@schrodingersmechanic7622 6 місяців тому
@root683 if you live in a place with high energy prices then power usage is a valid consideration. For me, running a 5W pi for a year is less than $4. A 40W mini pc would cost about $30 for a year. My desktop I-7 mini pc with SSD and 32GB RAM could easily do the work of a dozen Pi's with room to spare. Fully utilized, I'd be willing to bet the mini is still more efficient. In my use case, I'm accustomed to seeing 2000kwh to 4000kwh monthly bills thanks to the hot climate so I wouldn't be able to see any appreciable difference on my monthly bill
@jefele
@jefele 6 місяців тому
@@alerighi I have a intel N5095 mini pc, 16G ram + nvme ssd I use as an everyday linux mint desktop. The whole machine idles at 5W, uses 20W at full speed. I have another, a celeron J4105 used as a kodi media player that idles at 4W...
@ddxxbb1
@ddxxbb1 7 місяців тому
Good Pi5 alternatives but we still love Pi5 🙂
@AndreasSpiess
@AndreasSpiess 7 місяців тому
No problem! This video is only about home automation servers.
@LanceThumping
@LanceThumping 7 місяців тому
I feel like Pis have for a long time only really filled a few small niches, mainly as an in between of PC and MCU. The cheap price is mainly what made it so good. You have a project that needs more power than an MCU can handle but with MCU I/O or an easy direct connection to an MCU for PC, then the Pi worked well. Otherwise, my personal favorite attempt was to try and use them for cheap media centers. However, with the price going up it seems like it'd be better for other solutions to fill in for the I/O - USB device with fast GPIO would be great. Also compared to other solutions for the media PC it seems better to just get an x86 miniPC like you suggested - x86 = more compatibility, more processing power, etc.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
For me, Linux with all its possibilities was also a deciding factor. If I wanted a good user interface or a database, I went with a Pi. For the rest, ESP32 wirelessly connected to the Pi.
@peter.stimpel
@peter.stimpel 7 місяців тому
Nice. I switched my setup half a year ago to 2 old refurbished laptops, installed proxmox as a cluster with an older raspi as a quorum device. I had to deal with a debian based docker installation in a vm, a Home assistant vm, a pihole and an openvpn. The HA and the docker environment are crucial, so I made them High available, which works quite nice even without having a central storage solution. The laptops are my first choice over old PCs, since they come with kind of in built-in "UPS". The pihole is now an LXC instead of a true VM, which has advantages in terms of resource consumption. And I share your opinion, I would not recommend to install many addons in HA, only those who are truly needed. This is why I have this second docker environment, where I run all the other stuff like grafana and co. This has advantages of something breaks, and makes my HA installation less "important" for my home network
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Nice setup! I still hesitate to go for a cluster, because I had no hardware issues for years. But I had lots of what I call „ complexity issues“ ( mainly caused by me). So I fear the cluster would be a step back in my situation… But maybe I will try it for fun.
@remy44444
@remy44444 7 місяців тому
Welcome to the exclusive homelab club :)
@fluffyblue4006
@fluffyblue4006 7 місяців тому
HA is great for being able to do certain maintenance tasks without downtime. It is the effort to get it to work properly that is usually causing more downtime than it will prevent in the future. For failures, I'm just taking care that I have replacement hardware on site and that I have good backups.
@saifal-badri
@saifal-badri 3 місяці тому
I went with the original adapter, I'm watching this on a pi5 with Ubuntu, I love this thing. its my other daily driver now! Note: I overclocked it to 2800, GPU to 1000 and used active cooler. stable so far for a week!
@AndreasSpiess
@AndreasSpiess 3 місяці тому
Lets hope it will survive your overclocking!
@printbusters
@printbusters 7 місяців тому
Hey Andreas! Should I propose a video related to casaos and or portainer? Great content as always! Thank you
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Portainer is already included in IOTstack (and I understand its value). But what is in for me in casaos?
@printbusters
@printbusters 6 місяців тому
@@AndreasSpiess Actually I wanted to say that you could make a dedicated video related to portainer or casaos. The second one is actually user friendly portainer application. I am Sorry but English is not my native language
@ronaldhofman1726
@ronaldhofman1726 7 місяців тому
Just ordered a Ryzen 8 core mini pc for my development machine and the gigabyte brix pro core i7 i am going to use for proxmox and replacing my ESXI server
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I separated the 24/7 stuff from my (powerful) development (and video) machine. Because my "real" machine consumes quite some electricity and goes dark whenever not used.
@user-hk3ej4hk7m
@user-hk3ej4hk7m 7 місяців тому
Used laptops. Most of them have a battery that can be used for safe shutdown, a gigabit Ethernet port and a screen that can be used for troubleshooting or as a live view for security cameras. Mini PCs limit you in the same aspects, laptop processor, poor expansion and limited storage IO.
@D9ID9I
@D9ID9I 7 місяців тому
Used PCs work best. No technical constraints. Just find corner in the home to put small rack and that's it.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I agree, laptops have the advantage of a built-in "UPS"
@user-hk3ej4hk7m
@user-hk3ej4hk7m 7 місяців тому
@@D9ID9I Used PCs usually require more power to run, a laptop is a good compromise, and it comes with a screen which can be good thing for beginners. Sure, if you need to raid disks for storage of something more compute intensive then grab a used PC, no question that that will be the best option. Andreas content is usually geared towards IoT, not video transcoding or compute heavy stuff, hence why I would recommend a used laptop instead of a desktop.
@D9ID9I
@D9ID9I 7 місяців тому
@@user-hk3ej4hk7m desktop and laptop pc's have same performance/watt ratio. laptops just limited in power but not more power efficient. and you can extend desktop pc with something like cheap 10Gbit card or gpu for some AI work. you can't do that to laptop. you don't need screen on a server most of the time because there is a remote access. only if you reinstall os once in a century or troubleshoot booting.
@user-hk3ej4hk7m
@user-hk3ej4hk7m 7 місяців тому
@@D9ID9I Not true, performance/watt depends a lot on the workload, it's not a constant factor for the same % of system utilization. A laptop is way more efficient for what would be considered a "light" workload compared to a desktop system. Even PSUs themselves have an efficiency curve that favors a high to mid level workload (% of rated output power). If you're going to be running esphome, homeassistant, node red and other lightweight vms or containers (again, based on the content of the channel), then your main concern is RAM, any other oversized components are going to increase power consumption for no reason. 10Gbps rarely makes sense for what would be considered an IoT hub, you weren't going to use a RPi for anything more than that realistically. However if you want to do video transcoding and use the system as a file server then 100%, go for a desktop. You can always get another system down the road and have some segmentation for stuff that's critical and stuff that's a nice to have. I'd personally rather have my light switches and automations work when I have to do maintenance on my media server.
@kwazar6725
@kwazar6725 7 місяців тому
Hoi Andreas. Nice video, thank you very much.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
You are welcome!
@kwazar6725
@kwazar6725 6 місяців тому
@AndreasSpiess i always tended towards a not too old pc with unraid, proxmoxx, vms, as main server for home thin clients.
@sundinmikael
@sundinmikael 7 місяців тому
For my needs a I7 3770 with 16Gb RAM is perfect. I will probably only run RPI where space or power is limited. For my 3D printer i use Orange Pi Zero LTS instead (USB-A + EThernet).
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Perfect setup if you ask me...
@ronm6585
@ronm6585 7 місяців тому
Thank you.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
You're welcome!
@ulfholt6434
@ulfholt6434 7 місяців тому
Very interesting, but I have to stick to Windows 10/11 due to specific software. Any way to use Hyper-V instead of ProxMox?
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I have no experience with Hyper-V :-(
@JorgenHenningsen
@JorgenHenningsen 7 місяців тому
Low power has become my focus point. With the Raspberry I can do home automation for an average of about 2-3W power draw all inclusive. How much does your used PC draw?
@AndreasSpiess
@AndreasSpiess 7 місяців тому
If I remember ca. 10-15 W (for 8 VMs).
@marcogenovesi8570
@marcogenovesi8570 7 місяців тому
that PC is around 6w idle and 15w max. It can run 4-5 times more stuff than a raspberry though so it can be more efficient than a bunch of raspberries depending on what you want to do.
@JorgenHenningsen
@JorgenHenningsen 7 місяців тому
If orange or raspberry pi 5 is sufficient you will still use 1/3 of the power of the PC
@dozog
@dozog 7 місяців тому
​@@marcogenovesi8570I read a lot of useful comments from you. Thank you. I have bought a new(er) mini PC and it runs cool at about 4 Watt average over a day with only HA. (Which is relatively low compared to most other things we use during the day) I found my floor fan uses almost 3W just in standby for example, and 12~15 when on
@technoman9000
@technoman9000 6 місяців тому
I have 5 Raspberry Pis gathering dust in my desk... 1B, 2B, 3B, 4B, and Zero W. On the one hand, I'd like to get the 5 just to complete the set 😉 but since it will probably just gather dust as well, not sure if I'll bother.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I have a couple of 3bs and 4s in use. I am not sure where the 5 fits. Maybe for a mobile SDR receiver...
@lifeai1889
@lifeai1889 6 місяців тому
because of esphome always take 30 minute to compile on raspberry pi 4 i decided to switch to x86 i installed home assistant os directly on a old celeron n5100 laptop with 32g internal sd card(emmc) now esphome can compile within abt 3 minute from scratch and i can install some plugin although the laptop is old and only have 4g of ram soldered to motherboard but it only cost $10 and have a built in ups so i considder it a sucess it draws 15w nominal when running ha btw but for mains powered electronic power consumption is not really relevant anyways
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I agree: Laptops are a good solution because of the built-in "UPC"...
@MatzeMaulwurf
@MatzeMaulwurf 6 місяців тому
I‘m using HP ThinClient t630. Draws ~7-8W when idle. 256 SSD and 32 GB Ram upgraded.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Cool. Very close to a Pi5...
@MatzeMaulwurf
@MatzeMaulwurf 6 місяців тому
@@AndreasSpiess I got them in tons (~100-150/year) here at my company. Benefits when leading the IT-Department 😁
@AndreasSpiess
@AndreasSpiess 6 місяців тому
@@MatzeMaulwurf Very good. I hope the rest of your job is also as much fun (I implemented SAP for a living and know quite a few CIOs ;-) ) The 32MB memory is very interesting. Most of the ones I saw say they can only be upgraded to 16G
@MatzeMaulwurf
@MatzeMaulwurf 6 місяців тому
@@AndreasSpiess the accept 2x16 out of specs. Standard at our Institute is 1x8. 32 works flawlessly. The SSD needs to be a mSATA, they are only available in consumer quality but also work since over 2 years in my proxmox-HA-cluster made out of two ThinClients without any issue. But there is not that much traffic on them. Backup are written on magnetic disk NAS.
@MrCWoodhouse
@MrCWoodhouse 7 місяців тому
Beautiful presentation. I was looking over the Pi5 yesterday, and considering pre-order, but what's the point? I have been running Proxmox on a $129 Lenovo mini that consumes 12 watts at idle, upgraded to 32GB, and runs HAssOS, TrueNAS (running Plex), Ubuntu, and Kasm. Why would I need a pi? The Pi5 is so complicated that it is now just another SBC, It is way past an elementary educational tool. Thanks and 73's.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
What kind of Lenovo mini do you run? Mine says it only supports 16GB...
@MrCWoodhouse
@MrCWoodhouse 6 місяців тому
​@@AndreasSpiess Lenovo ThinkCenter M910Q Tiny. Actually, it is running 64GB. 2x32GB DDR4 SO DIMM. I saw someone say on a forum that it would work, so I gave it a try. I don't think the 710 will go over 16G. These older minis are great. We have bought several more at the company to set up ad-hoc VPN gateways to outside clients using Tailscale.
@toddbu-WK7L
@toddbu-WK7L 7 місяців тому
I agree with you that the RPi 5 is a disappointment. The Pi Foundation has left the education and maker communities in the dust, seeking instead to target Windows users. Just look at the number of RPi 5 reviews that talk about the desktop. No one seems interested in hooking up stuff to the GPIO or learning system internals. Now it's all about performance of graphics or if you can turn it into a NAS. (Sorry, Jeff Geerling.) I guess that it could be argued that the low cost, low-end space is occupied by the RPi Zero 2 and Pico, but the shift in the target audience for RPi 5 is noticeable. The fact that it requires more power and active cooling is awful. Fans that collect dust and have bearings that fail are so 1980s. So no RPi 5 for me for now
@terrydaktyllus1320
@terrydaktyllus1320 7 місяців тому
Geerling is an entertainer, not an engineer. I stopped subscribing to him a couple of years ago because I am interested in practical solutions to real world computing problems, not trying to add 100 hard drives to a Pi. But it's his channel, he can do what he likes and if shilling for views needs to create an income for him then so be it - I just don't have to be involved in that. I don't necessarily agree that the Pi is a "disappointment" but, as an engineer and a maker, it is simply one more platform that I can think of using when building solutions. The fact is, there are also Banana / Orange / Nano Pi's out there too, plus with the Microsoft zombies rushing to upgrade to Windows 11 and dumping their old hardware on eBay, there's a huge number of cheap SFF PCs with 3rd or 4th generation Core i5 or i7 CPUs in them that can be bought for the same price as a Pi. (Yes, Jeff Geerling, you might want to check out something called a "PC" that already has a built in and powered PCI-E slot for that GPU of yours!) The Raspberry Pi is an anomaly. It has a fantastic support community around it and has become almost a "consumer grade" device - anything you want to do with it, someone will have made a step-by-step video for it. But that's not the case for other SBCs where the real engineers live because we have to "tinker" with such boards and go much deeper into their architecture to get them to do what we need to - but that's part of the fun we get from doing it. The opposite of "engineer" is "fanboy". Engineers choose the best hardware and software components for a solution from a wide range of options, but a "fanboy" is stuck to one brand of item, either because of some silly emotional attachment or because of lack of knowledge and experience. The Raspberry Pi community has a huge number of fanboys, so when a new Pi comes out they have to rave about it because that is all they know how to use. For proper engineers like us, it's just another option to consider when we put together components to build something.
@Luke-san
@Luke-san 7 місяців тому
Excactly this. I've got every Pi in the house and feel no need to purchase a RPi5. I would rather have an updated Pi3 or Pi4. New lower power consumption, USB-C, Wifi 2.4 and 5.0GHz and BT5.x. It's trying to compete a market which has been there for a couple of years now and which is years ahead of it in performance. I've seen plenty of small Intel pc's with a nvme drive in them, full hdmi etc etc that fit in the palm of your hand that cost less than a 8GB Pi5 with a housing ..... that still has no drive or extension boards.
@ErickBuildsStuff
@ErickBuildsStuff 7 місяців тому
I too agree with you. I wanted more than 3 serial ports and I was waiting if RPI5 would change it's design but that didn't happen. Instead we are given some 💩
@momendo
@momendo 7 місяців тому
Geerling is not an engineer? That's not true. He's been an active open source contributor to the Drupal CMS software community. He's authored a book about using Ansible.
@AkashYadavOriginal
@AkashYadavOriginal 7 місяців тому
It all depends on the what the market demands. If most of their demand comes from users who use Raspberry Pi as mini PCs, NAS or Media Center PCs. Then they'll start catering towards improving that aspect of their product. When the first Raspberry Pi came out, I bought and used it with LibreElec. While it was slow but it was cheap and fulfilled my purpose.
@gcharles1981
@gcharles1981 7 місяців тому
I bought a micro pc and installed proxmox it’s great but i am stuck with migration my influxdb from my raspberry pi with iot stack to the iot stack on the VM
@zx85
@zx85 7 місяців тому
Hopefully it's as simple as a table(s) export, copying the files and then importing them into the new DB.. good luck!
@AndreasSpiess
@AndreasSpiess 7 місяців тому
If you talk about V1 to V1: Phill is working on his writeup. If it es V1 to V2: I did it (but did not write it down because it was a one-time exercise). Influx has some documentation. It is a huge difference, BTW.
@johanmartijn
@johanmartijn 7 місяців тому
These old recycled computers are indeed very useful as a headless server. I will stick to the old Pi4 aa long it's resources are still enough for an IoT server
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Good choice!
@iPigee
@iPigee 3 місяці тому
Well done!
@AndreasSpiess
@AndreasSpiess 3 місяці тому
Thanks!
@LinuxLoader1287
@LinuxLoader1287 4 місяці тому
Good points but the lack of gpio , size factor and a supply voltage over 5 - 12v also if your going to go that far you might as well run something that has spare pci slots and room for drives. Nice Video 👍
@AndreasSpiess
@AndreasSpiess 4 місяці тому
I only recommend it for a homelab (no GPIOs needed here because sensors are not where the server stands). For the rest, the Raspberries are good.
@charlieoscar09
@charlieoscar09 7 місяців тому
Yes i also bought a Micro PC so.much more practical ...Thankyou for the video
@RK-kn1ud
@RK-kn1ud 7 місяців тому
How do you control your Micro PCs GPIO? Which Micro PC? I would like to abandon the RPi but have yet to find a viable solution. Thanks!
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I use microcontrollers (mostly ESP32 with WiFi) for all sensors and GPIO-related things in home automation. If you need GPIOs on the board, the Pi is the better choice (I use them for quite a few applications in this field. This video is about home automation servers
@mvadu
@mvadu 6 місяців тому
I too went with few Lenovo tiny PCs(Lenovo name for that farm factor) and proxmox. I still have fwo raspberry pis in my docker swarm, but I am not planning to add anymore. I rather find a newer tiny pc and upgrade that way.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for sharing your experience!
@nonplusx
@nonplusx 4 місяці тому
Thanks for the video. Can you recommend a device to replace a Pi 4B/2GB for a minimal server setup (mostly idle music server) but with a bit more value? With the following features: 1) GPIO not needed, 2) passive cooling so 100% silent, 3) as low power consumption as the Pi4 so around 3W idle, 4) comparably as fast Ethernet and usb ports, 5) price point similar to the Pi, 6) more RAM. Since you mention there are better alternatives out there I want to find a replacement. Used is not a problem, I guess Ebay resales is a good option? I am in Europe (EU). But which model? Thanks.
@AndreasSpiess
@AndreasSpiess 4 місяці тому
I do not know if such a low power replacement exists (other than other SBCs like the "BananaPi etc)
@nonplusx
@nonplusx 4 місяці тому
@@AndreasSpiessOK thank you! For me that is the deciding factor. Low power consumption = low cost. So the Raspberry Pi 4 - or an equivalent as you mention - is still the king in that area I guess. I am surprised there is not more competition in the area of hyper low power servers since rising electricity costs and environmental impact are such important themes nowadays. At least it is clear that the Pi 5 is a bit of a mistake since they created a hungrier and hotter device instead of the other way around.
@macdroid53
@macdroid53 6 місяців тому
One thing I didn't hear was how, with a virtualized Pi on the "Homelab", how one would/could use the I/O pins of the Pi. Is it possible, say for the virtual Pi to handle a switch closure?
@macdroid53
@macdroid53 6 місяців тому
I just listened again and heard the comment about no sensor connections to the Homelab. Got it.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
It is always good to watch my videos till the end ;-)
@graxxor
@graxxor 3 місяці тому
for me, I bought a second hand i5 quad core Intel in a cute formfactor with PSU included ... It was a ThinkStation M93... cost $50 with a 240Gb SSD and 16GB RAM.
@AndreasSpiess
@AndreasSpiess 3 місяці тому
Good catch!
@MatthewHill
@MatthewHill 6 місяців тому
It's a good idea. I've been running a homelab on my previous desktop PC (motherboard repackaged into a smaller case) and it's great. Even runs my router. Started off with ESXi but eventually moved over to Proxmox because it's simpler, cheaper, and works just as well.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Thank you for sharing your experience. Moving the router is a very brave step ;-)
@AkosLukacs42
@AkosLukacs42 7 місяців тому
Mini PC prices skyrocket again in 3, 2, 😂 But more seriously, documentation definitely! BTW this is why automation software is nice. If the automation itself is well documented :)
@marcogenovesi8570
@marcogenovesi8570 7 місяців тому
there is a lot of corporate mini PC surplus in the market, like A LOT
@AndreasSpiess
@AndreasSpiess 7 місяців тому
For me, automation only makes sense if I do things many times. Very rare in my chaotic lab. So a documentation with copy-paste commands is a good compromise ;-)
@edc1569
@edc1569 7 місяців тому
I’m still running homebridge on pi 1.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
That is a sign of quality, I think. That it still runs!
@noonespecia2007
@noonespecia2007 7 місяців тому
Woot! Maybe I can buy a PI 4 now. /s
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I assume so. At least they appear here and there for "reasonable" prices...
@bobfree
@bobfree 6 місяців тому
The dual MIPI support makes this SBC indispensable to my work.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
In your home server (see title of the video)? For all other projects, I agree with you and still propose to use Raspberry Pis.
@Canthus13
@Canthus13 7 місяців тому
So is there anything like this that is low-power friendly? I live in a van and I'm looking at using a Pi for environmental sensing, engine monitoring, home automation, and entertainment, and it feels like it'll barely keep up.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I separate the power sensitive stuff from the more power hungry. The power sensitive (mainly sensors) rund on ESP32 or similar, and the rest I showed in this video. Both connected with Wi-Fi or ethernet. So far, I never had a problem fitting sensors on small MCUs. Their resource needs usually are very small, and they often use milliwatts.
@BrianThomas
@BrianThomas 6 місяців тому
You didn't mention the GPIO. In my opinion, one of the best things about the Raspberry Pi is the the GPIO. Are you able to add these to an x86 thin client PC or mini PC?
@vioreldv
@vioreldv 6 місяців тому
This is a different use case.
@BrianThomas
@BrianThomas 6 місяців тому
@@vioreldv ok. Thank you
@AndreasSpiess
@AndreasSpiess 6 місяців тому
I mentioned it (maybe you stopped the video too early ;-) I said, that my Home Automation server is not where my sensors are. So no need for GPIOs in this setup.
@SprocketN
@SprocketN 6 місяців тому
I ‘down-graded’ my outside lights automation server from a Pi4b to a Pi Zero 2W. Everything works as it should. I now have an 8Gb Pi4b that I haven’t got an immediate use for. I’m sure I’ll think of something. I won’t be buying a Pi5 just yet. Clearly my original use case doesn’t need more speed. My next project will need the flexibility a Pi provides with physical I/O. My ten year old laptop is a perfectly acceptable slow PC, I don’t need another one.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Just got the message that I should get my 3 Zero2W ordered in summer 2022... I think they are a good compromise for many projects.
@1funnygame
@1funnygame 7 місяців тому
I don't understand why they added a second camera port but removed harware video encoding
@AndreasSpiess
@AndreasSpiess 7 місяців тому
They seem to focus on the commercial market. Maybe a need there?
@Raja.Subramanian
@Raja.Subramanian 7 місяців тому
I use refurbished Google Chromeboxes, 8th Gen i7 CPU, 32GB RAM, 512 SSD. Perfect for Proxmox. You can pick up these Chromeboxes cheaper than SFF desktops, I got mine for as little as USD $150.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Very good if you get those. Here they usually are sold with less memory and disk. And often, also with smaller processors.
@JBoy340a
@JBoy340a 7 місяців тому
I happen to have a Mac Mini M1 lying around. with256GB/8G. Is this a good choice for a Homelab?
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Should work. I am no Mac user, but Phill wrote me that he uses a Mac to prepare all the writeups for IOTstack and Proxmox.
@Kilroy_Was_Here_1897
@Kilroy_Was_Here_1897 7 місяців тому
Since I no longer play computer games, I've been considering a much smaller PC as a desktop and using my current one as a media server and Prime95 machine. While I still use a raspberry pi as the TV end of my media solution, I came to the same conclusion. It's more cost efficient to just buy a used thinkcentre or similar for small computer needs. For small server and small general computing needs, the raspberry pi is no longer the value it once was.
@AndreasSpiess
@AndreasSpiess 6 місяців тому
Everybody has to find the right setup. Here, for example, the desktop is the strongest machine because I do all the video editing on it.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Переглядів 995 тис.
Гражданская оборона 2024 - 16 полный выпуск
1:04:15
Телеканал ICTV
Переглядів 664 тис.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Переглядів 2 млн
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Переглядів 1,2 млн
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Переглядів 942 тис.
Raspberry Pi 5 vs N100 PC (featuring Ubuntu 23.10)
14:59
ExplainingComputers
Переглядів 373 тис.
Raspberry Pi 5 8GB Vs Orange Pi 5 plus 16GB. Ubuntu
12:50
leepspvideo
Переглядів 13 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 189 тис.
This Single Board Computer is Faster than a Mac Mini AND a Raspberry Pi
14:56
Mini NextCloud Server on Raspberry Pi 5
14:20
Novaspirit Tech
Переглядів 62 тис.
Overclocking Raspberry Pi 5 to 3.14 GHz on Pi Day
17:33
Jeff Geerling
Переглядів 162 тис.
449 OpenMQTTGateway Connects Many Things to Your Home Automation
11:56
Andreas Spiess
Переглядів 81 тис.
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 709 тис.
Power AC Coolness with Anker SOLIX F3800
0:27
Anker SOLIX
Переглядів 3,3 млн
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 15 млн
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 943 тис.