تخطَّ إلى المحتوى

home

هذا المحتوى غير متوفر بلغتك بعد.

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_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install home

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.

Env VarDefaultDescription
HOME_PORT3127Port the service listens on
HOME_ASSISTANT_URLnoneBase URL of your Home Assistant instance (e.g. http://homeassistant.local:8123)
HOME_ASSISTANT_TOKENnoneLong-lived access token from Home Assistant
PortPurpose
3127Home automation REST API

3 tables added to your Postgres database:

  • np_home_devices
  • np_home_commands
  • np_home_states
RouteTarget
/api/home/localhost:3127