A simple question. I want FT App to give me a message if the Temperature of a sensor rises above X degrees. Is this really not possible through Automations??
This is possible if you set it up in tpflow.
Here is an example:
{
"Id": "FNoWPSFpCjOIUyy",
"ClassId": "FNoWPSFpCjOIUyy",
"Author": "",
"Version": 0,
"CreatedAt": "2021-02-01T22:28:47.679450301+01:00",
"UpdatedAt": "2021-02-01T22:28:47.679450301+01:00",
"Name": "notifyOverXdegree",
"Group": "test",
"Description": "sends push notification over x degree",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "Temp sensor",
"SuccessTransition": "2",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Timeout": 0,
"ConnectorID": "",
"ValueFilter": {
"Value": null,
"ValueType": ""
},
"PropFilterName": "",
"PropFilterValue": "",
"ValueJPath": "",
"ValueJPathResultType": "",
"InputVariableType": "",
"IsValueFilterEnabled": false,
"RegisterAsVirtualService": false,
"LookupServiceNameAndLocation": false,
"VirtualServiceGroup": "",
"VirtualServiceProps": null
},
"Ui": {
"x": 463,
"y": 177,
"nodeType": ""
},
"TypeAlias": "Trigger"
},
{
"Id": "2",
"Type": "if",
"Label": "if over x degree",
"Address": "",
"Service": "",
"ServiceInterface": "",
"SuccessTransition": "",
"ErrorTransition": "",
"Config": {
"TrueTransition": "3",
"FalseTransition": "",
"Expression": [
{
"Operand": "gt",
"LeftVariableName": "",
"LeftVariableIsGlobal": false,
"RightVariable": {
"Value": 20,
"ValueType": "float"
},
"BooleanOperator": ""
}
]
},
"Ui": {
"x": 452,
"y": 324,
"nodeType": ""
},
"TypeAlias": "If condition"
},
{
"Id": "3",
"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": "Temp sensor reports over 20*C",
"SiteId": "f8976a62-a96c-4555-9af0-875a471eb74b"
},
"ValueType": "object"
}
},
"Ui": {
"x": 452,
"y": 467,
"nodeType": "notification_action"
},
"TypeAlias": "Notification"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}
Jeg hadde jo håpet å unngå TPFlow for noe så enkelt som jeg mener burde være integrert i den vanlige regelmotoren, men takk for svar.
Jeg er enig at med alle mulighetene tpflow har, så er automasjonsbiten i appen litt for begrenset.
Det ønskes å utvide funksjonaliteten men er uvisst når det kommer