Skip to main content

Products and operations

The product types, how to read a product's state, and which operations each type supports.

Product types​

product_type_idTypeType block in the responseDevice id
2BarrierbarrierB + 6 characters
3GategateG + 6 characters
4BrainbrainR + 6 characters
5ChainchainC + 6 characters
6BollardbollardP + 6 characters

The 6 characters are uppercase letters and digits, for example B1A2B3C.

GET /v2/products lists your products, except products that aren't paired (no active pairing with the Connect app).

Reading a product​

Every product has these fields, among others:

FieldValues
statusonline: a connected Gateway can see the product, so commands can reach it. offline: none can.
power_typebattery or grid
battery_statusBattery level in percent; null while offline
rssiBluetooth signal strength to the best Gateway, in dBm; null while offline
lot_id, zone_idWhere the product is
product_errorThe device's error flags (below), or null

Plus exactly one type block, named after the type:

barrier

FieldValues
stateopened or closed
is_autoclose1 if auto-close is on, else 0
autoclose_timeThe auto-close delay, in seconds
is_car_on_top1 while a car is over the barrier, else 0

gate, chain, bollard, brain

FieldValues
stateopened, closed, error, unknown, reserved or disabled
permanent_positiondisabled (normal operation), stay_open or stay_close

What open and close mean​

Productopenclose
BarrierThe arm lowers: the spot can be used.The arm rises: the spot is blocked.
Gate, chain, bollard, brainThe passage opens: vehicles can pass.The passage closes.

A barrier protects a single parking space, so "open" means the space is open to park in.

Operations​

Send operations with POST /v2/products/{id}/state:

Request body
{ "operation": "open" }
OperationBarrierGate, chain, bollard, brain
open✅ arm lowers✅ passage opens
close✅ arm rises✅ passage closes
force_close✅—
stay_open—✅ holds the passage open
stay_close—✅ holds the passage closed
clear_stay_open—✅ ends stay_open
clear_stay_close—✅ ends stay_close

The API doesn't check the combination for you: check the matrix in your code before sending an operation. Combinations marked — aren't supported.

The call returns an event_id straight away; the result arrives later over the realtime connection. See Asynchronous operations.

Settings (barriers)​

POST /v2/products/{id}/settings changes a barrier's auto-close. Send one setting per call:

Turn auto-close on or off
{ "is_autoclose": true }
Set the auto-close delay (5–60 seconds)
{ "autoclose_time": 30 }
  • Send is_autoclose as a JSON boolean, true or false, not 1/0.
  • If you send both, only is_autoclose is applied.
  • An empty body fails.

Like a state change, it returns an event_id, and the result arrives as a realtime event.

Error flags​

product_error reports problems the device itself detects. Each flag is 0 or 1:

FlagMeaning
jammedThe arm or mechanism is blocked.
sensor_dirtyThe car-detection sensor is dirty.
pin_brokenReported by the device; see the product's manual.
rtcc_invalidThe device's clock isn't set. Time-limited credentials (operation tokens, keys) won't work until it is.
battery_emptyThe battery is empty.
master_key_not_setReported by the device; see the product's manual.

error_code holds the same six flags as a string of 0s and 1s, in the order above; for example "010010" means a dirty sensor and an empty battery.

Next​