Skip to content

RC script for Home Assistant Core in a Python virtual environment on FreeBSD

License

Notifications You must be signed in to change notification settings

brendans-bits/freebsd-home-assistant-rc-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

An RC script for Home Assistant Core in a Python virtual environment on FreeBSD

This rc script assumes that you have installed Home Assistant Core in a Python virtual environment. See these instructions for an example of how to do this: https://blog.brendans-bits.com/posts/2024/upgradable-home-assistant-in-a-freebsd-jail/

This script was developed to make it easy to change Python virtual environments as Home Assistant Core is upgraded between releases. For example: to upgrade from HA Core 2024.2 to 2024.3, you would create a new python virtual environment where you install the new version of HA. To begin using the new version of HA, you change the path in the homeassistant_environment variable in /etc/rc.conf to point to the new python virtual environment and then restart the homeassistant service.

The script also includes a custom status method that shows you which versions of Python and of Home Assistant Core are running.

Suggestions and contributions welcomed.

About

RC script for Home Assistant Core in a Python virtual environment on FreeBSD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages