#iot #home-assistant #smart-home #mqtt

homeassistant-agent

A crate for implementing MQTT-based Home Assistant integrations

10 releases

0.2.0 Apr 7, 2024
0.2.0-alpha.8 Mar 27, 2024
0.2.0-alpha.1 Feb 23, 2024
0.1.0 Feb 23, 2024

#9 in #home-assistant

Download history 2/week @ 2025-02-13 5/week @ 2025-02-27

642 downloads per month
Used in resymo-agent

Apache-2.0

26KB
601 lines

Home Assistant Agent

crates.io docs.rs GitHub release (latest SemVer) CI

This crates helps in creating devices for Home Assistant MQTT integration.

Important

This is an early experiment.

ToDos

These are just some high-level notes:

  • More type-safety: A switch needs a command topic, a binary sensor must send binary data
  • Device topics must be more flexible, the command base is not a requirement
  • Higher level abstractions for creating/managing sensors/devices

Dependencies

~5–16MB
~230K SLoC