Update an existing Analog Input.
| id required | string The Id of the analog input to update |
The analog input to update
| driver | string |
| id | string |
| name | string |
| pin | integer <int64> |
{- "driver": "string",
- "id": "string",
- "name": "string",
- "pin": 0
}Create a new ATO.
The ato to create
| control | boolean |
| disable_on_alert | boolean |
| enable | boolean |
| id | string |
| inlet | string |
| is_macro | boolean |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| pump | string |
{- "control": true,
- "disable_on_alert": true,
- "enable": true,
- "id": "string",
- "inlet": "string",
- "is_macro": true,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "pump": "string"
}Update an existing ATO.
| id required | string The Id of the ato to update |
The ato to update
| control | boolean |
| disable_on_alert | boolean |
| enable | boolean |
| id | string |
| inlet | string |
| is_macro | boolean |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| pump | string |
{- "control": true,
- "disable_on_alert": true,
- "enable": true,
- "id": "string",
- "inlet": "string",
- "is_macro": true,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "pump": "string"
}Save camera configuration.
camera configuration
| capture_flags | string |
| enable | boolean |
| image_directory | string |
object (MotionConfig) | |
| tick_interval | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| upload | boolean |
{- "capture_flags": "string",
- "enable": true,
- "image_directory": "string",
- "motion": {
- "enable": true,
- "height": 0,
- "url": "string",
- "width": 0
}, - "tick_interval": 0,
- "upload": true
}Update dasboard configuration.
The dashboard configuration
| column | integer <int64> |
Array of Array of objects (Chart) | |
| height | integer <int64> |
| row | integer <int64> |
| width | integer <int64> |
{- "column": 0,
- "grid_details": [
- [
- {
- "id": "string",
- "type": "string"
}
]
], - "height": 0,
- "row": 0,
- "width": 0
}Create a new doser.
The doser to create
| id | string |
| jack | string |
| name | string |
| pin | integer <int64> |
object (dosingRegiment) |
{- "id": "string",
- "jack": "string",
- "name": "string",
- "pin": 0,
- "regiment": {
- "duration": 0,
- "enable": true,
- "schedule": {
- "day": "string",
- "hour": "string",
- "minute": "string",
- "month": "string",
- "second": "string",
- "week": "string"
}, - "speed": 0
}
}Update an existing doser.
| id required | string The Id of the doser to update |
The doser to update
| id | string |
| jack | string |
| name | string |
| pin | integer <int64> |
object (dosingRegiment) |
{- "id": "string",
- "jack": "string",
- "name": "string",
- "pin": 0,
- "regiment": {
- "duration": 0,
- "enable": true,
- "schedule": {
- "day": "string",
- "hour": "string",
- "minute": "string",
- "month": "string",
- "second": "string",
- "week": "string"
}, - "speed": 0
}
}Schedule dosing.
| id required | string The Id of the doser |
| duration | number <double> |
| enable | boolean |
object (Schedule) | |
| speed | number <double> |
{- "duration": 0,
- "enable": true,
- "schedule": {
- "day": "string",
- "hour": "string",
- "minute": "string",
- "month": "string",
- "second": "string",
- "week": "string"
}, - "speed": 0
}Create a new Driver.
The driver to create
| config | object |
| id | string |
| name | string |
object | |
object | |
| type | string |
{- "config": { },
- "id": "string",
- "name": "string",
- "parameters": {
- "property1": { },
- "property2": { }
}, - "pinmap": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "type": "string"
}Validate a driver configuration.
The driver to validate
| config | object |
| id | string |
| name | string |
object | |
object | |
| type | string |
{- "config": { },
- "id": "string",
- "name": "string",
- "parameters": {
- "property1": { },
- "property2": { }
}, - "pinmap": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "type": "string"
}Update an existing Driver.
| id required | string The Id of the driver to update |
The driver to update
| config | object |
| id | string |
| name | string |
object | |
object | |
| type | string |
{- "config": { },
- "id": "string",
- "name": "string",
- "parameters": {
- "property1": { },
- "property2": { }
}, - "pinmap": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "type": "string"
}Update an existing equipment.
| id required | string The Id of the equipment to update |
The equipment to update
| id | string |
| name | string |
| on | boolean |
| outlet | string |
{- "id": "string",
- "name": "string",
- "on": true,
- "outlet": "string"
}Create a new Inlet.
The inlet to create
| driver | string |
| equipment | string |
| id | string |
| name | string |
| pin | integer <int64> |
| reverse | boolean |
{- "driver": "string",
- "equipment": "string",
- "id": "string",
- "name": "string",
- "pin": 0,
- "reverse": true
}Update an existing Inlet.
| id required | string The Id of the inlet to update |
The inlet to update
| driver | string |
| equipment | string |
| id | string |
| name | string |
| pin | integer <int64> |
| reverse | boolean |
{- "driver": "string",
- "equipment": "string",
- "id": "string",
- "name": "string",
- "pin": 0,
- "reverse": true
}Create a new Jack.
The jack to create
| driver | string |
| id | string |
| name | string |
| pins | Array of integers <int64> |
| reverse | boolean |
{- "driver": "string",
- "id": "string",
- "name": "string",
- "pins": [
- 0
], - "reverse": true
}Update an existing Jack.
| id required | string The Id of the jack to update |
The jack to update
| driver | string |
| id | string |
| name | string |
| pins | Array of integers <int64> |
| reverse | boolean |
{- "driver": "string",
- "id": "string",
- "name": "string",
- "pins": [
- 0
], - "reverse": true
}Create a new light.
The light to create
object | |
| enable | boolean |
| id | string |
| jack | string |
| name | string |
{- "channels": {
- "property1": {
- "color": "string",
- "manual": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "on": true,
- "pin": 0,
- "profile": {
- "config": { },
- "max": 0,
- "min": 0,
- "type": "string"
}, - "value": 0
}, - "property2": {
- "color": "string",
- "manual": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "on": true,
- "pin": 0,
- "profile": {
- "config": { },
- "max": 0,
- "min": 0,
- "type": "string"
}, - "value": 0
}
}, - "enable": true,
- "id": "string",
- "jack": "string",
- "name": "string"
}Update an existing light.
| id required | string The Id of the light to update |
The light to update
object | |
| enable | boolean |
| id | string |
| jack | string |
| name | string |
{- "channels": {
- "property1": {
- "color": "string",
- "manual": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "on": true,
- "pin": 0,
- "profile": {
- "config": { },
- "max": 0,
- "min": 0,
- "type": "string"
}, - "value": 0
}, - "property2": {
- "color": "string",
- "manual": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "on": true,
- "pin": 0,
- "profile": {
- "config": { },
- "max": 0,
- "min": 0,
- "type": "string"
}, - "value": 0
}
}, - "enable": true,
- "id": "string",
- "jack": "string",
- "name": "string"
}Create a new macro.
The macro to create
| id | string |
| name | string |
| reversible | boolean |
Array of objects (Step) |
{- "id": "string",
- "name": "string",
- "reversible": true,
- "steps": [
- {
- "config": { },
- "type": "string"
}
]
}Update an existing macro.
| id required | string The Id of the macro to update |
The macro to update
| id | string |
| name | string |
| reversible | boolean |
Array of objects (Step) |
{- "id": "string",
- "name": "string",
- "reversible": true,
- "steps": [
- {
- "config": { },
- "type": "string"
}
]
}Create a new Outlet.
The outlet to create
| driver | string |
| equipment | string |
| id | string |
| name | string |
| pin | integer <int64> |
| reverse | boolean |
{- "driver": "string",
- "equipment": "string",
- "id": "string",
- "name": "string",
- "pin": 0,
- "reverse": true
}Update an existing Outlet.
| id required | string The Id of the outlet to update |
The outlet to update
| driver | string |
| equipment | string |
| id | string |
| name | string |
| pin | integer <int64> |
| reverse | boolean |
{- "driver": "string",
- "equipment": "string",
- "id": "string",
- "name": "string",
- "pin": 0,
- "reverse": true
}Create a new ph probe.
The ph probe to create
| analog_input | string |
| control | boolean |
| downer_eq | string |
| enable | boolean |
| hysteresis | number <double> |
| id | string |
| is_macro | boolean |
| max | number <double> |
| min | number <double> |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| upper_eq | string |
{- "analog_input": "string",
- "control": true,
- "downer_eq": "string",
- "enable": true,
- "hysteresis": 0,
- "id": "string",
- "is_macro": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "upper_eq": "string"
}Update an existing ph probe.
| id required | string The Id of the ph probe to update |
The ph probe to update
| analog_input | string |
| control | boolean |
| downer_eq | string |
| enable | boolean |
| hysteresis | number <double> |
| id | string |
| is_macro | boolean |
| max | number <double> |
| min | number <double> |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| upper_eq | string |
{- "analog_input": "string",
- "control": true,
- "downer_eq": "string",
- "enable": true,
- "hysteresis": 0,
- "id": "string",
- "is_macro": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "upper_eq": "string"
}Set calibration points for one or two point calibration
| id required | string The Id of the ph probe to calibrate |
The calibration measurements
| expected | float64 <float> The expected value |
| observed | float64 <float> The actual value observed |
[- {
- "expected": null,
- "observed": null
}
]Set a calibration point for one or two point calibration
| id required | string The Id of the ph probe to calibrate |
The calibration measurement
| expected | number <double> |
| observed | number <double> |
| type | string |
{- "expected": 0,
- "observed": 0,
- "type": "string"
}Update settings.
The settings to update
| address | string |
object (capabilities) | |
| display | boolean |
object (HealthCheckNotify) | |
| https | boolean |
| interface | string |
| name | string |
| notification | boolean |
| pprof | boolean |
| prometheus | boolean |
| rpi_pwm_freq | integer <int64> |
{- "address": "string",
- "capabilities": {
- "ato": true,
- "camera": true,
- "configuration": true,
- "dashboard": true,
- "dev_mode": true,
- "doser": true,
- "equipment": true,
- "health_check": true,
- "journal": true,
- "lighting": true,
- "macro": true,
- "ph": true,
- "temperature": true,
- "timers": true
}, - "display": true,
- "health_check": {
- "enable": true,
- "max_cpu": 0,
- "max_memory": 0
}, - "https": true,
- "interface": "string",
- "name": "string",
- "notification": true,
- "pprof": true,
- "prometheus": true,
- "rpi_pwm_freq": 0
}Create a new temperature controller.
The temperature controller to create
Array of objects (Measurement) | |
| control | boolean |
| cooler | string |
| enable | boolean |
| fahrenheit | boolean |
| heater | string |
| hysteresis | number <double> |
| id | string |
| is_macro | boolean |
| max | number <double> |
| min | number <double> |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| sensor | string |
{- "calibration_points": [
- {
- "expected": 0,
- "observed": 0
}
], - "control": true,
- "cooler": "string",
- "enable": true,
- "fahrenheit": true,
- "heater": "string",
- "hysteresis": 0,
- "id": "string",
- "is_macro": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "sensor": "string"
}Update an existing temperature controller.
| id required | string The Id of the temperature controller to update |
The temperature controller to update
Array of objects (Measurement) | |
| control | boolean |
| cooler | string |
| enable | boolean |
| fahrenheit | boolean |
| heater | string |
| hysteresis | number <double> |
| id | string |
| is_macro | boolean |
| max | number <double> |
| min | number <double> |
| name | string |
object (Notify) | |
| period | integer <int64> (Duration) A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. |
| sensor | string |
{- "calibration_points": [
- {
- "expected": 0,
- "observed": 0
}
], - "control": true,
- "cooler": "string",
- "enable": true,
- "fahrenheit": true,
- "heater": "string",
- "hysteresis": 0,
- "id": "string",
- "is_macro": true,
- "max": 0,
- "min": 0,
- "name": "string",
- "notify": {
- "enable": true,
- "max": 0
}, - "period": 0,
- "sensor": "string"
}Update telemetry configuration.
The telemetry configuration
object (AdafruitIO) | |
| current_limit | integer <int64> |
| historical_limit | integer <int64> |
object (MailerConfig) | |
| notify | boolean |
| prometheus | boolean |
| throttle | integer <int64> |
{- "adafruitio": {
- "enable": true,
- "prefix": "string",
- "token": "string",
- "user": "string"
}, - "current_limit": 0,
- "historical_limit": 0,
- "mailer": {
- "from": "string",
- "password": "string",
- "port": 0,
- "server": "string",
- "to": [
- "string"
]
}, - "notify": true,
- "prometheus": true,
- "throttle": 0
}Create a new timer job.
The timer job to create
| day | string |
| enable | boolean |
| hour | string |
| id | string |
| minute | string |
| month | string |
| name | string |
| second | string |
| target | object |
| type | string |
| week | string |
{- "day": "string",
- "enable": true,
- "hour": "string",
- "id": "string",
- "minute": "string",
- "month": "string",
- "name": "string",
- "second": "string",
- "target": { },
- "type": "string",
- "week": "string"
}Update an existing timer job.
| id required | string The Id of the timer job to update |
The timer job to update
| day | string |
| enable | boolean |
| hour | string |
| id | string |
| minute | string |
| month | string |
| name | string |
| second | string |
| target | object |
| type | string |
| week | string |
{- "day": "string",
- "enable": true,
- "hour": "string",
- "id": "string",
- "minute": "string",
- "month": "string",
- "name": "string",
- "second": "string",
- "target": { },
- "type": "string",
- "week": "string"
}