smartVISU
23:47,28.03, v2.7

Status-Widgets

status.log status.notify


status.notify

Displays a notification popup window

Parameters
{{status.notify(id, gad_trigger, gad_message, signal, title, text, mode) }}
id
unique id for this widget
gad_trigger
a gad/item witch triggers the notification
gad_message
a gad/item with the dynamic message
signal
a word for the signal corner
title
a title of the messagebox
text
a additional static text
mode
the mode: 'info', 'warning', 'error' (optional, default 'info')
Examples
If you flip the switch to 'on' the alert is been triggerd and the notification will be shown.
{{ status.notify('n1', 'bath_alert_info', 'bath_alert_text', 'INFO', 'Information', 'The heating ist to hot!', 'info') }}
Info

Information

The heating ist to hot!

Warning

Warning

The heating ist to hot! Please switch it off!

Error

Error

The heating ist to hot! It will burn now!

Widgets

Design

Misc