/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/server/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
(I'm using zsh
, you'll get different instructions for bash
or other terms)
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
chmod +x ./Miniconda3-latest-MacOSX-arm64.sh
./Miniconda3-latest-MacOSX-arm64.sh
If it fails, run it again with update flag:
./Miniconda3-latest-MacOSX-arm64.sh -u
conda update -n base conda
rm ./Miniconda3-latest-MacOSX-arm64.sh
conda create --name hass
conda activate hass
Original instructions involved conda-forge, but there were weird errors, and I went with pip3 instead: https://stackoverflow.com/questions/56895109/how-to-fix-unsatisfiableerror-the-following-specifications-were-found-to-be-in
pip3 install homeassistant
No idea why they didn't get installed; you can look at ~/Library/logs/homeassistant.log
to see what might be holding up your own installation
- aiohttp_cors is necessary to get HA to start
- PyNaCl is necessary to use the HA mobile app and other default integrations
pip3 install aiohttp_cors
pip3 install pynacl
wget -O - https://get.hacs.xyz | bash -
hass --script macos install
This will create ~/Library/LaunchAgents/org.homeassistant.plist
.
Navigate to: http://localhost:8123
And you should be good!
- Check the logs (
~/Library/logs/homeassistant.log
) - Install anything else you might need through
brew
orpip3
- Restart the service with:
launchctl unload ~/Library/LaunchAgents/org.homeassistant.plist
launchctl load org.homeassistant.plist
https://community.home-assistant.io/t/guide-macos-m1-and-home-assistant-including-zwave/398183 https://www.vanderlaanscience.nl/posts/home-assistant-core-on-mac-m1-ventura