I have 3 counters as listed below with individual idx's 87, 99 and 98
I would like to get a notification when the 99 or 98 counter does get incremented however it I enable the below Lua I do get notifications from the idx 87
as well, more over incremented the idx 87 by 1 give an notification of 98 and 99 at the same time.
I am sure I am missing something.. please advice.
Thanks in advantage , Frank
Code: Select all
commandArray = {}
if (devicechanged['Police HeliCopter 10Km']) then
commandArray['SendNotification']='Police Heli in the Air!'
end
if (devicechanged['LifeLiner Rescue 10Km']) then
commandArray['SendNotification']='LifeLiner Heli in the Air!'
end
return commandArray