Devices
Devices and zones
How a device, its zones and the people on it appear in the API.
A device is one Orion bed. Each device has zones: sides whose temperature is set on its own. This page explains how they are named, how temperatures work, and who may change what.
Devices
List devices
List devices is the starting point. It returns every device you can access:
Get live device state
Get live device state returns what one device is doing now: each zone's target and on/off state, the measured temperature in the bed, any active thermal relief, the water fill, LED brightness, quiet mode, whether the bed is online, sensor readings and network details.
Zones and sides
A two-zone device has zone_a and zone_b. Which side is which depends on where you stand:
When someone says "my left side", they usually mean the lying-down view, which is zone_a. Better still, match by person: each zone in List devices shows the user on it.
Temperatures
- Every temperature is in degrees Celsius, in requests and in responses.
- A zone's
tempis its target, the temperature you asked for. In Get live device state,status.zones[].tempis the measured temperature in the bed. The two differ while the device heats or cools. - Each device clamps a target to its own range. That is usually the model range in
temperature_range, but a device can be set to a wider range of its own. So the API does not refuse a value only because it is outsidetemperature_range; the bed brings it into its range. - Timeline events are stricter: a temperature outside
temperature_rangeis refused.
Change zones now
Set zone
Set zone changes one zone of one device.
Send temp, on, or both. An empty update answers 400 invalid.
Set multiple zones
Set multiple zones changes every listed zone in one update to the device, so both sides change together. Each zone needs temp or on, each zone may appear once, and zones you leave out stay as they are:
Set zone and Set multiple zones both answer with every zone of the device after the change. To change zones later, every night, or for one night, see Timeline events and Schedules.
Thermal relief
Thermal relief runs one or more zones at full heat (about 45 °C) or full cooling (about 10 °C) for a while, then puts the zones back as they were. Use it for "warm the bed up now"; use Set zone for a specific temperature.
Start thermal relief
Start thermal relief starts it on the zones you name.
type is heat or cool. duration_minutes is 1 to 120 and defaults to 30.
Cancel thermal relief
Cancel thermal relief stops it early and restores the previous state. Send zones to cancel only some zones, or no body to cancel all of them.
LED brightness and quiet mode
Update device settings sets the device's LED brightness and quiet mode right away. Send at least one of them.
led_brightness is 0 (off) to 100. Quiet mode makes the fan and pump quieter and gentler. Anyone on the device may change these.
Who sleeps where
Each zone has at most one person on it. Sleep configuration covers moving people: going away, coming back, taking a zone, swapping sides and splitting a device's zones.
Roles and permissions
Each person on a device has a role:
permissions.can lists what you may do on each device, grouped by area (device, sleep, and others). Every key is always present, as true or false. Read it before you offer an action, rather than working it out from the role.
Operations that take a user_id act on you when you leave it out. To act on someone else, pass their id from shared_with; you need the owner or admin role on a device you share with them. Without it, the request answers 403 forbidden.