Skip to content
@hms-homelab

Home Management System

Home Management Systems is a framework for providing all local, private, automations at a home building to achieve self sufficiency

HMS Homelab

Homepage Status HMS-4C HMSP HMS-OSA

HMS Homelab banner

Open, public, and experimental home-management architecture for a community-driven homelab stack.

This organization publishes practical smart-home tools and services built from the author's homelab experience. These are real projects, in use now, and they are organized to be public, inspectable, and iteratable.

Why It Exists

Most home automation systems are built around individual products, vendor-specific integrations, or brittle glue between tools. That works for a narrow setup, but it breaks down when the environment grows across security, climate, media, comfort, monitoring, and experimentation.

HMS exists to define a more durable model:

  • interactions should be understandable, not ad hoc
  • device behavior should be shaped by context and constraints
  • integrations should be open enough for multiple implementations
  • the protocol layer should be separable from the architecture itself

The goal is not a single product. The goal is an open architecture that can survive changing devices, changing software, and changing requirements without losing coherence.

Goal

The long-term goal of HMS is a smart home that can:

  • stay self-sufficient without relying on brittle cloud glue
  • diagnose itself when something changes or fails
  • adapt to new devices, rooms, routines, and constraints
  • predict issues before they become outages or annoyances
  • prevent avoidable problems through local intelligence and clear architecture

That is why the intelligence layer sits above the operational layers: it is there to observe, infer, anticipate, and help the system improve over time rather than only react after the fact.

Model

HMS-4C is the governing design frame. HMS-OSA is the formal open architecture definition. HMSP is the protocol implementation path that realizes that definition.

4C Pillars

The 4C pillars shape interactions across devices and services:

Pillar Meaning
Components The replaceable parts in the system. A component can be a device, service, model, workflow, or operator-facing tool. The point is modularity: pieces can evolve without forcing the whole system to be rewritten.
Connectors The interactions and links between parts. This includes the message paths, APIs, transports, and discovery mechanisms that let components cooperate without becoming tightly coupled.
Constraints The limits that shape acceptable behavior. Constraints cover latency, power, bandwidth, availability, trust boundaries, and any other rule that keeps the system reliable and understandable.
Context The domain-specific meaning behind each interaction. A temperature reading, motion event, or command only matters when the system knows what domain it belongs to and what should happen next.

These pillars are the design discipline for HMS-OSA. They are the lens through which devices, services, and operators should interact.

HMS-OSA

HMS-OSA is the public architecture definition. It describes how the 4C pillars should be implemented so any participating device or service can be discovered, understood, and integrated consistently.

The spec is intentionally public and living:

HMSP

HMSP is the protocol implementation layer. It exists to make HMS-OSA practical: discovery, metadata exchange, state transport, command handling, and availability tracking.

The implementation is still experimental, but the public direction is stable:

  • a device or service should be able to announce itself cleanly
  • the system should know what it is, what it can do, and whether it is available
  • state and control should flow through a defined contract instead of one-off glue
  • future community implementations should be able to follow the same model

Public Shape

This project is public by design, but it is still experimental.

  • architecture first
  • protocol second
  • implementation third
  • no private network details in public docs

The README explains the model at a high level. The docs directory holds the living spec and redaction notes for ongoing iteration.

Architecture

HMS-4C architecture draft

The public model is vendor-neutral:

  • any device or service can participate if it implements the architecture
  • named platforms are not part of the core diagram
  • external integrations are treated as abstract endpoints, not primary dependencies
  • the protocol work stays open and implementation-focused

Repositories

Key public-facing repos include:

  • hmsp-protocol — HMSP spec, C++ library, SDKs, and draft implementation work
  • hms-shared — shared libraries and reusable code
  • hms-cpap — CPAP data collection and Home Assistant integration
  • hms-nut — UPS monitoring and alerts
  • hms-firetv — Fire TV automation service
  • hms-tuya — Tuya WiFi bridge with HA auto-discovery

Most Starred Public Repos

Current public standouts include:

Public Docs

What This Org Publishes

  • redacted architecture documents
  • protocol and specification summaries
  • experimental implementation notes
  • reusable infrastructure and integration references

Tags

  • homelab
  • experimental
  • protocols
  • open-standard
  • community
  • architecture
  • hms

Contact

Public contact: the homepage above and the published project docs. Email exposure can be added where you choose to publish it.

Pinned Loading

  1. hms-cpap hms-cpap Public

    ResMed CPAP data collection service for Home Assistant. Collects therapy data via ez Share WiFi SD card with OSCAR-compatible metrics.

    C++ 63 2

  2. hms-assist-api hms-assist-api Public

    HMS-Assist voice assistant backend — C++ service with 3-tier intent classification, Home Assistant integration, and MQTT orchestration

    C++ 10

  3. hms-mm hms-mm Public

    Dual ESP32-C3 miner/mule WiFi SD card bridge. Downloads files over WiFi SD AP, serves over HTTP on home network. Experimental.

    C 6

  4. hms-cpapdash-charts hms-cpapdash-charts Public

    Shared Angular chart component library for CPAP therapy data visualization — used across the CpapDash apps.

    TypeScript

  5. hms-tuya hms-tuya Public

    C++ Tuya WiFi MQTT bridge with Home Assistant auto-discovery. Local control, 2 MB memory, per-device threads.

    C++

  6. hms-nvr hms-nvr Public

    Amcrest camera event stream monitor — publishes motion, doorbell, and connection failure events to MQTT. C++17 with libcurl digest auth and multi-camera support.

    C++

Repositories

Showing 10 of 25 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…