unique_id required | string The unique ID of the controller. |
activate required | boolean Activate (1) or deactivate (0) a controller. |
{- "activate": true
}
X-Fields | string <mask> An optional fields mask |
{- "function channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "input_id": "string",
- "name": "string",
- "unique_id": "string"
}
], - "function settings": [
- {
- "custom_options": "string",
- "device": "string",
- "id": 0,
- "is_activated": true,
- "log_level_debug": true,
- "name": "string",
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the function |
X-Fields | string <mask> An optional fields mask |
{- "device measurements": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
], - "function channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "input_id": "string",
- "name": "string",
- "unique_id": "string"
}
], - "function settings": {
- "custom_options": "string",
- "device": "string",
- "id": 0,
- "is_activated": true,
- "log_level_debug": true,
- "name": "string",
- "unique_id": "string"
}
}
X-Fields | string <mask> An optional fields mask |
{- "input channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "input_id": "string",
- "name": "string",
- "unique_id": "string"
}
], - "input settings": [
- {
- "adc_gain": 0,
- "adc_resolution": 0,
- "adc_sample_speed": "string",
- "baud_rate": 0,
- "bt_adapter": "string",
- "calibrate_sensor_measure": "string",
- "cmd_command": "string",
- "custom_options": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "deadline": 0,
- "device": "string",
- "ftdi_location": "string",
- "gpio_location": 0,
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "is_activated": true,
- "is_preset": true,
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "period": 0,
- "pin_clock": 0,
- "pin_cs": 0,
- "pin_miso": 0,
- "pin_mosi": 0,
- "port": 0,
- "position_y": 0,
- "power_output_id": "string",
- "pre_output_duration": 0,
- "pre_output_during_measure": true,
- "pre_output_id": "string",
- "preset_name": "string",
- "ref_ohm": 0,
- "resolution": 0,
- "resolution_2": 0,
- "rpm_pulses_per_rev": 0,
- "sample_time": 0,
- "sensitivity": 0,
- "sht_voltage": "string",
- "start_offset": 0,
- "switch_bouncetime": 0,
- "switch_edge": "string",
- "switch_reset_period": 0,
- "thermocouple_type": "string",
- "times_check": 0,
- "uart_location": "string",
- "unique_id": "string",
- "weighting": 0
}
]
}
unique_id required | string The unique ID of the input |
X-Fields | string <mask> An optional fields mask |
{- "device measurements": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
], - "input channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "input_id": "string",
- "name": "string",
- "unique_id": "string"
}
], - "input settings": {
- "adc_gain": 0,
- "adc_resolution": 0,
- "adc_sample_speed": "string",
- "baud_rate": 0,
- "bt_adapter": "string",
- "calibrate_sensor_measure": "string",
- "cmd_command": "string",
- "custom_options": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "deadline": 0,
- "device": "string",
- "ftdi_location": "string",
- "gpio_location": 0,
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "is_activated": true,
- "is_preset": true,
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "period": 0,
- "pin_clock": 0,
- "pin_cs": 0,
- "pin_miso": 0,
- "pin_mosi": 0,
- "port": 0,
- "position_y": 0,
- "power_output_id": "string",
- "pre_output_duration": 0,
- "pre_output_during_measure": true,
- "pre_output_id": "string",
- "preset_name": "string",
- "ref_ohm": 0,
- "resolution": 0,
- "resolution_2": 0,
- "rpm_pulses_per_rev": 0,
- "sample_time": 0,
- "sensitivity": 0,
- "sht_voltage": "string",
- "start_offset": 0,
- "switch_bouncetime": 0,
- "switch_edge": "string",
- "switch_reset_period": 0,
- "thermocouple_type": "string",
- "times_check": 0,
- "uart_location": "string",
- "unique_id": "string",
- "weighting": 0
}
}
unique_id required | string The unique ID of the device |
unit required | string The unit of the measurement |
channel required | integer The channel of the measurement |
value required | string the value of the measurement |
timestamp | string <date-time> The timestamp of the measurement, in %Y-%m-%dT%H:%M:%S.%fZ format (e.g. 2019-04-15T18:07:00.392Z). (Optional; exclude to create a measurement with a timestamp of the current time) |
{- "timestamp": "2019-08-24T14:15:22Z"
}
unique_id required | string The unique ID of the device |
unit required | string The unit of the measurement |
channel required | integer The channel of the measurement |
epoch_start required | integer The start time, as epoch. Set to 0 for none. |
epoch_end required | integer The end time, as epoch. Set to 0 for none. |
X-Fields | string <mask> An optional fields mask |
{- "measurements": [
- {
- "time": 0,
- "value": 0
}
]
}
unique_id required | string The unique ID of the device |
unit required | string The unit of the measurement |
channel required | integer The channel of the measurement |
past_seconds required | integer How many seconds in the past to query. |
X-Fields | string <mask> An optional fields mask |
{- "time": 0,
- "value": 0
}
unique_id required | string The unique ID of the device |
unit required | string The unit of the measurement |
channel required | integer The channel of the measurement |
past_seconds required | integer How many seconds in the past to query. |
X-Fields | string <mask> An optional fields mask |
{- "measurements": [
- {
- "time": 0,
- "value": 0
}
]
}
name required | string The note name. |
note required | string The note text. |
tags required | string List of tag names, separated by commas |
{- "name": "Note Name",
- "note": "My Note.",
- "tags": "tag1,tag2,tag3"
}
X-Fields | string <mask> An optional fields mask |
{- "output channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "name": "string",
- "output_id": "string",
- "unique_id": "string"
}
], - "output devices": [
- {
- "baud_rate": 0,
- "custom_options": "string",
- "ftdi_location": "string",
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "output_type": "string",
- "uart_location": "string",
- "unique_id": "string"
}
], - "output states": {
- "*": {
- "property1": {
- "*": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "*": {
- "property1": "string",
- "property2": "string"
}
}
}
}
}
unique_id required | string The unique ID of the output. |
X-Fields | string <mask> An optional fields mask |
{- "output device": {
- "baud_rate": 0,
- "custom_options": "string",
- "ftdi_location": "string",
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "output_type": "string",
- "uart_location": "string",
- "unique_id": "string"
}, - "output device channel states": {
- "*": {
- "property1": "string",
- "property2": "string"
}
}, - "output device channels": [
- {
- "channel": 0,
- "custom_options": "string",
- "id": 0,
- "name": "string",
- "output_id": "string",
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the output. |
channel required | number >= 0 The output channel to modulate. |
duration | number > 0 The duration to keep a non-PWM output on, in seconds. |
duty_cycle | number >= 0 The duty cycle to set a PWM output, in percent (%). |
state | boolean Set a non-PWM output state to on (True) or off (False). |
volume | number >= 0 The volume to send to an output. |
{- "channel": 0,
- "duration": 10,
- "duty_cycle": 50,
- "state": true,
- "volume": 35
}
X-Fields | string <mask> An optional fields mask |
{- "pid settings": [
- {
- "autotune_activated": true,
- "autotune_noiseband": 0,
- "autotune_outstep": 0,
- "band": 0,
- "d": 0,
- "direction": "string",
- "i": 0,
- "id": 0,
- "integrator_max": 0,
- "integrator_min": 0,
- "is_activated": true,
- "is_held": true,
- "is_paused": true,
- "is_preset": true,
- "log_level_debug": true,
- "lower_max_duration": 0,
- "lower_min_duration": 0,
- "lower_min_off_duration": 0,
- "lower_output_id": "string",
- "max_measure_age": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "p": 0,
- "period": 0,
- "preset_name": "string",
- "raise_max_duration": 0,
- "raise_min_duration": 0,
- "raise_min_off_duration": 0,
- "raise_output_id": "string",
- "setpoint": 0,
- "setpoint_tracking_id": "string",
- "setpoint_tracking_max_age": 0,
- "setpoint_tracking_type": "string",
- "start_offset": 0,
- "store_lower_as_negative": true,
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the pid |
X-Fields | string <mask> An optional fields mask |
{- "device measurements": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
], - "pid settings": {
- "autotune_activated": true,
- "autotune_noiseband": 0,
- "autotune_outstep": 0,
- "band": 0,
- "d": 0,
- "direction": "string",
- "i": 0,
- "id": 0,
- "integrator_max": 0,
- "integrator_min": 0,
- "is_activated": true,
- "is_held": true,
- "is_paused": true,
- "is_preset": true,
- "log_level_debug": true,
- "lower_max_duration": 0,
- "lower_min_duration": 0,
- "lower_min_off_duration": 0,
- "lower_output_id": "string",
- "max_measure_age": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "p": 0,
- "period": 0,
- "preset_name": "string",
- "raise_max_duration": 0,
- "raise_min_duration": 0,
- "raise_min_off_duration": 0,
- "raise_output_id": "string",
- "setpoint": 0,
- "setpoint_tracking_id": "string",
- "setpoint_tracking_max_age": 0,
- "setpoint_tracking_type": "string",
- "start_offset": 0,
- "store_lower_as_negative": true,
- "unique_id": "string"
}
}
X-Fields | string <mask> An optional fields mask |
{- "device measurement settings": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
]
}
device_id required | string The unique ID of the controller (Input, etc.) for which the measurement belongs. |
X-Fields | string <mask> An optional fields mask |
{- "device measurement settings": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
]
}
unique_id required | string The unique ID of the measurement |
X-Fields | string <mask> An optional fields mask |
{- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
X-Fields | string <mask> An optional fields mask |
{- "input settings": [
- {
- "adc_gain": 0,
- "adc_resolution": 0,
- "adc_sample_speed": "string",
- "baud_rate": 0,
- "bt_adapter": "string",
- "calibrate_sensor_measure": "string",
- "cmd_command": "string",
- "custom_options": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "deadline": 0,
- "device": "string",
- "ftdi_location": "string",
- "gpio_location": 0,
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "is_activated": true,
- "is_preset": true,
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "period": 0,
- "pin_clock": 0,
- "pin_cs": 0,
- "pin_miso": 0,
- "pin_mosi": 0,
- "port": 0,
- "position_y": 0,
- "power_output_id": "string",
- "pre_output_duration": 0,
- "pre_output_during_measure": true,
- "pre_output_id": "string",
- "preset_name": "string",
- "ref_ohm": 0,
- "resolution": 0,
- "resolution_2": 0,
- "rpm_pulses_per_rev": 0,
- "sample_time": 0,
- "sensitivity": 0,
- "sht_voltage": "string",
- "start_offset": 0,
- "switch_bouncetime": 0,
- "switch_edge": "string",
- "switch_reset_period": 0,
- "thermocouple_type": "string",
- "times_check": 0,
- "uart_location": "string",
- "unique_id": "string",
- "weighting": 0
}
]
}
unique_id required | string The unique ID of the input |
X-Fields | string <mask> An optional fields mask |
{- "adc_gain": 0,
- "adc_resolution": 0,
- "adc_sample_speed": "string",
- "baud_rate": 0,
- "bt_adapter": "string",
- "calibrate_sensor_measure": "string",
- "cmd_command": "string",
- "custom_options": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "deadline": 0,
- "device": "string",
- "ftdi_location": "string",
- "gpio_location": 0,
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "is_activated": true,
- "is_preset": true,
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "period": 0,
- "pin_clock": 0,
- "pin_cs": 0,
- "pin_miso": 0,
- "pin_mosi": 0,
- "port": 0,
- "position_y": 0,
- "power_output_id": "string",
- "pre_output_duration": 0,
- "pre_output_during_measure": true,
- "pre_output_id": "string",
- "preset_name": "string",
- "ref_ohm": 0,
- "resolution": 0,
- "resolution_2": 0,
- "rpm_pulses_per_rev": 0,
- "sample_time": 0,
- "sensitivity": 0,
- "sht_voltage": "string",
- "start_offset": 0,
- "switch_bouncetime": 0,
- "switch_edge": "string",
- "switch_reset_period": 0,
- "thermocouple_type": "string",
- "times_check": 0,
- "uart_location": "string",
- "unique_id": "string",
- "weighting": 0
}
X-Fields | string <mask> An optional fields mask |
{- "measurement settings": [
- {
- "channel": 0,
- "conversion": {
- "id": 0,
- "unique_id": "string"
}, - "device_id": "string",
- "device_type": "string",
- "id": 0,
- "invert_scale": true,
- "is_enabled": true,
- "measurement": "string",
- "measurement_type": "string",
- "name": "string",
- "rescale_equation": "string",
- "rescale_method": "string",
- "rescaled_measurement": "string",
- "rescaled_unit": "string",
- "scale_from_max": 0,
- "scale_from_min": 0,
- "scale_to_max": 0,
- "scale_to_min": 0,
- "unique_id": "string",
- "unit": "string"
}
]
}
unique_id required | string The unique ID of the measurement |
X-Fields | string <mask> An optional fields mask |
{- "id": 0,
- "name": "string",
- "name_safe": "string",
- "unique_id": "string",
- "units": "string"
}
X-Fields | string <mask> An optional fields mask |
{- "output settings": [
- {
- "baud_rate": 0,
- "custom_options": "string",
- "ftdi_location": "string",
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "output_type": "string",
- "uart_location": "string",
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the output |
X-Fields | string <mask> An optional fields mask |
{- "baud_rate": 0,
- "custom_options": "string",
- "ftdi_location": "string",
- "i2c_bus": 0,
- "i2c_location": "string",
- "id": 0,
- "interface": "string",
- "location": "string",
- "log_level_debug": true,
- "name": "string",
- "output_type": "string",
- "uart_location": "string",
- "unique_id": "string"
}
X-Fields | string <mask> An optional fields mask |
{- "pid settings": [
- {
- "autotune_activated": true,
- "autotune_noiseband": 0,
- "autotune_outstep": 0,
- "band": 0,
- "d": 0,
- "direction": "string",
- "i": 0,
- "id": 0,
- "integrator_max": 0,
- "integrator_min": 0,
- "is_activated": true,
- "is_held": true,
- "is_paused": true,
- "is_preset": true,
- "log_level_debug": true,
- "lower_max_duration": 0,
- "lower_min_duration": 0,
- "lower_min_off_duration": 0,
- "lower_output_id": "string",
- "max_measure_age": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "p": 0,
- "period": 0,
- "preset_name": "string",
- "raise_max_duration": 0,
- "raise_min_duration": 0,
- "raise_min_off_duration": 0,
- "raise_output_id": "string",
- "setpoint": 0,
- "setpoint_tracking_id": "string",
- "setpoint_tracking_max_age": 0,
- "setpoint_tracking_type": "string",
- "start_offset": 0,
- "store_lower_as_negative": true,
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the pid |
X-Fields | string <mask> An optional fields mask |
{- "autotune_activated": true,
- "autotune_noiseband": 0,
- "autotune_outstep": 0,
- "band": 0,
- "d": 0,
- "direction": "string",
- "i": 0,
- "id": 0,
- "integrator_max": 0,
- "integrator_min": 0,
- "is_activated": true,
- "is_held": true,
- "is_paused": true,
- "is_preset": true,
- "log_level_debug": true,
- "lower_max_duration": 0,
- "lower_min_duration": 0,
- "lower_min_off_duration": 0,
- "lower_output_id": "string",
- "max_measure_age": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "p": 0,
- "period": 0,
- "preset_name": "string",
- "raise_max_duration": 0,
- "raise_min_duration": 0,
- "raise_min_off_duration": 0,
- "raise_output_id": "string",
- "setpoint": 0,
- "setpoint_tracking_id": "string",
- "setpoint_tracking_max_age": 0,
- "setpoint_tracking_type": "string",
- "start_offset": 0,
- "store_lower_as_negative": true,
- "unique_id": "string"
}
X-Fields | string <mask> An optional fields mask |
{- "trigger settings": [
- {
- "date_offset_days": 0,
- "edge_detected": "string",
- "id": 0,
- "is_activated": true,
- "latitude": 0,
- "log_level_debug": true,
- "longitude": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "output_duration": 0,
- "output_duty_cycle": 0,
- "output_state": "string",
- "period": 0,
- "program": "string",
- "rise_or_set": "string",
- "time_offset_minutes": 0,
- "timer_end_time": "string",
- "timer_start_offset": 0,
- "timer_start_time": "string",
- "trigger_actions_at_period": true,
- "trigger_actions_at_start": true,
- "trigger_type": "string",
- "unique_id": "string",
- "unique_id_1": "string",
- "unique_id_2": "string",
- "word": "string",
- "zenith": 0
}
]
}
unique_id required | string The unique ID of the trigger |
X-Fields | string <mask> An optional fields mask |
{- "date_offset_days": 0,
- "edge_detected": "string",
- "id": 0,
- "is_activated": true,
- "latitude": 0,
- "log_level_debug": true,
- "longitude": 0,
- "measurement": "string",
- "method_end_time": "string",
- "method_start_time": "string",
- "name": "string",
- "output_duration": 0,
- "output_duty_cycle": 0,
- "output_state": "string",
- "period": 0,
- "program": "string",
- "rise_or_set": "string",
- "time_offset_minutes": 0,
- "timer_end_time": "string",
- "timer_start_offset": 0,
- "timer_start_time": "string",
- "trigger_actions_at_period": true,
- "trigger_actions_at_start": true,
- "trigger_type": "string",
- "unique_id": "string",
- "unique_id_1": "string",
- "unique_id_2": "string",
- "word": "string",
- "zenith": 0
}
unique_id required | string The unique ID of the unit |
X-Fields | string <mask> An optional fields mask |
{- "id": 0,
- "name": "string",
- "name_safe": "string",
- "unique_id": "string",
- "unit": "string"
}
X-Fields | string <mask> An optional fields mask |
{- "user settings": [
- {
- "email": "string",
- "id": 0,
- "index_page": "string",
- "landing_page": "string",
- "language": "string",
- "name": "string",
- "role_id": 0,
- "theme": "string",
- "unique_id": "string"
}
]
}
unique_id required | string The unique ID of the user |
X-Fields | string <mask> An optional fields mask |
{- "email": "string",
- "id": 0,
- "index_page": "string",
- "landing_page": "string",
- "language": "string",
- "name": "string",
- "role_id": 0,
- "theme": "string",
- "unique_id": "string"
}