# Automation Entropy Factor

URL: /show/self-hosted/30/
> Chris gets left out in the cold after a Home Assistant glitch, and Alex puts a big batch of USB hard drives to the test.

- Show: [Self-Hosted](/show/self-hosted/)
- Episode: 30
- Date: 2020-10-23
- Hosts: alex, chris
- Duration: 00:46:37
- Audio: https://aphid.fireside.fm/d/1437767933/7296e34a-2697-479a-adfb-ad32329dd0b0/968a11fc-2d15-4508-9e34-bc04ce4bfa68.mp3
- YouTube: https://youtu.be/z4C9YRPkQaU



Sponsors:
- [Linode](/sponsors/linode.com-ssh/index.md): Receive a $100 60-day credit towards your new account.
- [A Cloud Guru](/sponsors/acloud.guru-ssh/index.md): This course covers the various software, tools, and utilities used to configure web services on a Linux host.
- [CloudFree.shop](/sponsors/cloudfree.shop-ssh/index.md): CloudFree Smart Plug – Runs Tasmota for $9. Use code SELFHOSTED and support the show.




### Episode Links

  * [Amazon price tracker](https://camelcamelcamel.com/ "Amazon price tracker")
  * [Google study on disk temps](https://static.googleusercontent.com/media/research.google.com/en//archive/disk_failures.pdf "Google study on disk temps") — A 2007 study by Google showed the reverse to be true. Hard drives with average temperatures below 27 °C had a failure rate worse than hard drives with the highest reported average temperature of 50 °C, and a failure rate at least twice as high as the optimum temperature range of 37 °C to 46 °C.
  * [New Hard Drive Rituals](https://blog.ktz.me/new-hard-drive-rituals/ "New Hard Drive Rituals") — It is for these reasons that I now religiously do not commit any data to a drive until it has undergone at least one full cycle using a tool called badblocks
  * [selfhostedshow/infra: Infrastructure as Code](https://github.com/selfhostedshow/infra "selfhostedshow/infra: Infrastructure as Code")
  * [Using 'sun' as condition fails to allow automation to trigger.](https://www.reddit.com/r/homeassistant/comments/8f80fo/using_sun_as_condition_fails_to_allow_automation/ "Using 'sun' as condition fails to allow automation to trigger.") — I've been using the Automation UI from the web to create the automation's and so for the conditoin I selected "Sun" and then 'after sunset' and 'before sunrise' but the automation stopped working. I had to use a 'state' condition and use 'sun.sun' and use the state 'below_horizon'
  * [NFS Auto Mount with systemd](https://wiki.archlinux.org/index.php/NFS#Mount_using_/etc/fstab_with_systemd "NFS Auto Mount with systemd") — Network mount units automatically acquire After dependencies on remote-fs-pre.target, network.target and network-online.target, and gain a Before dependency on remote-fs.target unless nofail mount option is set.
  * [Auto-mounting network file systems with systemd](https://blog.agchapman.com/auto-mounting-network-file-systems-with-systemd/ "Auto-mounting network file systems with systemd")
  * [30mm On-Metal NFC Tag – CloudFree](https://cloudfree.shop/product/30mm-on-metal-nfc-tag/ "30mm On-Metal NFC Tag – CloudFree") — These blank 30mm circular NFC tags can be written to and read from using the Home Assistant app on NFC-compatible phones.
  * [ESXi on Raspberry Pi](https://www.architecting.it/blog/esxi-on-raspberry-pi/ "ESXi on Raspberry Pi") — Getting ESXi up and running on one of the Pis was relatively easy but there are a few gotchas.
  * [ESXi Arm Edition - Download](https://flings.vmware.com/esxi-arm-edition "ESXi Arm Edition - Download")
  * [Some history behind getting ESXi-Arm onto the Pi](https://blogs.vmware.com/arm/2020/10/17/some-history-behind-getting-esxi-arm-onto-the-pi/ "Some history behind getting ESXi-Arm onto the Pi")
  * [Archivy is a self-hosted knowledge repository that allows you to safely preserve useful content that contributes to your knowledge bank.](https://github.com/Uzay-G/archivy "Archivy is a self-hosted knowledge repository that allows you to safely preserve useful content that contributes to your knowledge bank.") — Archivy is a self-hosted knowledge repository that allows you to safely preserve useful content that contributes to your knowledge bank.
  * [How fast are your disks? Find out the open source way, with fio](https://arstechnica.com/gadgets/2020/02/how-fast-are-your-disks-find-out-the-open-source-way-with-fio/ "How fast are your disks? Find out the open source way, with fio") — The most reliable way to test disks is down-and-dirty, on the command line. 



