28.06.2016, 15:13
(This post was last modified: 28.06.2016, 15:33 by Erwin van der Zwart.)
Hi Roger,
Make one event based script and put it to the TAG for example "Read Request" and turn on the execute read checkbox just once for this single script (;
Add this script in it:
With mass edit you can add the TAG ''Read Request" to all your object and you are done.
BR,
Erwin van der Zwart
Make one event based script and put it to the TAG for example "Read Request" and turn on the execute read checkbox just once for this single script (;
Add this script in it:
Code:
-- only reply to group read requests
if event.type == 'groupread' then
obj = grp.find(event.dst)
-- object found and has datatype set
if obj and obj.decoded then
grp.response(event.dst, obj.value, obj.datatype)
end
end
With mass edit you can add the TAG ''Read Request" to all your object and you are done.
BR,
Erwin van der Zwart