Initial commit: MQTT to Clawdbot bridge

- Subscribe to MQTT topics, forward to Clawdbot webhook
- Configurable via environment variables
- Supports wake (system event) and agent (isolated) modes
- Includes systemd service template
- Home Assistant examples in README
This commit is contained in:
2026-01-28 10:09:25 +00:00
commit df98d3ef95
6 changed files with 396 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
[Unit]
Description=MQTT to Clawdbot Bridge
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/mqtt-clawdbot-bridge
ExecStart=/usr/bin/node index.js
Restart=always
RestartSec=10
# Load environment from file
EnvironmentFile=/opt/mqtt-clawdbot-bridge/.env
# Security hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target