/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.shIf it fails, run it again with update flag:
./Miniconda3-latest-MacOSX-arm64.sh -uconda update -n base condarm ./Miniconda3-latest-MacOSX-arm64.shconda create --name hass
conda activate hassOriginal 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 homeassistantNo 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 pynaclwget -O - https://get.hacs.xyz | bash -hass --script macos installThis 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
breworpip3 - Restart the service with:
launchctl unload ~/Library/LaunchAgents/org.homeassistant.plist
launchctl load org.homeassistant.plisthttps://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