Best hardware combination for HA?

Wrong, been running my hassio for over a year with no sd card failure. And yes, I have the database on the SD card.

Statistically speaking (you can Google for complaints about this issue), with intense I/O operations, SD card failure on the Rpi is mostly a problem of when, not of if. There are, obviously, other components of Rpi that fail, too; however, SD/MicroSD card is the most common.

It might work for you for another year or it might equally fail tomorrow morning (and it is not the grudge of the users on this site that kills it :slight_smile: ).

1 Like

Iā€™m currently using a Asus X750JB laptop that runs Ubuntu. Then I virtualize Plex, Home Assistant, and MythTV. Initially I thought this was a great way to go, laptops are designed to be power misers and I technically have a built in UPS with the battery the laptop has.

I decided on the Asus because it supports WoLā€¦so if I lost power and the battery ran dead, once power came back on I could just ssh in to my home Mikrotik and issue a WoL command.

Unfortunately, Asus engineers were idiots when they designed the WoL featureā€¦once actual AC power is lost and the battery goes deadā€¦WoL stops working until physically press the power button pretty much defeating the whole ā€power back up remotelyā€ when 1/2 across the world conceptā€¦UGH!

And the BIOS in the Asus laptop has no power on automatically after power loss feature.

So now Iā€™m looking a NUC too since all the ones Iā€™ve looked at have auto power on after power loss. At the moment Iā€™m just trying to decide if I want a basic Celeron NUC for HA or something with more horse power under the hood to replace the Asus and the virtualization Iā€™m doing.

Iā€™m going to revive that old thread to ask you for a few things :wink:

I see that SSD is attached via internal usb, right? doesnā€™t the t620 have m.2 connector? I was assuming that the little thingy mounted on the left side of internal usb connector is m.2 disk?

also - did you try to run any video camera-based integration or software on it? I mean motioneye for motion detection on cameras connected to HomeAssistant or maybe some object/people recognize software?

Iā€™m asking, as I found used t620 for dirt cheap [basically with a price almost the same as RPi3 that Iā€™m running now], of course without disks, so Iā€™ll have to add more funds to it [my SD card installed in RPi was also added later soā€¦] and Iā€™m really considering the jump to this if thereā€™s enough horsepower. besides that - my system is running well.

and right now Iā€™m using:

  • RPi3 with 16GB Sandisk Ultra A1 sdcard - for HomeAssistant & cc2531 main coordinator dongle [zigbee2mqtt]
  • RPi2 with 16GB Sandisk Ultra A1 sdcard for system and some 64gb Patriot Pendrive - for database, MQTT, AdGuard, GPIO-based garage door sensor
  • Netgear WNR3500Lv2 router with TomatoAdvanced and 1TB disk attached - as main network provider & videorecorder for cameras
  • couple of RPi0 W based cameras with MotionEyeOS for monitoring [and those perform medicore for on-board motion detection]

No, USB used to power SSD and data is connected to M.2 -> SATA adapter. You could see three SATA cables running to two 3.5" disks and to SSD.

Iā€™m currently running video surveillance software, but it only records video. Iā€™ve implemented motion detection directly from cameras, so no need for unnecessary CPU load. This t620 setup proven as dead stable, cheap, 10/10, would setup again :slight_smile:

oh, I see! didnā€™t know there is m.2->sata adapter :slight_smile:

ok, so in worst case scenario Iā€™ll be stuck with the same solution as now, but with more stable [thanks to ssd] hardware. not as ideal, but also not a deal breaker so Iā€™m gonna sleep with that and make my decision afterwards :wink:

thanks!

Donā€™t forget, that youā€™ll get x86 arch, HDD and RAM expandability :slight_smile:

thatā€™s true. not that Iā€™m needing more space right now, but as usual - if thereā€™s an option, Iā€™ll probably find a way to ulitize it :slight_smile: especially that Iā€™m starting to think about putting more than just HA on it.

oh, last question - how is it behaving in case of power shutdown? can it be configured easily to autostart when powerā€™s back?

If I recall correctly, it has setting in BIOS what to do (restore last state, keep off or turn on) in case of power restore. It is not very critical to me, as power outages are quite rare in my area, and I have UPS just in case.

I had maybe one power outage last year, so mostly it isnā€™t an issue too - but I like to know just in case. thereā€™s always that one scenario, that couple of hours after youā€™ll start your vacation everything goes south and thereā€™s nothing that can be done without being next to the hardware haha :wink:

I recently updated my NUCi3ā€™s BIOS, and it does have a setting for default state at power-up. I run this NUCi3 totally headless, so I had to bring it downstairs with a monitor to install the BIOS, at which time I made certain to enable this BIOS setting. We endure three or four power failures yearly, and prior to making this change, I always had to go upstairs and turn the HA NUC back on after an outage. :frowning:

1 Like

Iā€™ve been running HA on a Raspberry PI since late last year mostly just to play around with so wasnā€™t too concerned about losing the SD card and data but recently Iā€™ve started integrating more and more and now have quite a lot of stuff automated and working well so its quickly become quite a critical system that I now need running on a reliable platform.

