show_notification
Display custom notifications on Ulanzi pixel clocks with text, color, icon, sound, and duration options.
Instructions
Display a notification on the clock.
Args: text: Text to display duration: How long to show the notification in seconds (default: 5) color: Text color as hex string (e.g., "#FF0000") or RGB array icon: Icon name to display sound: Sound filename to play hold: Keep notification on screen until dismissed (default: False) wakeup: Wake up the matrix if it's off (default: False) stack: Stack with other notifications (default: True) clock_index: Optional index of clock to target (0-based). Defaults to first clock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| duration | No | ||
| color | No | ||
| icon | No | ||
| sound | No | ||
| hold | No | ||
| wakeup | No | ||
| stack | No | ||
| clock_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||