Capability

Home Assistant bridge

XOBIT can expose script-defined controls and values to Home Assistant so a prototype can become part of a living environment instead of staying isolated in the browser.

How It Works

  1. The sketch declares entities. API calls such as `haSwitch()`, `haLight()`, and value helpers describe the entities.
  2. The firmware publishes availability and metadata. Home Assistant can discover and interact with the declared controls through the firmware bridge.
  3. Events return to the script. A Home Assistant change can be consumed by the running sketch just like browser UI events.
  4. The script can update state. It can report values, light state, switch state, and button-like events back toward Home Assistant.

Design Notes

Related Reference