HomeKit Accessory Protocol for OpenBSD
OpenHAP bridges MQTT-connected Tasmota devices to Apple HomeKit, enabling control via the iOS Home app.
- HomeKit: Full HAP implementation with secure pairing
- Crypto: SRP-6a, Ed25519, X25519, ChaCha20-Poly1305
- Thermostats: Control Tasmota heaters with temperature sensors
- MQTT: Connects HomeKit to MQTT-based devices
- OpenBSD: Native with pledge(2)/unveil(2) support
make deps
make install
cp /etc/examples/openhapd.conf /etc/openhapd.conf
vi /etc/openhapd.conf
rcctl enable mosquitto openhapd
rcctl start mosquitto openhapdSee INSTALL.md for complete installation instructions.
openhapd(8)- Daemon and command-line optionsopenhapd.conf(5)- Configuration file formathapctl(8)- Control utility
make deps-develop # Install all dependencies
make test # Run test suite
make lint # Check code style
make man # Build man pagesSee .github/copilot-instructions.md for coding style.
iOS Home App
│
│ TCP/TLS (HAP)
▼
┌─────────────┐ ┌───────────┐ ┌─────────────┐
│ openhapd │◄───►│ mosquitto │◄───►│ Tasmota │
│ :51827 │ │ :1883 │ │ Devices │
└─────────────┘ └───────────┘ └─────────────┘
ISC License. See LICENSE.