Troubleshooting¶
Common Problems¶
A notification doesn't arrive¶
Symptom: the notification is sent, without an error, but nothing arrives, or it doesn't arrive by every delivery expected. The log has a warning like SUPERNOTIFY No deliveries made for ..., followed by the reasons.
Cause: a rule left it out, as configured. The reasons are:
| Reason | Why | To fix |
|---|---|---|
SNOOZED | The recipient, delivery or everything is snoozed | List snoozes with supernotify.enquire_snoozes, and end them with supernotify.unsnooze |
PRIORITY | The notification's priority isn't one the delivery is for | Change the notification's priority, or the delivery's, see Deliveries |
OCCUPANCY | The delivery is only for recipients at home, or only away | Check with supernotify.enquire_occupancy, see Deliveries |
DELIVERY_CONDITION | The delivery's conditions don't hold | See Conditions |
NO_SCENARIO | The delivery is only for a scenario that doesn't apply | Check with supernotify.enquire_active_scenarios, see Scenarios |
TRANSPORT_DISABLED | The transport is switched off | Switch it on, or press Reset overrides, see Entities |
NO_TARGET | The delivery has no one to send to | Give the recipients the addresses or devices it needs, see People |
supernotify.enquire_last_notification shows what happened to the last notification, and the Archive to every one.
An action says Supernotify isn't loaded¶
Symptom: a supernotify.* action, such as supernotify.notify, fails with Supernotify isn't loaded.
Cause: Supernotify is still starting, failed to start, or is disabled. If it failed, the log has Supernotify failed to start, and will retry, with the reason, and it tries again by itself.
Fix: check the reason in the log and on the integration's page, correct the configuration, and reload the integration, or enable it if it's disabled.
The same notification is only sent once¶
Symptom: a notification sent again soon after, with the same message and title, doesn't arrive.
Cause: duplicate detection, which leaves out a repeat of a recent notification at the same or a lower priority.
Fix: send it with force_resend: true, or change the policy, see Duplicate Detection.
No emails are sent¶
Symptom: nothing goes by email, and the log has a warning at startup that there is no sender.
Cause: a direct SMTP email needs a sender address, as Home Assistant's own SMTP integration does.
Fix: set sender in the email transport's options, or set up the SMTP integration from the UI, for Supernotify to reuse, see Email.
An image is missing from an email¶
Symptom: the email arrives without its image, and the log has a warning that the attachment was skipped.
Cause: only files in Supernotify's media path, or a folder Home Assistant allows files to be read from, are attached.
Fix: save the image in the media path, www, a folder in media_dirs or one in allowlist_external_dirs, see Email.
A snapshot URL gives no image¶
Symptom: a notification with a snapshot_url arrives without the image, and there may be a repair listing why.
Cause: the URL didn't give an image, it was bigger than the Largest Snapshot Download setting, or, with Only Local Snapshot URLs on, it isn't Home Assistant itself, on the same network, or in allowlist_external_urls.
Fix: see Snapshot URLs.
A template shows as text¶
Symptom: a message has {{ ... }} in it, rather than what the template should give.
Cause: the Render Templates in Notify Calls setting is off, as it is for new installs, so a template that reaches Supernotify unrendered, such as from AppDaemon or a {% raw %} block, is left as it is.
Fix: switch the setting on, or move the template into a scenario's message_template, see Automation and Templates.
A scenario's binary sensor is unknown¶
Symptom: a Scenario Condition binary sensor stays unknown.
Cause: refresh is off in scenario_control, so nothing keeps its state current, or the scenario has no conditions.
Fix: switch on refresh, see Entities and Scenarios.
Options¶
- AI Agents can give very good help these days, even the free one built into Google Search.
- Troubleshooting your configuration has the generic Home Assistant advice
- Use the Archive to browse the existing notification
- Easiest way to do this is using the Studio Code Server app for Home Assistant
- Switch on debug mode to get much more detailed archives,
debug: truecan be added to a notificationdatasection, or onto anydeliveryconfig
- Supernotify has a Diagnostics bundle available from the integration page
- Have a look at the What's New, including any breaking changes, and any of the known Issues or Support Discussions.
- Use the Tools to call the action directly, listen to events, or view states
- Since Supernotify manages Home Assistant contexts, you can see the entire history of a why a notification happened, what the original trigger was, and also downstream things like moving and zooming a camera, all laid out in the state history
- Supernotify also has lots of additional actions to enquire about the internals, and offers lots of diagnostic entities
- The Debugging a Transport Integration has an example of working through issues with one of the underlying notification transports
Advanced Agent Usage¶
- If you have a desktop or coding agent, then giving it access to Home Assistant config make it much easier to resolve issues and correct config.
- Easiest way of doing that is with the Samba Share app for Home Assistant.
- For example, on a Mac you can have the local
/Volumes/configreading the main\configdirectory of Home Assistant. - Caution is due where passwords and other secrets inside the Home Assistant directory could be exposed.
- The Assist integration also supports MCP for queries
- For more advanced usage, the Home Assistant REPL developer shell can give easy agent access to the APIs, or deep access direct into the live internals and database with
livemode. The latter is the sharpest tool available for agents.