REST API and webhooks

API Uppdaterad 2026-05-24

RF-HUB exposes a REST API on its local IP for reading sensors and controlling devices.

Endpoints

  • GET /api/devices — list all devices with state
  • POST /api/device/{id}/send — send command to device
  • GET /api/sensors — read sensor values

Webhooks

RF-HUB can POST to any URL when a trigger fires. Configure in Automations → Action → HTTP. Works with IFTTT, Telegram, Discord, Node-RED, etc.