Plugin allow to create notification commands (action / message type command) that behave like a queue and deliver notifications (sent in their respective queue) only if a condition is met.
This allows for example:
Each queue can also be configured to add a delay before sending, an expiration of the message, avoid repeating a notification already sent previously…
Component | Version |
---|---|
Debian | Bullseye(11) & Bookworm(12) |
Jeedom | >= 4.2 |
In order to use the plugin, you must download, install and activate it like any Jeedom plugin.
There is no configuration to perform at the plugin level.
The plugin is in the Plugins → Communication menu.
After creating new device, the usual options are available.
You can create several devices to organize your different communications according to your preferences.
On top of the usual device configurations, you must configure:
Tip
You can specify several notification commands by separating them with &&
This allows to configure a pause time between 2 evaluations of the condition when sending successive messages if, for example, the feedback of a command takes time to update the status.
If enabled, the plugin will calculate the reading time of the message. To do this, he counts the number of total syllables and multiplies this number by an average reading time per syllable. You can adapt this time according to your TTS device in the device configuration.
It is possible to configure a sending delay (in seconds) of notifications during which a new notification will be kept in the queue even if the condition is true, it is only after this delay that the notification will be sent if the condition is fulfilled.
It is possible to configure a notification expiration time (in minutes). After this period, the notification will no longer be sent if the condition has not been fulfilled until then.
You can also choose the behavior when a notification with the same message as an existing notification is added to the queue.
This allows you to delete the notification and therefore not to add it to the queue; it will therefore not be sent if the same message has already been sent during the last X minutes.
The plugin manages the generation of random text. The system is the same as for interactions:
[Hello|Hi|Hey]
will return either Hello
or Hi
or Hey
The plugin manages the conditions in the text thanks to a ternary operator: {(test) ? true : false}
Example:
This morning {(#[Home][Weather][Temperature]# < 6) ? it's cold:it's hot}
It is possible not to put text int the true or false result but it is mandatory to leave the colon (“:”), example:
This morning {(#[Home][Weather][Temperature]# < 6) ? it's cold:}
Conditions cannot be nested, it is not managed.
The widget will be the default of the core with the default display of commands (messages) according to their configuration.
If you have a problem, start by reading the latest plugin-related topics on community.
If despite this you do not find an answer to your question, do not hesitate to create a new topic, with the tag of the plugin (plugin-notificationqueue).
At a minimum, you will need to provide:
Preformatted Text
(button </>
on community), no files!