The only real issue I can see is with @@vAlarme. If vAlarme is the actual name of the item then that needs to be in quotes @@'vAlarme' otherwise the expression treats it as a variable that holds a string value representing some arbitrary item’s name.
One follow up question please:
Within the widget I pass over a selected object (loop.rItem which contains {“sName”:“TestItem”,“sAlarm”:“FIRE”,“sTime”:“12.08. 16:45”,“isCritical”:true}) to a rule
I believe that object equivalence there is handled by reference, so the objects are not equal even though they have the same properties.
You can create you own function for object comparison and pass that to the findIndex() method of the array, but honestly, that’s a lot of work when your widget loop already knows the index of the object. Just pass a second variable to the rule: