Jeg trodde det var løst men av en eller annen grunn så slå viften seg på igjen. Har prøvd mye. Nå har jeg satt opp følgende:
Automasjon 1: Starter vifta når det er over 65% fuktighet
Automasjon 2: Slår på og så av vifta etter 25 min ved mindre enn 65% fuktighet (med keep first)
Det som skjer er at det ser ut til å funge, altså den slår seg av 25 min etter at fuktighet har gått under 65%, men etter en stund så slår den seg på igjen. Skjønner ikke hvorfor.
(Poenget med automasjonen er at jeg ønsker å kunne styre vifta manuelt noen ganger uten at den slår seg av grunnet at fuktighet er under 65%.)
{
"Id": "443d3501-be6c-43de-b1aa-bfb9a3b71974",
"ClassId": "443d3501-be6c-43de-b1aa-bfb9a3b71974",
"Author": "espent@posteo.net",
"Version": 0,
"CreatedAt": "2024-06-02T19:33:17.16243Z",
"UpdatedAt": "2024-06-03T10:28:17.700190911+02:00",
"Name": "when humidity value of Fuktighet bad is lower than 65% and the mode is home, away, sleep or vacation",
"Group": "sensor_humid",
"Description": "Ventilasjon goes on and after 25 minutes Ventilasjon goes off ",
"Nodes": [
{
"Id": "62",
"Type": "trigger",
"Label": "when humidity value of Fuktighet bad is lower than 65%",
"SuccessTransition": "63",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:zigbee/ad:1/sv:sensor_humid/ad:2_1",
"Service": "sensor_humid",
"ServiceInterface": "evt.sensor.report",
"Config": {
"InputVariableType": null,
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"PropFilterName": "unit",
"PropFilterValue": "%",
"RegisterAsVirtualService": false,
"Timeout": null,
"ValueFilter": {
"Value": null,
"ValueType": null
},
"ValueJPath": null,
"ValueJPathResultType": null,
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "4",
"nodeName": "humid",
"nodeType": "humid"
},
"x": null,
"y": null
},
"TypeAlias": "Trigger"
},
{
"Id": "63",
"Type": "if",
"Label": "",
"SuccessTransition": "64",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "tpflow",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "",
"LeftVariableIsGlobal": false,
"LeftVariableName": "",
"Operand": "lt",
"RightVariable": {
"Value": 65,
"ValueType": "float"
}
}
],
"FalseTransition": "",
"TrueTransition": "64"
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": null,
"nodeName": "If",
"nodeType": "humid"
},
"x": null,
"y": null
},
"TypeAlias": "If condition"
},
{
"Id": "64",
"Type": "if",
"Label": "and the mode is home, away, sleep or vacation",
"SuccessTransition": "65",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "tpflow",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "home",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "away",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "sleep",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "vacation",
"ValueType": "string"
}
}
],
"FalseTransition": "",
"TrueTransition": "65"
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "home,away,sleep,vacation",
"nodeName": "If",
"nodeType": "modeTrigger"
},
"x": null,
"y": null
},
"TypeAlias": "If condition"
},
{
"Id": "65",
"Type": "action",
"Label": "Ventilasjon goes on",
"SuccessTransition": "66",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:zigbee/ad:1/sv:out_bin_switch/ad:7_1",
"Service": "out_bin_switch",
"ServiceInterface": "cmd.binary.set",
"Config": {
"DefaultValue": {
"Value": true,
"ValueType": "bool"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "14",
"nodeName": "device",
"nodeType": "deviceAction"
},
"x": null,
"y": null
},
"TypeAlias": "Action"
},
{
"Id": "66",
"Type": "wait",
"Label": "and after 25 minutes",
"SuccessTransition": "67",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": 1500000,
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": null,
"nodeName": "wait",
"nodeType": "deviceTimeout"
},
"x": null,
"y": null
},
"TypeAlias": "Delay"
},
{
"Id": "67",
"Type": "if",
"Label": "and the mode is home, away, sleep or vacation",
"SuccessTransition": "68",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "tpflow",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "home",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "away",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "sleep",
"ValueType": "string"
}
},
{
"BooleanOperator": "or",
"LeftVariableIsGlobal": true,
"LeftVariableName": "fh.home.mode",
"Operand": "eq",
"RightVariable": {
"Value": "vacation",
"ValueType": "string"
}
}
],
"FalseTransition": "",
"TrueTransition": "68"
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "home,away,sleep,vacation",
"nodeName": "If",
"nodeType": "modeTrigger"
},
"x": null,
"y": null
},
"TypeAlias": "If condition"
},
{
"Id": "68",
"Type": "action",
"Label": "Ventilasjon goes off",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:zigbee/ad:1/sv:out_bin_switch/ad:7_1",
"Service": "out_bin_switch",
"ServiceInterface": "cmd.binary.set",
"Config": {
"DefaultValue": {
"Value": false,
"ValueType": "bool"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "14",
"nodeName": "device",
"nodeType": "deviceTimeoutAction"
},
"x": null,
"y": null
},
"TypeAlias": "Action"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "keep_first"
}