~ / rigs / matiashoffmeyer / home-automation-platform

matiashoffmeyer/home-automation-platform

Event-driven IoT & data automation platform on Home Assistant: mmWave presence, Zigbee, Thread, grocery shopping, dew prediction, party lights, offline config validation, built with an AI-native engineering method

↗ GitHub ★ 2 Apache-2.0 updated 15d ago project Claude CodeCodex
field: IoT & hardware workflow: CI/CD & deploy
stack: Python
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~10.0k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 36/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit matiashoffmeyer/home-automation-platform/.claude ./rig-home-automation-platform  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/bug-hunt .claude/skills/bug-hunt
$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/deploy .claude/skills/deploy
$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/failure-class-review .claude/skills/failure-class-review
$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/measure-threshold .claude/skills/measure-threshold
$ npx degit matiashoffmeyer/home-automation-platform/.claude/skills/new-slider .claude/skills/new-slider

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Read|Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py\" pre"
          }
        ]
      },
      {
        "matcher": "Read|Edit|Write|MultiEdit|Bash|Grep",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/claude_rules.py\" hook"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/restart_guard.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/live_guard.py\""
          }
        ]
      },
      {
        "matcher": "Workflow|Agent|Task",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/agent_guard.py\""
          }
        ]
      }
    ]
  }
}

Skills (5)

Hooks (8)

eventmatcherruns
SessionStart*bash "$CLAUDE_PROJECT_DIR/scripts/session_start.sh"
PreToolUseRead|Edit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py" pre
PreToolUseRead|Edit|Write|MultiEdit|Bash|Greppython3 "$CLAUDE_PROJECT_DIR/scripts/claude_rules.py" hook
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/scripts/restart_guard.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/scripts/live_guard.py"
PreToolUseWorkflow|Agent|Taskpython3 "$CLAUDE_PROJECT_DIR/scripts/agent_guard.py"
PostToolUseEdit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/scripts/ejerskab_hook.py" post
SubagentStop*python3 "$CLAUDE_PROJECT_DIR/scripts/agent_guard.py" stop

Similar rigs

copied ✓