IKEA DIRIGERA local API (0.1.0)

Community maintained description of the local REST API on the IKEA DIRIGERA hub.

📡 Websocket events (ping, pong and change events) are documented on the events page.

The DIRIGERA hub exposes an HTTPS API on port 8443 of your local network. IKEA doesn't document it, so this specification is assembled from community clients and checked against a real hub. See the README for every source.

The hub certificate is signed by IKEA's private "IKEA Home smart Root CA", which no system trusts, so clients must disable certificate verification or pin the hub certificate.

Most writes are applied asynchronously. The hub answers 202 Accepted before the change has happened, so a read straight afterwards can still return the old value. Wait for the matching websocket event instead.

Request bodies are validated, and a failed validation returns 400 with a message such as "name" is required. A body that doesn't match what the server expects in other ways often returns 500 with Something went wrong.

Every operation carries two vendor extensions:

  • x-verified: true when the operation was called against a real hub (firmware 2.975.4) while writing this spec and its response matched the schema. Operations that haven't been called give their success status as 2XX, since the exact code isn't known.
  • x-sources: the community projects that use the operation, as GitHub owner/repo slugs. x-source-repositories at the root links each one. IKEA Home smart app means the request was seen in traffic from IKEA's own app. An empty list means the route was found by probing a hub and no known client uses it.

IKEA's app generates the id of new rooms, scenes and adaptive profiles itself and sends it in the create request. The hub keeps a given id, and generates one when it's left out.

Real-time updates are pushed over a websocket that OpenAPI can't describe. It's covered by asyncapi.yaml in the same repository.

Many string fields hold values the hub adds to over time (device types, capabilities, icons). They are typed as plain strings with the known values in the description, so generated clients keep working when IKEA adds new ones.

Servers
DIRIGERA hub on the local network
https://{host}:8443/v1