# Hubitat List

> List drivers, apps, and devices on the Hubitat hub

- Skill: `majiayu000/hubitat-list` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/hubitat-list`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/hubitat-list/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/hubitat-list

---


# Hubitat List Skill

Discover and display resources on the Hubitat hub.

## Instructions

Follow these steps exactly:

### Step 1: Read Configuration

Read `.hubitat.json` from the project root to get `hub_ip`.

### Step 2: Determine What to List

Check `$ARGUMENTS` for what to list:

- `drivers` — list user-created drivers
- `apps` — list user-created app types
- `devices` — list all devices
- `instances` — list installed app instances
- (no argument) — show a summary of all categories

### Step 3: Query the Hub and Display Results

#### If `drivers`:

```bash
curl -s "http://{hub_ip}/hub2/userDeviceTypes"
```

Display as a table with columns: **ID**, **Name**, **Namespace**, **Devices** (count from `usedBy` array length).

#### If `apps`:

```bash
curl -s "http://{hub_ip}/hub2/userAppTypes"
```

Display as a table with columns: **ID**, **Name**, **Namespace**, **Instances** (count from `usedBy` array length).

#### If `devices`:

```bash
curl -s "http://{hub_ip}/hub2/devicesList"
```

Display as a table with columns: **ID**, **Name**, **Type** (driver name), **Status** (any key states like switch, motion, temperature).

#### If `instances`:

```bash
curl -s "http://{hub_ip}/hub2/appsList"
```

Display as a table with columns: **ID**, **Name**, **Type** (app name).

#### If no argument:

Query all four endpoints and display a summary:
- Number of user drivers
- Number of user app types
- Number of devices
- Number of installed app instances

### Formatting

- Use markdown tables for output
- Sort by name alphabetically
- For the `devices` listing, if there are many devices (>30), group them by driver type
- Keep the output concise — don't dump raw JSON

