Hi there!
I’m building a flow ensuring my Doorman lock is automatically locking when closing the door and home mode is “away”. But I cannot get the value filter in the trigger to work properly. It is the “val” part of the fimp message trigged by closing the door to use, right? I paste the code for the trigger and fimp message below. Someone have any idea what i’m doing wrong here?
{
"Id": "11",
"Type": "trigger",
"Label": "",
"SuccessTransition": "20",
"TimeoutTransition": "10",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:zigbee/ad:1/sv:alarm_lock/ad:8_1",
"Service": "alarm_lock",
"ServiceInterface": "evt.alarm.report",
"Config": {
"IsValueFilterEnabled": true,
"LookupServiceNameAndLocation": false,
"RegisterAsVirtualService": false,
"Timeout": 5,
"ValueFilter": {
"Value": "{'event' : 'door_closed' , 'status' : 'activ'}",
"ValueType": "str_map"
},
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 901,
"y": 168
},
"TypeAlias": "Trigger"
},
And here is the fimp message:
{
"serv": "alarm_lock",
"type": "evt.alarm.report",
"val_t": "str_map",
"val": {
"event": "door_closed",
"status": "activ"
},
"props": null,
"tags": null,
"src": "-",
"ver": "1",
"uid": "7338c3c6-176b-4215-93ae-977245b7d432",
"topic": "pt:j1/mt:evt/rt:dev/rn:zigbee/ad:1/sv:alarm_lock/ad:8_1"
}