-
-
Notifications
You must be signed in to change notification settings - Fork 13
Notification Scenes
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
- Live Home Assistant sensor values (via placeholders)
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 cache locally for offline use.
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.
Ava includes 70+ built-in scenes:
| Scene ID | Scene Name | Purpose |
|---|---|---|
| morning | Good Morning | Daily greeting |
| doorbell | Doorbell Ring | Doorbell alert |
| water_leak | Water Leak | Water sensor triggered |
| smoke | Smoke Alarm | Smoke sensor triggered |
| someone_home | Someone Home | Presence detection |
| package | Package Arrived | Delivery notification |
| timer | Timer Finished | Timer reminder |
| weather_alert | Weather Alert | Severe weather warning |
Go to Settings -> Interaction -> Scenes
| Setting | Description | Default |
|---|---|---|
| Display Duration | How long notification shows (5-30s) | 10s |
| Notification Sound | Play sound when showing | On |
| Custom Scene URL | URL to load custom scenes | Empty |
You can embed live Home Assistant sensor values into a scene's title, description, and sub-description. Values refresh while the scene is on screen. Unknown or unsubscribed values render as "--".
| Syntax | Result |
|---|---|
{{entity_id}} |
Entity state |
{{entity_id|attribute}} |
Attribute value |
{{entity_id|unit}} |
unit_of_measurement (shortcut) |
Living room: {{sensor.living_room_temperature}}{{sensor.living_room_temperature|unit}}
This renders as: Living room: 23.5 °C
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 -> Interaction -> Scenes
- 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
Ava includes a timer feature with alarm sound.
- Go to Settings -> Interaction -> Scenes
- Find Change Alarm Sound
- Select a default or external audio file
When the timer alarm is ringing:
- Say the stop word "Stop" (or "Ok Stop" with vs wake engine) to dismiss it
- Tap the time on screen to dismiss
- If recognition is unreliable while the alarm plays, enable Software echo cancellation in Voice Config settings
Enable Show Stop Alarm Button to also show a Stop Alarm button in Home Assistant:
service: button.press
target:
entity_id: button.your_device_name_stop_alarmautomation:
- 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"automation:
- alias: "Morning Report"
trigger:
- platform: time
at: "07:00:00"
action:
- service: select.select_option
target:
entity_id: select.ava_notification_scene
data:
option: "Good Morning"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
- Scenes cache locally, next startup loads from cache first
- Check if URL is accessible
- Verify JSON format is correct
- Required fields: id, icon, title
- Custom scene IDs are prefixed with
custom_
- Check if the entity_id is correct
- Check if the entity exists in Home Assistant
- Check if Ava is subscribed to that entity
- Unknown or unsubscribed values render as "--"
- Say "Stop" (or "Ok Stop" with vs engine) clearly
- Tap the time on screen
- Enable Software echo cancellation if recognition is unreliable during alarm
- Enable Show Stop Alarm Button for a HA button
Notifications auto-hide after the configured duration. You can also:
- Touch the notification to dismiss
- Use the hide service
Back to Home