This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Alarm system sensor list
#4
You can also store text in a 250-byte object. Use an event script attached to alarm tag, change 32/1/1 as needed:
Code:
res = {}
objs = grp.tag('alarm')
for _, obj in ipairs(objs) do
  if obj.value then
    res[ #res + 1 ] = obj.name .. ' is ON'
  end
end

text = table.concat(res, '\n')
grp.update('32/1/1', text)
Reply


Messages In This Thread
Alarm system sensor list - by Domoticatorino - 12.04.2020, 22:53
RE: Alarm system sensor list - by admin - 14.04.2020, 08:05
RE: Alarm system sensor list - by admin - 15.04.2020, 05:58
RE: Alarm system sensor list - by admin - 15.04.2020, 14:53
RE: Alarm system sensor list - by admin - 20.04.2020, 08:26
RE: Alarm system sensor list - by admin - 20.04.2020, 09:14
RE: Alarm system sensor list - by admin - 20.04.2020, 11:10
RE: Alarm system sensor list - by admin - 20.04.2020, 11:29

Forum Jump: