16.02.2016, 08:54
How prepare calculating of central statuses on Logic Machine by event-script and tags? E.g. "1Floor status", "Kitchen status" ...
Central statuses
|
16.02.2016, 08:54
How prepare calculating of central statuses on Logic Machine by event-script and tags? E.g. "1Floor status", "Kitchen status" ...
16.02.2016, 11:22
Here are 2 functions for getting OR / AND values for binary objects with the same tag. You can then use the result to write out the status.
Code: function tag_and(tag)
16.02.2016, 12:41
(16.02.2016, 11:22)admin Wrote: Here are 2 functions for getting OR / AND values for binary objects with the same tag. You can then use the result to write out the status. Thanks
18.02.2016, 08:21
Is there any solution to prevent executing this function on every tag change?
When there is 5 - 10 statuses, there is no problem, but if there is 100 or 200 statuses of whole house, script has to execute 100 time which can slow down LM...
18.02.2016, 10:12
(18.02.2016, 08:21)Pawel Wrote: Is there any solution to prevent executing this function on every tag change? Before doing a function you can check if the status of this lamp is the same that the central status. Code: tag="kitchen" |
« Next Oldest | Next Newest »
|