hats

command module
v0.27.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 10 Imported by: 0

README

HATS

Home Assistant + NATS = HATS

I have been running this at home for over a year, but should be considered alpha software because breaking changes can occur at any time.

Features

NATS Topics

  • homeassistant.states.{domain}.{entity}.{state} - Home Assistant device state changes: payload
  • homeassistant.attributes.{domain}.{entity}.{state} - When a device's attributes change but the state hasn't changed: payload
  • homeassistant.zha.{device IEEE} - ZHA events: payload
  • homeassistant.zwave-scene.{device ID} - ZwaveJS scene events: payload
  • homeassistant.nfc.{tag ID} - Home Assistant NFC tag scanned: payload
  • homeassistant.timer.{timer name}.finished - Home Assistant timer finished: payload is simply "finished"
  • schedules.{schedule name} - HATS schedule finished: payload is simply "finished"
  • command.{command name} - Command called via HATS API: payload is a byte array of the HTTP Post body

Examples (work in progress)

See the example directory for an example Docker Compose and client implementation.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL