Activity
Not a device. An Activity is a one-tap scene or macro — “Watch Apple TV”, “Listen to Music”. The driver itself is deliberately dumb: it just tracks an active flag and fires events. The real work of turning gear on in the right order happens in the hub.
Connection
Section titled “Connection”None. There’s no transport and no device to reach — the Activity driver runs entirely inside the hub.
- icon — the icon shown for the activity.
- description — a short description.
What it can do
Section titled “What it can do”| Command | What it does |
|---|---|
start | Mark the activity active and raise activity.started |
stop | Mark it inactive and raise activity.stopped |
start and stop set the active flag and emit activity.started / activity.stopped with arguments — values like streamUrl, title, and positionSeconds ride along on the event, so generated rules can resolve ${event.data.<key>} and hand them to the right device.