Skip to content

Hubitat

A bridge to a Hubitat Elevation hub. Every device the hub exposes becomes a child in reMaestro, and its commands are learned from what Hubitat reports each device can do.

Two channels:

  • Commands go out over Hubitat’s Maker API (HTTP).
  • State comes back over Hubitat’s event socket (ws://<host>/eventsocket), which reMaestro dials out to and holds open, reconnecting with backoff if it drops.

The bridge implements IBridgeDevice, trait bridge.

  • host — the Hubitat hub address.
  • appId — the Maker API app id.
  • token — the Maker API access token (secret).
  • device — the device to expose.

Child commands are learned per device (via SetCommands):

CommandWhat it does
power_on / power_offTurn a device on or off
refreshRe-read device state
set_brightnessSet light brightness
set_volumeSet volume
commandRun any command the device reports, with parameters

command is the escape hatch — it runs any command Hubitat reports for a device (for example, a keyPress on a Roku TV that’s bound to Hubitat), so you’re not limited to the mapped verbs above.