Skip to main content

Alerts

Alerts watch a live value and notify when it crosses a threshold (and optionally when it recovers). They are for watching, not for writing setpoints. Use the Scheduler or a Profile when you want automation that changes values.

Introduced in 3.10.0. This is separate from the hardware Alert Modules (for example EM10) on the EMS bus.

Limits​

  • Up to 16 rules
  • Each rule: entity path + operator (<, <=, >, >=, ==, !=) + threshold
  • Optional hysteresis (for numeric compares) and cooldown in minutes (re-notify while still triggered)
  • Notify on triggered, restored, or both

Web UI​

Open Modules → Alerts (admin only).

  1. Add a rule with a clear name (for example room_cold)
  2. Set the entity (for example thermostat/hc1/currtemp), operator and threshold
  3. Choose channels: email (needs SMTP in System settings), MQTT message (system/message), and/or a shared HTTPS webhook
  4. Optionally set custom trigger/restore message text

The webhook URL is shared for all alerts that enable the webhook channel.

Channels​

ChannelBehaviour
EmailUses the existing SMTP settings
MQTT messagePublishes via system/message (also goes to the log)
WebhookHTTPS POST JSON: event (triggered / restored), name, entity, op, threshold, value, device, ts

You can test a rule or a channel from the Web UI without waiting for a real trigger.

MQTT and Home Assistant​

  • Aggregate state is published on alerts_data (each alert name → on/off)
  • With MQTT Home Assistant discovery on, each alert becomes a binary_sensor (on = triggered, off = idle) under device alerts

Example​

Indoor temperature below 15 °C, hysteresis 1 °C → email + MQTT on trigger and restore:

  • Entity: thermostat/hc1/currtemp
  • Operator: <
  • Threshold: 15
  • Hysteresis: 1
  • Notify on: both
  • Channels: email, MQTT message

Tips​

  • Alerts do not replace Scheduler conditions that write values
  • Keep names short and unique — they become MQTT keys and HA entity ids
  • Cooldown is useful for “still bad” reminders; leave it at 0 if you only want edge notifications