Continuing the discussion from Lekasje sensor:
Jeg har installert Fibaro lekkasje sensor (Z-Wave) og koblet til en kranmotor kjøpt på Amazon Zigbee water valve
Det funker perfekt med denne flowen:
{
"Id": "Fn6X8jOpEwXSzus",
"ClassId": "Fn6X8jOpEwXSzus",
"Author": "",
"Version": 0,
"CreatedAt": "2023-08-31T18:33:44.547696352+02:00",
"UpdatedAt": "2023-08-31T19:01:06.277160722+02:00",
"Name": "Lekkasje",
"Group": "",
"Description": "",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "Fibaro leak",
"SuccessTransition": "3",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:zw/ad:1/sv:alarm_water/ad:24_0",
"Service": "alarm_water",
"ServiceInterface": "evt.alarm.report",
"Config": {
"ConnectorID": "",
"InputVariableType": "",
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"PropFilterName": "",
"PropFilterValue": "",
"RegisterAsVirtualService": false,
"Timeout": 0,
"ValueFilter": {
"Value": null,
"ValueType": "str_map"
},
"ValueJPath": "",
"ValueJPathResultType": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": null
},
"Ui": {
"nodeType": "",
"x": 208,
"y": 132
},
"TypeAlias": "Trigger"
},
{
"Id": "3",
"Type": "action",
"Label": "Steng kran",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:zigbee/ad:1/sv:out_bin_switch/ad:20_1",
"Service": "out_bin_switch",
"ServiceInterface": "cmd.binary.set",
"Config": {
"DefaultValue": {
"Value": false,
"ValueType": "bool"
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 206,
"y": 390
},
"TypeAlias": "Action"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}