domotz_drivers
Manage custom drivers and their associations with devices. List, create, delete, and update driver-device bindings, and execute driver actions on collectors.
Instructions
Manage custom drivers and their associations with devices. Use the "action" parameter to select an operation.
ACTION REFERENCE:
list: List all custom drivers (no parameters needed)
get: Get custom driver details (needs custom_driver_id)
create_association: Associate a driver with a device (needs custom_driver_id + agent_id + device_id + body)
delete_association: Remove a driver association (needs custom_driver_id + association_id)
update_association_params: Update association parameters (needs custom_driver_id + association_id + body)
list_associations: List driver associations for a collector (needs agent_id)
execute_action: Execute a custom driver action (needs custom_driver_id + agent_id + device_id + action_id + body)
re_enable: Re-enable failed associations (optional: include_unrecoverable flag)
GOTCHAS:
Workflow: list drivers first to get custom_driver_id, then create_association to bind to a device
execute_action needs action_id which comes from the driver definition
EXAMPLES:
List all drivers: {"action": "list"}
Show associations: {"action": "list_associations", "agent_id": 5}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| action | Yes | The operation to perform | |
| agent_id | No | Agent/Collector ID | |
| action_id | No | Driver Action ID | |
| device_id | No | Device ID | |
| association_id | No | Association ID | |
| custom_driver_id | No | Custom Driver ID | |
| include_unrecoverable | No | Include unrecoverable associations in re-enable |