HassWP
HassWP copied to clipboard
Portable version of Home Assistant for Windows (no need to install)
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:
- WinPython v3.9.10 64-bit
- Home Assistant v2022.8.6
- HACS v1.26.2
- SonoffLAN v3.1.0
- XiaomiGateway3 v2.1.1
- WebRTC v2.3.1
- YandexStation v3.11.0
- StartTime v1.1.6
- NotePad++ v7.8.5 32bit
HOWTO
- Download HassWP_XXXX.XX.X.zip
- Unpack
- Run
Useful files:
-
hass.cmd
- run Home Assistant and default Browser -
notepad.cmd
- run NotePad withconfiguration.yaml
-
web.url
- open default Browser with http://localhost:8123/ -
config/reset.cmd
- reset Home Assistant but don't touch config files
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!
Video Demo
Problems
-
If you have this problem:
File "C:\HassWP\python-3.8.7\lib\socket.py", line 49, in <module> import _socket ImportError: DLL load failed while importing _socket
Install Windows update: KB2533623.
Do it yourself
- Download and unpack
WinpythonXX-3.XX.XX.0dot.exe
- 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