Hi,
I’m trying to map an object from the ID Lock 150 to put the house in home mode when unlocking it with code from the outside. For now i’ve just added a notification in the end to see if it triggers.
But it does not trigger. Any idea what could go wrong?
{
"Id": "8w4VMb0NUlP9Icb",
"ClassId": "8w4VMb0NUlP9Icb",
"Author": "",
"Version": 0,
"CreatedAt": "2023-02-28T11:37:48.202424058+01:00",
"UpdatedAt": "2023-02-28T14:30:47.453775116+01:00",
"Name": "home if unlocked and away",
"Group": "door",
"Description": "home if unlocked and away",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "Door is unlocked with code",
"SuccessTransition": "2",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:zw/ad:1/sv:user_code/ad:82_0",
"Service": "user_code",
"ServiceInterface": "evt.usercode.access_report",
"Config": {
"ConnectorID": "",
"InputVariableType": "",
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"PropFilterName": "",
"PropFilterValue": "",
"RegisterAsVirtualService": false,
"Timeout": 0,
"ValueFilter": {
"Value": null,
"ValueType": "object"
},
"ValueJPath": "",
"ValueJPathResultType": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": null
},
"Ui": {
"nodeType": "",
"x": 77,
"y": 230
},
"TypeAlias": "Trigger"
},
{
"Id": "2",
"Type": "transform",
"Label": "",
"SuccessTransition": "3",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": "",
"IsLVariableGlobal": false,
"IsRVariableGlobal": false,
"IsTargetVariableGlobal": false,
"IsTargetVariableInMemory": true,
"LVariableName": "",
"RValue": {
"Value": 0,
"ValueType": "int"
},
"RVariableName": "",
"Rtype": "var",
"TargetVariableName": "",
"TargetVariableType": "",
"Template": "",
"TransformType": "jpath",
"ValueMapping": [],
"XPathMapping": [
{
"IsTargetVariableGlobal": false,
"Path": "$.val.event",
"TargetVariableName": "",
"TargetVariableType": "",
"UpdateInputVariable": false
}
]
},
"Ui": {
"nodeType": "",
"x": 405,
"y": 249
},
"TypeAlias": "Transform"
},
{
"Id": "3",
"Type": "if",
"Label": "",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "",
"LeftVariableIsGlobal": false,
"LeftVariableName": "",
"Operand": "eq",
"RightVariable": {
"Value": "unlocked",
"ValueType": "string"
}
},
{
"BooleanOperator": "",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "away",
"ValueType": "string"
}
}
],
"FalseTransition": "",
"TrueTransition": "4"
},
"Ui": {
"nodeType": "",
"x": 980,
"y": 429
},
"TypeAlias": "If condition"
},
{
"Id": "4",
"Type": "action",
"Label": "Push notification",
"Address": "pt:j1/mt:evt/rt:app/rn:kind_owl/ad:1",
"Service": "kind-owl",
"ServiceInterface": "evt.notification.report",
"SuccessTransition": "",
"ErrorTransition": "",
"Config": {
"VariableName": "",
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"VirtualServiceGroup": "",
"VirtualServiceProps": {},
"DefaultValue": {
"Value": {
"EventName": "custom",
"MessageContent": "Hello world",
"SiteId": "7fe610dc-3800-42e2-8853-c903f7501e15"
},
"ValueType": "object"
}
},
"Ui": {
"x": 935,
"y": 211,
"nodeType": "notification_action"
},
"TypeAlias": "Notification"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}