Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AlexxIT/HassWP

Portable version of Home Assistant for Windows (no need to install)
https://github.com/AlexxIT/HassWP

home-assistant portable windows

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Home Assistant Windows Portable (HassWP)

![](https://img.shields.io/github/stars/AlexxIT/HassWP?style=flat-square&logo=github)
![](https://img.shields.io/github/downloads/AlexxIT/HassWP/total?color=blue&style=flat-square&logo=github)

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](https://www.home-assistant.io/installation/windows).

Preinstalled:

- [WinPython](https://winpython.github.io/) v3.12.3 64-bit
- [Home Assistant](https://www.home-assistant.io/) v2024.4.3
- [NotePad++](https://notepad-plus-plus.org/) v7.8.5 32bit
- [HACS](https://hacs.xyz/) v1.34.0
- [Ergomotion Smart Beds](https://github.com/AlexxIT/Ergomotion) v1.0.1
- [FasterWhisper](https://github.com/AlexxIT/FasterWhisper) v1.0.0
- [Hass Diagnostics](https://github.com/AlexxIT/HassDiagnostics) v1.0.0
- [JURA Coffee Machines](https://github.com/AlexxIT/Jura) v1.0.3
- [SonoffLAN](https://github.com/AlexxIT/SonoffLAN) v3.7.1
- [StreamAssist](https://github.com/AlexxIT/StreamAssist) v2.0.0
- [WebRTC](https://github.com/AlexxIT/WebRTC) v3.5.2
- [XiaomiGateway3](https://github.com/AlexxIT/XiaomiGateway3) v4.0.3
- [YandexStation](https://github.com/AlexxIT/YandexStation) v3.15.1

## HOWTO

1. Download [HassWP_XXXX.XX.X.zip](https://github.com/AlexxIT/HassWP/releases/latest)
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

## 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](https://www.home-assistant.io/installation/windows).

## Cameras

Latest HassWP supports [cameras stream](https://www.home-assistant.io/integrations/camera/). For snapshot and recording use relative path from your `config` folder - `media\snapshot.jpeg` or `www\video.mp4`.

[Generic camera](https://www.home-assistant.io/integrations/generic/) and [WebRTC](https://github.com/AlexxIT/WebRTC) integrations do not need ffmpeg in your system. But it you want use [FFmpeg](https://www.home-assistant.io/integrations/ffmpeg/) integration - [download ffmpeg](https://ffmpeg.org/download.html) 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](https://github.com/AlexxIT/FasterWhisper). And [Stream Assist](https://github.com/AlexxIT/StreamAssist) - custom component that allows you to turn almost [any camera](https://www.home-assistant.io/integrations/#camera) and almost [any speaker](https://www.home-assistant.io/integrations/#media-player) into a local [voice assistant](https://www.home-assistant.io/integrations/#voice).

## Video Demo

[![Home Assistant Windows Portable (HassWP)](https://img.youtube.com/vi/GFw3J3Jbuas/mqdefault.jpg)](https://www.youtube.com/watch?v=GFw3J3Jbuas)

## 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
```