14.02.2022, 07:20
(This post was last modified: 14.02.2022, 07:29 by Erwin van der Zwart.)
You can do that by enabling this setting:
Utilities -> Vis Configuration -> Enable the checkbox: Show alerts in visualization
With script you can activate the alert by using something like this:
Utilities -> Vis Configuration -> Enable the checkbox: Show alerts in visualization
With script you can activate the alert by using something like this:
Code:
value = event.getvalue()
if value > 26 then
alert("The temperature level is too high: " .. value)
end
-- or more detailed
thisobject = grp.find(event.dst)
if thisobject.value > 26 then
alert("The temperature level in room " .. thisobject.name .. " is too high: " .. thisobject.value)
end