Home Assistant
Drive and read your Home Assistant from N.I.N.A.
Work in progress
Overview
The Home Assistant plugin connects your smart home to N.I.N.A. in two ways: it exposes Home Assistant entities as channels of a N.I.N.A. Switch device, and it adds advanced-sequencer instructions to drive and read Home Assistant from a sequence. Once configured, the switch hub behaves like any native switch: it can be driven by N.I.N.A.'s built-in functions (the “Set Switch Value” instruction, conditions) and by other plugins, without them needing to know Home Assistant is behind it.
Features
HA entities as a Switch device
Map any Home Assistant entity to a switch channel: binary (on/off), stepped (discrete options) or analog (numeric, min/max/step), read-only, write-only or read/write.
Live updates
Connects through the Home Assistant WebSocket API, with REST polling as a fallback. The channel name shows the unit of measurement (e.g. “Terrace temp (°C)”).
Sequencer instructions
A “Home Assistant” category: Call HA Service, Wait for HA State, an HA State loop condition, and a “Publish to HA” trigger every N exposures.
N.I.N.A. patterns in services
Data sent to HA services accepts N.I.N.A. patterns: $$TARGETNAME$$, $$FILTER$$, $$CAMERA$$, $$TEMPERATURE$$, $$SQM$$, $$DATETIME$$, and more.
Autocompleting pickers
Entity and service fields everywhere use searchable, autocompleting pickers to find the right target fast.
N.I.N.A. status to a dashboard
Push N.I.N.A. status (target, filter, frame count, sensor temperature…) to an HA entity, e.g. to show it on a dashboard.
Screenshots
Install
Work in progress
This plugin is not released yet. Installation will be available once it ships.


