This is mostly just me scratching out notes on a work in (slow) progress, and preserving knowledge for future me.
If I get to a successful end, I may polish things up into a useful guide. There are no doubt better places to find this and easier ways to do it ... but I couldn't find them, and if you've ended up here, you couldn't either. Sorry for that.
My primary goal is to create the most elegant native setup using an M1 mini and MacOS Ventura with a good balance of ease of operation and maintainability; my secondary goal is to enjoy being a geek and learn a lot of things. This means I'm all good with spending a few hours learning about Apple's built-in virtualization framework to see if I can use it directly vs. things like VirtualBox, Docker, or UTM. I want to get to the end goals of useful dashboards, etc., but my need isn't urgent so this is my geek therapy project.
- Use an M1 Mac Mini as the heart of a home automation system
- Operate using security best practices
- FileVault disk encryption
- ssh available, no passwords allowed
- Deploy all software in containers
- Operate everything securely in a
.home
TLD- Set up a CA to generate certs
- Make it easy to get the CA cert into new devices
- Have short, unqualified names that lead to services (e.g. https://dash/ for main dashboards, etc)
- Have everything start properly at boot
- Know the state of all the home automation devices in the house
- Have useful dashboards
- for the house
- for each person
- for guests
- Use Apple iCloud services for family info
- calendars
- iCloud drive?
- location services
- Be able to use the Home Assistant mobile apps with this setup
- Be able to VPN into our home network to see/do any of the above