is there an option to add the "current time" into a notification?
Or update a user variable with the "current time" (what could later be used in a notification) when Event was triggered?
Thanks,Well, i got it to work the way i wanted it too with a dzvents script.
In case someone is looking for this as well:
First i created a user variable called "current time"
Then i created the dzvents script:
In my Blockly notification i used the user variable "current time" as message.Code: Select all
local Time = require('Time') local now = Time() return { active = true, on = { devices = {'*'}, }, execute = function(domoticz, item, triggerInfo) domoticz.variables('current time').set(Time().raw) end }
Dennis