15.04.2020, 21:38
(09.03.2020, 13:31)Daniel. Wrote: upload it somewhere and drop a linkgood evening daniel,
whenever possible I need support to solve this small but incessant problem:
value_1 = grp.getvalue('32/1/41')
value_2 = grp.getvalue('3/3/1')
if (value_1==true) then
grp.write('2/0/91', true)
grp.write('6/0/91', value_2)
else
os.sleep(60)
grp.write('2/0/91', false)
grp.write('6/0/91', 0)
end
from the bus monitor I keep having the addresses cyclically, to reduce the traffic I also put the "os.sleep (60)" but it doesn't work, every second it sends me on the bu sil value at 0 / off of these two addresses:
grp.write ('2/0/91', false)
grp.write ('6/0/91', 0)