Discovering devices for the Marketplace
Home Assistant discovers the devices its own integrations know. A device that needs a custom integration announces itself all the same, and nothing happens: nobody listens for it.
Spook does. When it hears a device from its list, the device shows up under Settings > Devices & services, as discovered, with Spook's ghost on the card. Select Add, and Spook tells you what it found and which integration from the Marketplace is made for it. Select Install, and Spook installs it for you, then hands the device over to that integration's own setup.
Switching it on
- Go to Settings > System > Labs.
- Find Spook finds devices for the Marketplace, and select Enable.
That is all. Switched off again, Spook stops listening, and the cards it put up go away. Integrations you installed stay installed.
What happens when you select Add
- Spook explains. What announced itself, which integration is made for it, who made it, and a link to its code. Nothing is installed yet.
- You select Install. Spook installs the integration through the Marketplace, with a progress bar.
- The integration takes over. The dialog turns into the integration's own setup, for this device. From here on it is that integration asking the questions, not Spook.
Some integrations need a restart of Home Assistant before they work. The card says so. After the restart, Home Assistant discovers the device by itself.
If the integration looks at the device and turns it away, the card tells you why, in the integration's own words. Spook does not suggest that device again until Home Assistant restarts.
When the Marketplace asks first
The Marketplace shows a warning the first time somebody opens it: custom integrations are made by their authors, and Home Assistant does not review them. Spook never answers that warning for you. As long as nobody on your Home Assistant accepted it, the card links to the integration in the Marketplace instead. Install it there, come back, and select Continue.
The same link shows up when Spook cannot install from the card for another reason, like the Marketplace not being set up.
Not interested
Select Ignore on the card. Spook does not bring up that device again, also not after a restart. Changed your mind? Show the ignored integrations on the Devices & services page, and remove the ignored entry under Spook. The card comes back.
What Spook promises
Spook suggests code it did not write. So it is careful about when:
- Only devices on its own list. Every entry is reviewed by hand against the integration's own discovery, and is at least as strict. Spook only reads what the device announces. It never connects to a device to find out what it is.
- Only from the Marketplace's own catalog. Never a repository somebody added by hand.
- Never when Home Assistant has it covered. When Home Assistant, or an integration you have installed, already knows the device, its own card is the better answer. Spook stays quiet. The same goes for an integration you already set up or ignored. One exception: an integration installed since the last restart. Home Assistant only learns about it at the next restart, so until then Spook's card takes a device that integration says it discovers itself straight to its setup.
- Nothing happens until you select Install.
Reviewed by Spook means: this integration is made for this device. It does not mean Spook vouches for the integration's code. Have a look at its repository before you install it.
Spook suggested something that was wrong? Let us know. One confirmed wrong suggestion and the rule comes out.
How Spook listens
Spook listens for the devices on its list only, nothing else, and only while the preview is switched on.
Zeroconf
Many devices announce themselves on the local network with zeroconf, also known as mDNS or Bonjour. Home Assistant listens for the service types of the integrations it has. Spook adds the service types of the devices on its list, on Home Assistant's own zeroconf connection, and looks at each announcement the way Home Assistant does.
| Device | Integration from the Marketplace |
|---|---|
| Meshtastic radio | Meshtastic |
| OpenCCU loom daemon | Homematic(IP) Local for OpenCCU |
| View Assist companion | View Assist Companion App |
Spook's happiness
One number from 0 to 100 for the health of your whole Home Assistant, with a mood on top. Six lenses, the checks behind them, what holds the number down, and the sensors to put on a dashboard or in an automation.
Actions
Every action Spook adds to Home Assistant, on one page. Each with its YAML name, a link to try it in your own Home Assistant, and a link to its documentation.
