/HassWP

Portable version of Home Assistant for Windows (no need to install)

Primary LanguagePython

Home Assistant Windows Portable (HassWP)

Portable version of Home Assistant for Windows.

ATTENTION: Direct works on Windows is not maintained by the core developers of Home Assistant. So some components/integrations may not work at all. No need to ask me or the core authors to fix it. If something you need doesn't work - use virtualization.

Preinstalled:

HOWTO

  1. Download HassWP_XXXX.XX.X.zip
  2. Unpack
  3. Run

Useful files:

  • hass.cmd - run Home Assistant and default Browser
  • notepad.cmd - run NotePad with configuration.yaml
  • web.url - open default Browser with http://localhost:8123/
  • config/reset.cmd - reset Home Assistant but don't touch config files

Windows 7 or 32-bit

Latest HassWP versions are build for Windows 8+ 64-bit.

If you want the Windows 7 version or 32-bit support - download Hass v2021.12.10. This is because Hass 2021.12.10 is the last Hass with Python 3.8 support. And Python 3.8 it the last Python with Windows 7 support.

Supervisor and Addons

HassWP don't have and can't have supervisor and any Hass.io addons. Supervisor can be installed only over Docker. Nativelly Docker works only on Linux core. In any other OS it will use virtualization.

If you really needs Hass.io addons on Windows - use virtualization.

Cameras

Latest HassWP supports cameras stream. For snapshot and recording use relative path from your config folder - media\snapshot.jpeg or www\video.mp4.

Generic camera and WebRTC integrations do not need ffmpeg in your system. But it you want use FFmpeg integration - download ffmpeg manually and put ffmpeg.exe (80-120 MB) to your config folder.

Move config

You can transfer your configuration to another Hass installation at any time. In another HassWP, venv, docker, hass.io, etc. Windows or Linux, it doesn't matter. Just move the contents of the config folder to a new location. Remember about config/.storage folder, it is also important.

Before any movement - stop the old and new Home Assistant!

Voice Assistant

Latest HassWP supports local Speech-to-Text (STT) engine - Faster Whisper. And Stream Assist - custom component that allows you to turn almost any camera and almost any speaker into a local voice assistant.

Video Demo

Home Assistant Windows Portable (HassWP)

Do it yourself

  1. Download and unpack WinpythonXX-3.XX.XX.0dot.exe
  2. Run from command line:
scripts\env.bat
python -m pip install homeassistant==XXXX.XX
pip install https://github.com/AlexxIT/HassWP/archive/master.zip
mkdir config
python -m hass_win -c config -v