Writing a HUP Device Adapter
Looking to pair a phone from the dashboard? Use Pairing & Access. This page is for building custom HUP adapters.
Concepts
Quick Start (Python SDK)
run():
- It opens a WebSocket to the Brain’s
/v1/daemonendpoint. - It sends a
node_registermessage with its manifest. - It starts two concurrent loops:
- Telemetry loop — calls
read_telemetry()everytelemetry_interval_sseconds and pushes results. - Command loop — listens for
node.invokemessages and dispatches toexecute_action().
- Telemetry loop — calls
Raw WebSocket (No SDK)
You can also connect with plain WebSocket messages:Device Manifest
The manifest tells the Brain what the device can do:HUP Action Types
Viewing Connected Devices
Supported Devices
FERAL ships with reference adapters for:
Use these as templates for your own hardware adapters.
TypeScript / Node Adapter
FeralNode API.