# Fancy a side project? Build the first Home-Mandate gateway for openHAB. No deadline, no obligations

**URL:** <https://community.openhab.org/t/fancy-a-side-project-build-the-first-home-mandate-gateway-for-openhab-no-deadline-no-obligations/170857>\
**Category:** Misc\
**Created:** [November 3, 2026, 2:54pm UTC](https://community.openhab.org/t/fancy-a-side-project-build-the-first-home-mandate-gateway-for-openhab-no-deadline-no-obligations/170857 "2026-11-03T14:54:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus\_M](https://community.openhab.org/user_avatar/community.openhab.org/markus_m/32/1690_2.png) [@Markus\_M](https://community.openhab.org/u/Markus_M)\
**Post date:** [November 3, 2026, 2:54pm UTC](https://community.openhab.org/t/fancy-a-side-project-build-the-first-home-mandate-gateway-for-openhab-no-deadline-no-obligations/170857/1 "2026-11-03T14:54:31Z")

</div>

Hi everyone,

some of you helped me with the Home-Mandate specification over the past weeks. It reached v0.1.0 on 2 November and its formats are now frozen, thanks in part to the feedback from this forum. So the ground won’t shift under anyone who builds on it.

That makes this the right moment to ask: would someone enjoy bringing Home-Mandate to openHAB? You could start with the gateway, or first build a Java implementation of the spec.

**The most important thing first: this is voluntary, and there is no time pressure.**  
There is no deadline and no roadmap to meet, and nobody is waiting for a delivery date. Work on it when you feel like it, pause for three months, or stop altogether; a short note is enough. You owe nobody a feature list or support for users. That isn’t just me being polite, it’s written into the project’s rules.

**What it is, if you’re new here:**  
a gateway sits between an AI agent and openHAB. The agent gets no openHAB credential of its own. Every request goes through the gateway, which checks the household’s mandate: allow, ask a human first, or deny. Everything lands in a tamper-evident log. The limit is enforced outside the model, so a prompt injection can’t talk its way past it.

**Two ways in, pick whichever appeals to you:**

- **A Java implementation first.** There’s no Java library yet, and it would be the natural base for a real openHAB add-on. It’s a self-contained job: you don’t need a running openHAB, only the spec and the test cases. It’s useful on its own too, because anyone on the JVM could build on it. Whether you or someone else writes the gateway later is completely open.
- **The gateway directly.** Build on a library that already exists and run it as a separate service next to openHAB, or write the part you need in Java as you go.

**Why it could be fun:**

- **Nobody has done it yet.** So far there’s only my gateway for Home Assistant, and libraries in Go and TypeScript. Yours would be the first gateway on another platform, or the first implementation in Java.
- **You don’t start from zero.** There’s a draft openHAB profile, built with a lot of help from Rich, that maps Items, the semantic model and commands to the spec. It hasn’t met a real implementation yet, so you’d be the one to find out where it’s wrong. If you go for the gateway, the evaluation rules, audit verification and signature checks already exist as Apache 2.0 libraries in Go and TypeScript.
- **You always know where you stand.** The test tool plays 854 conformance cases against your code, so “does it work?” has a measurable answer from the first day. What can’t be tested from outside, such as how an approval reaches a person, is listed in section 11 of the spec.
- **It’s yours.** Language, architecture, add-on or separate service next to openHAB, your decision. Keep it in your own account, or I’ll create `spec-java` or `openhab-home-mandate` in the organization and you run it. Libraries in the organization use Apache 2.0, a bridge may also use a copyleft license.
- **You help shape the spec.** If the text leaves you guessing, that’s a fault of the spec, not yours. I fix the text and add a test case.
- **Your work gets seen.** Implementations that pass are listed on [home-mandate.org](http://home-mandate.org). With my approval, yours can carry a name like “Home-Mandate for openHAB” or `home-mandate-java` and the compatibility mark.

**Vibe coding? Yes, that’s fine.** Build it with as much AI help as you like, and you don’t have to disclose it. There’s one condition: you can fully review and understand the result, and you take responsibility for every line. This software decides whether an agent may unlock someone’s door, so “the AI wrote it and the tests are green” isn’t enough on its own. If you write your own signature checks, digests, canonicalization or evaluation, as a Java implementation does, a person reviews them before they’re merged. And an implementation is written from the spec and its test cases, not ported from the Go or TypeScript code, because that’s how we find out whether the text alone is enough. The conformance suite also makes a very good target for an AI assistant, because it says exactly what’s still wrong.

**To be honest about the size:** a complete gateway is a real project, with the connection to openHAB, approvals, the log and a way to edit mandates. But it can grow in pieces. The conformance classes are tested separately, and you only claim the ones you pass. A Java library needs only the `evaluator` class to begin with, so that’s a good small first goal. A half-finished experiment that teaches us where the spec or the profile falls short is already worth a lot to me.

All of this needs nothing from the openHAB maintainers. It runs on what openHAB offers today.

If you’re interested, even if you’re only curious, reply here or send me a PM. I’ll gladly answer every question about the spec and think through the design with you.

- Spec v0.1.0: [spec/SPEC-v0.md at v0.1.0 · home-mandate/spec · GitHub](https://github.com/home-mandate/spec/blob/v0.1.0/SPEC-v0.md)
- openHAB profile: [spec/profiles/openhab.md at v0.1.0 · home-mandate/spec · GitHub](https://github.com/home-mandate/spec/blob/v0.1.0/profiles/openhab.md)
- Rules for implementations: [.github/IMPLEMENTATIONS.md at main · home-mandate/.github · GitHub](https://github.com/home-mandate/.github/blob/main/IMPLEMENTATIONS.md)
- Name and logo: [.github/TRADEMARKS.md at main · home-mandate/.github · GitHub](https://github.com/home-mandate/.github/blob/main/TRADEMARKS.md)
- AI assistance: [.github/CONTRIBUTING.md at main · home-mandate/.github · GitHub](https://github.com/home-mandate/.github/blob/main/CONTRIBUTING.md#ai-assistance)
- Overview: [Home-Mandate – AI agent permissions for your smart home](https://home-mandate.org/?ref=openhab)
