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.

Script with Tag condition
#3
(8 hours ago)admin Wrote: Yes, you can assign multiple tags to a group address.

Your script does not work because grp.find() does not return assigned tags as a table. Use grp.gettags(alias) instead.

You should add some extra checks so that an email is only sent once, not on every detection.

Thank you Admin! 

Do you mean to use the following command instead:

local oggetto_allarme = grp.gettags(addr_sorgente)

But  grp.gettags it should be blue. But it is not. It is correct?

Thanks.
Reply


Messages In This Thread
RE: Script with Tag condition - by Domoticatorino - 4 hours ago

Forum Jump: