-
-
Notifications
You must be signed in to change notification settings - Fork 8
Notification Scenes.md
Notification scenes are a signature feature of Ava, displaying beautiful full-screen animated notifications when smart home events occur.
Notification scenes display full-screen animated notifications including:
- Aurora animation background
- Icon animation
- Title and description text
- Custom theme colors
Scenes are loaded from the network based on language:
- Chinese:
scenes_zh.json - English:
scenes_en.json
Scene files are hosted on GitHub and downloaded automatically when Ava starts.
Scenes are triggered through a dropdown select entity in Home Assistant:
service: select.select_option
target:
entity_id: select.your_device_name_notification_scene
data:
option: "Doorbell Ring"The scene options are a dropdown list containing all available scene titles.
Go to Settings -> Notification
| Setting | Description | Default |
|---|---|---|
| Display Duration | How long notification shows | 10s |
| Sound | Play sound when showing | On |
| Custom Scene URL | URL to load custom scenes | Empty |
You can create your own scenes by hosting a JSON file.
Custom scenes must be a JSON array:
[
{
"id": "my_scene",
"icon": "fa-bell",
"iconColor": "#fbbf24",
"title": "My Scene",
"desc": "Description text",
"subDesc": "Sub description",
"themeColors": ["#f59e0b", "#d97706", "#92400e"],
"beamColor": "rgba(251, 191, 36, 0.8)",
"dividerColor": "rgba(251, 191, 36, 0.8)",
"dotColor": "#fcd34d"
}
]| Field | Description |
|---|---|
| id | Unique scene identifier |
| icon | FontAwesome icon name (e.g., fa-bell) |
| title | Scene title text |
| Field | Description | Default |
|---|---|---|
| iconColor | Icon color (hex or Tailwind) | text-amber-200 |
| desc | Description text | Empty |
| subDesc | Sub description text | Empty |
| themeColors | Array of theme colors | Amber gradient |
| beamColor | Light beam color | Amber |
| dividerColor | Divider line color | Amber |
| dotColor | Dot indicator color | Amber |
Method 1: Using External URL
- Host your JSON file on a web server
- Go to Settings -> Notification
- Enter the URL in Custom Scene URL
- Custom scenes will have
custom_prefix added to their IDs
Method 2: Using Home Assistant Local Files
- Place your JSON file in Home Assistant's
wwwfolder - Use URL:
http://your-ha-ip:8123/local/my_scenes.json - This allows fast loading within local network without external server
automation:
- alias: "Doorbell Notification"
trigger:
- platform: state
entity_id: binary_sensor.doorbell
to: "on"
action:
- service: select.select_option
target:
entity_id: select.ava_notification_scene
data:
option: "Doorbell Ring"automation:
- alias: "Water Leak Alert"
trigger:
- platform: state
entity_id: binary_sensor.water_leak
to: "on"
action:
- service: select.select_option
target:
entity_id: select.ava_notification_scene
data:
option: "Water Leak"Ava supports multiple color formats:
| Format | Example |
|---|---|
| Hex | #f59e0b |
| RGBA | rgba(251, 191, 36, 0.8) |
| Tailwind | amber-500, blue-400, etc. |
Supported color names include:
- amber, yellow, orange, red, rose, pink
- fuchsia, purple, violet, indigo, blue
- sky, cyan, teal, emerald, green, lime
- stone, neutral, gray, slate
Each with levels: 200, 300, 400, 500, 600, 700
- Check network connection
- Scenes are downloaded from GitHub on startup
- Try restarting Ava
- Check if URL is accessible
- Verify JSON format is correct
- Required fields: id, icon, title
- Custom scene IDs are prefixed with
custom_
Notifications auto-hide after the configured duration. You can also:
- Touch the notification to dismiss
- Use the hide service
Back to Home