Repository navigation
Notifications
Hearth can show notification cards on the kiosk — a doorbell press, a laundry cycle finishing, an "someone's at the gate" alert. Unlike most of this wiki, notifications are pushed into Hearth (usually from Home Assistant) rather than configured on the device. Each one surfaces as a card on the kiosk's bottom deck, with an arrival chime and a coloured source chip.
There are exactly two ways to send a notification, and both accept the same payload:
-
MQTT — publish JSON to the kiosk's
.../notifytopic. Best if you already run Home Assistant Device (MQTT) (Hearth needs to be connected to your broker for this). -
HTTP —
POSTto the kiosk's local API. The fallback when you don't have an MQTT broker.
Publish a JSON payload to:
hearth/<device-id>/notify
<device-id> is the kiosk's MQTT device ID (see
Finding your device ID and address below).
From Home Assistant there are two ways to publish to it.
The simplest path: define an MQTT notify entity whose command topic is Hearth's notify topic. This sends a message-only card (the message becomes the card's heading; you don't get title/priority/sticky control this way):
mqtt:
- notify:
name: Hearth
command_topic: "hearth/<device-id>/notify"
command_template: '{"message": {{ value | to_json }}}'Then call it like any notifier — e.g. action: notify.hearth with
data.message: "Someone's at the door".
Publish the JSON yourself when you want a title, priority, or stickiness — e.g. from an automation:
action: mqtt.publish
data:
topic: "hearth/<device-id>/notify"
payload: >-
{"title": "Laundry", "message": "Cycle finished",
"priority": "info", "sticky": false}If you don't run an MQTT broker, POST the same JSON to the kiosk's local API on
port 8090:
POST http://<hearth-ip>:8090/api/notify
Like every /api/* endpoint, this needs the kiosk's API key as a bearer
token (Authorization: Bearer <key>). The key is generated on first run — see
"The API key (for scripts)" on The Web Portal for how to read it.
A Home Assistant rest_command is the tidy way to wire it up:
rest_command:
hearth_notify:
url: "http://192.168.1.50:8090/api/notify"
method: POST
headers:
authorization: "Bearer YOUR_API_KEY"
content-type: "application/json"
payload: '{"title": "{{ title }}", "message": "{{ message }}", "priority": "{{ priority | default(''info'') }}"}'Then call action: rest_command.hearth_notify with data for title,
message, and priority. A successful post returns {"status": "ok", ...}; a
payload with neither a title nor a message is rejected with a 400.
Both paths need to know which kiosk to reach:
-
<device-id>(for MQTT) — shown as Device ID in the MQTT panel, on the kiosk and in the portal. On a Pi it's the hostname, lowercased, with anything that isn't a letter, digit, or underscore replaced by_— a Pi namedHearth-Kitchenbecomeshearth_kitchen. On an Android tablet it's a generated ID likehearth_3f9a1c07. It's fixed the first time you set a broker URL, so renaming the device later doesn't change it. All the Hearth device's MQTT topics in Home Assistant start withhearth/<device-id>/. -
<hearth-ip>:8090(for HTTP) — the kiosk's IP and portal port. The Network panel on the kiosk shows the exact address (prefer the numeric IP, e.g.192.168.1.50, overhearth.local).
Every field is optional except that you must send at least one of title or
message. Both delivery paths share this schema:
| Field | Values / default | What it does |
|---|---|---|
title |
string | The card's heading. If omitted, the message is promoted to the heading (a message-only card). |
message |
string (alias body) |
The card's body text. One of title/message is required. |
priority |
alert | info — default info
|
Sets the accent colour, the chime, and the default stickiness. |
sticky |
true | false — default: sticky for alert, transient for info
|
Whether the card stays until dismissed, or auto-dismisses after 6 seconds. |
source |
frigate | unifi | ha | push | timer — default ha
|
Drives the source chip. protect is accepted for unifi, and home_assistant for ha. An unknown value counts as ha. |
source_label |
string | Overrides the chip text (default derived from source, e.g. HOME ASST). |
muted |
true | false — default false
|
Arrives with no chime. Rarely set — muting is normally a per-card toggle on the kiosk. |
When a notification arrives:
- Bottom deck — cards stack along the bottom edge of the screen, newest nearest your hand.
-
Arrival chime — an
alertplays the Ember Alert (an urgent triple beep); aninfoplays the Soft Ping (a single gentle tone). -
Night mode silences the chime — while the display is in night mode
(Display & Night Mode) cards still appear, but arrive silently. A
mutedcard is likewise silent. -
Sticky vs transient — a sticky card stays until you dismiss it; a transient
card auto-dismisses after 6 seconds.
alertdefaults to sticky,infoto transient (override with thestickyfield). - Dismiss — tap a card's ✕, or swipe it up.
- Mute — each card has a Mute / Unmute button that silences its chime.
-
Source chip — each card shows an uppercase chip for its source:
FRIGATE,PROTECT,HOME ASST,PUSH, orTIMER(or yoursource_label).
-
No card appears — for MQTT, check the topic's
<device-id>matches the Device ID in the kiosk's MQTT panel, and that the panel shows Hearth as connected; for HTTP, check the<hearth-ip>:8090address and that theAuthorization: Bearerkey is correct (a wrong key returns401). Confirm your payload has atitleormessage. -
Card appears but no sound — the kiosk is likely in night mode (chimes
are suppressed), the payload set
muted: true, or it's an Android tablet (below).
Cards arrive and behave the same on an Android Tablet, over MQTT or HTTP,
but the chime doesn't play yet. Use the tablet's IP address for HTTP —
hearth.local doesn't reach a tablet.
See Troubleshooting & FAQ for more.
Getting started
Modules & integrations
- Photos & Ambient Display
- Weather
- People
- Calendar
- Lists & Chores
- Home Assistant Controls
- Music Assistant
- Cameras (Frigate)
- Cameras (UniFi Protect)
- Recipes (Mealie)
- Web Dashboards
- Alarms & Timers
- Voice Satellite
- Home Assistant Device (MQTT)
- Notifications
- Multi-Room Audio (Sendspin)
- Cast to Hearth (DLNA)
- Plex Cast
- Live TV (Plex)
Device settings
Help