@thibautrey/chatons-extension-homeassistant
v1.1.0
Published
Home Assistant integration for Chatons with tools and automation events
Downloads
67
Readme
Home Assistant extension for Chatons
Location: /Users/thibaut/.chaton/extensions/@thibautrey/chatons-extension-homeassistant
Features
- Home Assistant configuration UI
- REST snapshot sync for entities, services, areas, devices, and people
- LLM tools for common Home Assistant operations
- Custom automation events published to Chatons:
extension.ha_entity_state_changedextension.ha_person_entered_zoneextension.ha_person_left_zoneextension.ha_zone_occupiedextension.ha_zone_vacatedextension.ha_device_turned_onextension.ha_device_turned_offextension.ha_alarm_triggeredextension.ha_sun_risenextension.ha_sun_setextension.ha_scene_activatedextension.ha_custom_event_received
Notes
- The extension now starts a small local background status server (
server.js) and keeps a persistent Home Assistant WebSocket listener alive from the extension runtime. - The WebSocket listener subscribes to
state_changedand generic Home Assistant events, updates the local cache, and publishes Chatons automation events in near real time. - The Chatons runtime sandbox was minimally extended so sandboxed extensions can call host methods and publish automation events.
- Restart Chatons after changing extension files.
