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.

Cumulative sending script
#1
Hi,
I have to send cyclically, with a scheduler script, the value of 110 group addresses. The value is not the same for all address but I have to send its own group address value. This because some devices lost theirs settings.

An example could be:

value = grp.getvalue('8/0/36')

grp.write('8/0/36' , value)

But I have to do it for 110 group address. Is there a more efficient system?


In case LM reboots, how can I be sure that LM send the value saved? Do you suggest to use this following:

storage.set('8/0/36', value)

And this following in "Init" script:

mydata = storage.get('myobjectdata')

Also in this case what could beĀ  a more efficient system?

Thanks.

BR
Reply
#2
See this: https://forum.logicmachine.net/showthrea...7#pid11677

There's no point in saving values into storage because it's synced the same way as the main database. If you have frequent power outages then the most robust solution is to install a UPS.
Reply
#3
(23.02.2026, 06:57)admin Wrote: See this: https://forum.logicmachine.net/showthrea...7#pid11677

There's no point in saving values into storage because it's synced the same way as the main database. If you have frequent power outages then the most robust solution is to install a UPS.

Thanks!!
Reply


Forum Jump: