home
هذا المحتوى غير متوفر بلغتك بعد.
Home Plugin
Section titled “Home Plugin”Home automation integration via Home Assistant REST client. Device discovery, command dispatch, state monitoring. Pro plugin.
Requires: Basic license tier or higher.
nself license set nself_pro_...
Install
Section titled “Install”nself license set nself_pro_xxxxx...nself plugin install homeWhat It Does
Section titled “What It Does”The home plugin acts as a REST client to your existing Home Assistant instance, exposing device discovery, command dispatch, and state monitoring through your nself API. It persists device metadata and command history to Postgres so you can query and audit automations alongside the rest of your application data.
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
HOME_PORT | 3127 | Port the service listens on |
HOME_ASSISTANT_URL | none | Base URL of your Home Assistant instance (e.g. http://homeassistant.local:8123) |
HOME_ASSISTANT_TOKEN | none | Long-lived access token from Home Assistant |
| Port | Purpose |
|---|---|
3127 | Home automation REST API |
Database Tables
Section titled “Database Tables”3 tables added to your Postgres database:
np_home_devicesnp_home_commandsnp_home_states
Nginx Routes
Section titled “Nginx Routes”| Route | Target |
|---|---|
/api/home/ | localhost:3127 |