# Domotz

> Read Domotz collectors, discovered devices, and managed organizations.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/domotz

## Actions

### List collectors

Read one zero-based page of Domotz collectors (agents).

**Inputs**

- Page number (`page_number`, number): Page to read. Request subsequent pages explicitly. At least 0.
- Page size (`page_size`, number): Maximum number of records in this page. At least 1.
- Display name (`display_name`, text): Optional collector name filter.

**Outputs**

- `data` (list): The response from Domotz.

**Example output**

```json
{
  "data": [
    {
      "display_name": "Example site",
      "id": 1
    }
  ]
}
```

### List devices

Read devices already discovered by a collector.

**Inputs**

- Agent ID (`agent_id`, number, required): Collector ID from List collectors. At least 1.
- Show hidden (`show_hidden`, true/false): Include hidden devices.
- Show excluded (`show_excluded`, true/false): Include devices excluded from discovery.

**Outputs**

- `data` (list): The response from Domotz.

**Example output**

```json
{
  "data": [
    {
      "display_name": "Example switch",
      "id": 10,
      "protocol": "IP"
    }
  ]
}
```

### List organizations

Read managed organizations, optionally filtered by name.

**Inputs**

- Name (`name`, text): Optional case-insensitive organization-name substring.

**Outputs**

- `data` (list): The response from Domotz.

**Example output**

```json
{
  "data": [
    {
      "agents": [
        1
      ],
      "id": 5,
      "name": "Example Client"
    }
  ]
}
```
