The Zaparoo integration connects Home Assistant to a Zaparoo device, allowing you to emulate token scans, control active launchers, and monitor media and connection state in real time. This integration is designed with events in mind. It uses a persistent WebSocket connection for fast updates and responsive control.
- Emulate scanning Zaparoo NFC or token data
- Stop active launchers remotely
- Query current media state and database info
- Live sensors for:
- Last Zaparoo event
- Device connection state
- Currently playing media
- Compatible with automations, scripts, and dashboards
- Add this repository as a Custom Repository as Type Integration
- Install the Zaparoo integration
- Restart Home Assistant
- Copy
custom_components/zaparoointo your Home Assistant configuration directory - Restart Home Assistant
Configuration is done through the Home Assistant UI. You will need:
- The Zaparoo device hostname or address
- Network connectivity to the device to the Home Assistant Server
Once configured, the integration creates a Zaparoo device with associated sensors and services.
Emulate scanning a Zaparoo token. This is the primary way to trigger ZapScript actions from Home Assistant.
Fields:
-
device_id (required)
Target Zaparoo device -
type (optional)
Optional internal token category (used for logging), for example nfc -
text (optional)
Main token text containing ZapScript
Example: **launch.title:SNES/Super Mario World -
data (optional)
Raw token data as a hexadecimal string
Example: 04A224BCFF12 -
unsafe (optional, default: false)
Allow unsafe ZapScript operations
Example:
service: zaparoo.launch
data:
device_id: YOUR_DEVICE_ID
text: "**launch.title:SNES/Super Mario World"Stop any active launcher, if supported by the device.
Fields:
- device_id (required)
Target Zaparoo device
Example:
service: zaparoo.stop
data:
device_id: YOUR_DEVICE_IDQuery the current media state and database info. This service returns a response payload and is intended for use in scripts and automations that consume service responses.
Fields:
- device_id (required)
Target Zaparoo device
Example:
service: zaparoo.media
data:
device_id: YOUR_DEVICE_ID
response_variable: media_stateEach configured Zaparoo device provides the following sensors.
Displays the most recent Zaparoo notification, such as media.started. The sensor exposes additional attributes containing the full event payload received from the device. The full documentation of events can be found here
Shows whether the Zaparoo device is currently connected.
true indicates the device is online
false indicates the device is offline or powered off
Shows the name of the currently playing media, if available. Additional attributes expose the full media payload returned by the device, including metadata such as title and platform. If no media is active, the sensor state will be unknown.
To enable debug logging:
logger:
logs:
custom_components.zaparoo: debugGPL-3.0 license