cancel the command result alarm

Essam 22 days ago

I need to send command to devices , but i need to cancel the command result notification temporary so the end users will not see the notification . how can i do that ?
I am trying to use the computed attributes , to set the alarm = null , or result = null , but the notification still triggered.

Anton Tananaev 22 days ago

Setting result to null should do it.

Essam 21 days ago

Many thanks anton
I did it but still the notification triggered.

attribute = Command Result
Expression = if((protocol??"")=="gt06" && !(result ?? "").toLowerCase().contains("restore")) null

Anton Tananaev 21 days ago

Your expression seems too complicated and I'm not sure it's correct.

Essam 21 days ago

i have tried to set it null directly , and even didnt work
attribute = Command Result
Expression =null

Anton Tananaev 21 days ago

There must be something you're missing. Have you linked the attribute to the device? Are you sure the key is correct?

Essam 21 days ago

the computed attribute is linked with device directly , and the Key (attribute) i selected from drop down list (Command Result ) which = reslut after i save the computed attribute in the list

Anton Tananaev 21 days ago

And you waited for new data?

Essam 21 days ago

Simply i test by send command to device , then i got the notification , and in the positions report i see the result value , the computed attribute did not cancel the notification triggering and did not remove the result

Anton Tananaev 21 days ago

And you're using the latest official release?