Iā€™m inclined to go with an Intel NUC and SSD butā€¦ Where I live we have very frequent power outages that last for 2 hours at a time, I currently run all of my wireless routers, fibre router and Raspberry PI off a pair of 35ah batteries with various 12V to 5V converter and 12 to 24V converter for my main Mikrotik router which does passive POE out to the other wireless routers, this can comfortably keep all of this equipment up for probably 2 days so its a reliable option for me.

The NUC has a 19V power supply if Iā€™m not mistaken but Iā€™ve read that it can run from as low as 12V in which case Iā€™d be able to plug it into my existing battery backup system.

Does anyone have a similar setup and can they confirm that it can run off 12V?

Iā€™d prefer not to have to get another 12V to 19V or similar converter because a. it probably wont have the desired output amperage and b. puts an added strain on the system and c. if it can in fact run off 12V then it would be pointless :slight_smile:

Oh and on a side note would it be as simple as restoring a snapshot onto the NUC once I have HA installed? Not a train smash if this cannot be done but would mean a ton of saved time if this was in fact the case.

Yes, it works at 12V (at least with a Celeron J4005 NUC; Iā€™m unsure about the more power hungry i5 or i7 versions).

I have the NUC running HA connected to a switched power supply and a 12Ah battery (see below). Havenā€™t tried to fully discharge it, but I have HA turning off after 30 min of running on battery. 35Ah should be sufficient for more than 4 hours with a low power NUC.

You can try to simply make a copy of the entire config directory on a network computer (then copy it back to a clean state machine; but it is likely youā€™ll have some headaches until fully restored). Or even better, use a Google Drive backup if running one of the more user friendly flavors:

Hi Petrica

Thanks for your reply and apologies for the late response. I installed the backup software you suggested it works really nicely.

Iā€™ll report back on powering the NUC when I manage to track one down but fairly confident that it will run ok.

You could also try looking for a laptop powered by 12V (N4000 Celeron is usually fanless, so less power consumption to deal with) and flash Intel NUC Hassos image or generic Docker (to be able to install additional stuff beside HA).

If able to disable screen by hardware switch (or even completely disconnect the screen if feeling sufficiently adventurous :man_mechanic:), then a laptop would grant an additional time on battery compared to a regular NUC.

I actually have an Acer Revo RL85 but its a celeron processor so was a bit worried it wouldnā€™t be powerful enough, Iā€™ll see if I can get that powered with 12V I can use that then.

OK, so for those interested the Acer Revo RL85 (well the Celeron anyway) is not an option at all, I tried a few times to install Ubuntu and it just hung throughout the various installation stages, I just dont think there is enough horsepower in this package to run Ubuntu and ultimately Home Assistant. I literally had this laying around the house and remember why I never used it, its painfully slow!

It also does not power up at 12V it needs 19V, I sourced a 12V to 19V 5A convertor which I can use elsewhere so it is possible to power it from a battery with this converter.

I then came across a really good deal on an Intel Nuc I3 with 256gb SSD, 8gb ram, keyboard, mouse and mini dp to hdmi convertor for around USD185 so it was a no brainer, Iā€™ll obviously not use anything apart from the NUC itself but still a worthy deal.

I installed Ubuntu on it and was super impressed by how fast it was, best money Iā€™ve spent in a while.

Iā€™ve got home assistant installed under a docker and will play around with it, I like the docker option because I get to play around with a Linux environment again and the NUC comfortably has the capabilities to do other things apart from being dedicated to HA but do think the Hassio image may be the option for me I like the add-ons etcā€¦ and also running this on my RPI so would prefer to be able to restore a snapshot.

Anyway I shall continue experimenting and report back for those interested but on face value the NUC is the perfect beast for Home Assistant.

If you are interested in using your NUC for other things, I can recommend Proxmox for running VMs. You then run Home Assistant in a VM and run other VMs as you desire. For example I just recently setup up a instance of Home Assistant (formerly hass.io) as a test environment for helping others here on the forum and to see how I like the add-ons etc. Then I have my production VM on which I run Home Assistant Core in docker and a ā€œdevelopmentā€ VM on which I run Home Assistant Core in docker where I test new things before they go into production.
A nice plus with Proxmox is that you can easily do a full backup. You backup (on a schedule if you want to) the VM and if your NUC ever dies (we hope not :sweat_smile: ), you install proxmox on a new machine, load the backup and you are back exactly where you left off.

Thanks for this post, I installed Proxmox this morning and busy setting up VMā€™s now, definitely a better option for me as it gives me a lot more versatility and I can play around with the different install types and then stick with the one that I like best.

1 Like

@Burningstone sorry I know this is off topic but you mentioned that you have both hass.io and Core installed.

I got core working quite easily using a docker but I am struggling to get the hass.io image working and am quite sure Iā€™m doing it right.

Iā€™ve downloaded the image from here

Booted using a live CD with Ubuntu and copied the image to the disk confirm file integrity and then write it using DD to the disk (/dev/sda)

gunzip -c /home/ubuntu/Downloads/hassos_intel-nuc-3.10.img.gz | sudo dd of=/dev/sda 

It writes with no errors but when I reboot the VM instance it doesnā€™t boot, just gets to the part after the BIOS and says booting from hard disk.

Any ideas on where Iā€™ve gone wrong perhaps?

Iā€™d prefer to run the hass.io image, Iā€™m not big on the idea of having Home Assistant installed under a docker under a VM, it would also make it simpler with copying a snapshot across from my RPI install.

Thanks.