Autostart on macOS

Tags: #<Tag:0x00007f7395d21b70>

:warning: This guide has been migrated from our website and might be outdated. Feel free to edit this guide to update it, and to remove this message after that.

Setting up Home Assistant to run as a background service is simple; macOS will start Home Assistant after the system has booted, the user has logged in, and make sure it’s always running.

To get Home Assistant installed as a background service, run:

$ hass --script macos install

Home Assistant has been installed.         Open it here: http://localhost:8123

Home Assistant will log to ~/Library/Logs/homeassistant.log

Configuration is kept in ~/.homeassistant

To uninstall the service, run:

$ hass --script macos uninstall

Home Assistant has been uninstalled.

Note:
automake is required for hass to start. If you are missing this on your system, you can install this by running:

brew install autoconf