From 8e00279aee523ff8cafd06967acb2d049c792188 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sun, 30 Oct 2022 16:12:38 +0100 Subject: [PATCH] Update notifications.md --- docs/notifications.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/notifications.md b/docs/notifications.md index 836e9678..71a2592d 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -8,14 +8,29 @@ This is the notification used by the backend for updates, opening it requires to `pageType popupNotify` -`entityUpdateDetail~internalName~heading~headingColor~button1text~button1color~button2text~tB2Color~notificationText~textColor~sleepTimeout` +`entityUpdateDetail~internalName~heading~headingColor~button1text~button1color~button2text~tB2Color~notificationText~textColor~sleepTimeout~fontIdText` Alternative Layout with Icon: `entityUpdateDetail~internalName~heading~headingColor~button1text~button1color~button2text~tB2Color~notificationText~textColor~sleepTimeout~fontIdText~icon~iconColor` + +`fontIdText` is the font used by the notification text +Possible values are 0-5: +``` +Font 0 - Default - Size 24 (No Icons, Support for various special chars from different langs) +Font 1 - Size 32 (Icons and limited chars) +Font 2 - Size 32 (No Icons, Support for various special chars from different langs) +Font 3 - Size 48 (Icons and limited chars) +Font 4 - Size 80 (Icons and limited chars) +Font 5 - Size 128 (ascii only) +``` + + It is possible to exit from the page by sending `exitPopup` +If you want to add newlines to your message add this string for the newline `{{'\r\n'}}` + Send Message to the Panel combined with a buzzer sound: ```