Page 1 of 1

Visual notification/alerts

Posted: Friday 07 October 2022 17:25
by timmpo
I miss some Visual notification/alerts function in domoticz, a simple popup to warn when something goes wrong that we can use in our scripts and so on.
Cheers :)

Re: Visual notification/alerts

Posted: Tuesday 18 October 2022 11:22
by waltervl
With dzVents you can make a browser popup notification. Browser is one of the subsystems
From documentation https://www.domoticz.com/wiki/DzVents:_ ... nd_methods
notify(subject, message [,priority][,sound][,extra][,subsystem][,delay]3.0.10 ):
Function. Send a notification (like Prowl). Priority can be like domoticz.PRIORITY_LOW, PRIORITY_MODERATE, PRIORITY_NORMAL, PRIORITY_HIGH, PRIORITY_EMERGENCY. extra is notification subsystem specific. For NSS_FIREBASE you can use this field to specify the target mobile (‘midx_1’, midx_2, etc..). For sound see list of dzVents Constants for the SOUND constants below. subsystem defaults to all subsystems but can be one subsystem or a table containing one or more notification subsystems. See list of dzVents Constants for domoticz.NSS_subsystem types. Delay is delay in seconds
Edit:
Same can be executed with Blockly Send notification (through subsystem browser)
https://www.domoticz.com/wiki/Blockly#Messages