This request returns all the APs for the account.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request sets the timezone for the access point with will then propagate to all of the devices on the network. Devices on the network are aware of time down to the millisecond which is importantfor light scheduling and data collection.
Supported timezones can be found in moment-timezone, https://momentjs.com/timezone/
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
timezone_id | America/Detroit |
This request will send an invitation code to the new devices that have not been associated to the network. It takes approximately 30 seconds for every unassociated device to join the network. The next step afer this is to check for new devices and then auth them via the two other API calls.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request will list all of the lights associated to the access point.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request will list all of the lights associated to the access point.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request will list all CO2 sensors associated to the AP.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request will list all zones associated to the AP.
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Setting the period controls how often the CO2 is sampled. The unit is in seconds and must be 60 or greater. Please keep in mind a lower sampling rate will impact time between battery changes.
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
time | 300 | Integer in seconds |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
name | My First Light | String |
Calling this function will force the CO2 sensor to start a measurement. Note, it may take up to 60 seconds for the measurement to be sent back to the cloud.
Key | Value | Description |
---|---|---|
Accept | application/json |
Applying a zone to a device enables grouping and organization of devices. It is also required when setting light formulas to a zone containing lights.
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
zone_id | 2 |
Removing a zone will disassociate the relationship all devices within a zone and turn off the lights.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request returns all the APs for the account.
Key | Value | Description |
---|---|---|
Accept | application/json |
This request returns all lights supported by the platform.
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
channels | 50,75 | Comma separated values by channel |
The request will return zone information and state of zone.
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
Accept | application/json |
Key | Value | Description |
---|---|---|
zone_name | My First Zone | String |
formula_id | 1 | Integer |
Key | Value | Description |
---|---|---|
zone_name | My First Zone | String |
Remove a zone by ID. Lights associated to the zone will have their day profiles removed as well.
This request will blink the LED on the device.
Key | Value | Description |
---|---|---|
Content-Type | application/x-www-form-urlencoded | |
Accept | application/json |
The temporary auth_id returned by ‘List New Devices’ should be posted to this function to
Key | Value | Description |
---|---|---|
Content-Type | application/x-www-form-urlencoded | |
Accept | application/json |
Key | Value | Description |
---|---|---|
eui | 02124b001b724e66 |