Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "ad22b3ebed6f2fb2",
- "type": "tab",
- "label": "Simple mailbox flow",
- "disabled": false,
- "info": "",
- "env": []
- },
- {
- "id": "c1c01fc465fb809b",
- "type": "api-call-service",
- "z": "ad22b3ebed6f2fb2",
- "name": "mobile notification",
- "server": "",
- "version": 5,
- "debugenabled": true,
- "domain": "notify",
- "service": "mobile_app_gf_jr9gtqvhc3_iphone",
- "areaId": [],
- "deviceId": [],
- "entityId": [],
- "data": "{\"title\":\"New mail\",\"message\":\"You've got mail!\",\"data\":{\"url\":\"/lovelace-mobile/mail\"}}",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "output_location": "",
- "output_location_type": "none",
- "x": 570,
- "y": 120,
- "wires": [
- []
- ]
- },
- {
- "id": "8d6a3cc43f860c48",
- "type": "api-call-service",
- "z": "ad22b3ebed6f2fb2",
- "name": "Set mailstatus = true",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "input_boolean",
- "service": "turn_on",
- "areaId": [],
- "deviceId": [],
- "entityId": [
- "input_boolean.post"
- ],
- "data": "",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": true,
- "outputProperties": [],
- "queue": "none",
- "output_location": "payload",
- "output_location_type": "none",
- "x": 580,
- "y": 70,
- "wires": [
- []
- ]
- },
- {
- "id": "3be8d70432e2abc4",
- "type": "delay",
- "z": "ad22b3ebed6f2fb2",
- "name": "",
- "pauseType": "rate",
- "timeout": "1",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "30",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 350,
- "y": 90,
- "wires": [
- [
- "8d6a3cc43f860c48",
- "c1c01fc465fb809b"
- ]
- ]
- },
- {
- "id": "e752bfb61ad7af07",
- "type": "server-state-changed",
- "z": "ad22b3ebed6f2fb2",
- "name": "Mail slot sensor open",
- "server": "83669b94.30d108",
- "version": 5,
- "outputs": 2,
- "exposeAsEntityConfig": "",
- "entityId": "",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "on",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": true,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": true,
- "ignorePrevStateUnknown": true,
- "ignorePrevStateUnavailable": true,
- "ignoreCurrentStateUnknown": true,
- "ignoreCurrentStateUnavailable": true,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 140,
- "y": 90,
- "wires": [
- [
- "3be8d70432e2abc4"
- ],
- []
- ]
- },
- {
- "id": "8e59c2e3e3436a0f",
- "type": "server-state-changed",
- "z": "ad22b3ebed6f2fb2",
- "name": "Hatch sensor open",
- "server": "",
- "version": 5,
- "outputs": 2,
- "exposeAsEntityConfig": "",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "on",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": true,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": true,
- "ignorePrevStateUnknown": true,
- "ignorePrevStateUnavailable": true,
- "ignoreCurrentStateUnknown": true,
- "ignoreCurrentStateUnavailable": true,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 130,
- "y": 40,
- "wires": [
- [
- "c60edd4b71f8b828"
- ],
- []
- ]
- },
- {
- "id": "c60edd4b71f8b828",
- "type": "api-call-service",
- "z": "ad22b3ebed6f2fb2",
- "name": "Set mailstatus = false",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "input_boolean",
- "service": "turn_off",
- "areaId": [],
- "deviceId": [],
- "entityId": [
- "input_boolean.post"
- ],
- "data": "",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": true,
- "outputProperties": [],
- "queue": "none",
- "output_location": "payload",
- "output_location_type": "none",
- "x": 370,
- "y": 40,
- "wires": [
- []
- ]
- },
- {
- "id": "83669b94.30d108",
- "type": "server",
- "name": "Home Assistant local",
- "version": 5,
- "addon": true,
- "rejectUnauthorizedCerts": true,
- "ha_boolean": "y|yes|true|on|home|open",
- "connectionDelay": true,
- "cacheJson": false,
- "heartbeat": false,
- "heartbeatInterval": "30",
- "areaSelector": "friendlyName",
- "deviceSelector": "friendlyName",
- "entitySelector": "friendlyName",
- "statusSeparator": "at: ",
- "statusYear": "hidden",
- "statusMonth": "short",
- "statusDay": "numeric",
- "statusHourCycle": "h23",
- "statusTimeFormat": "h:m",
- "enableGlobalContextStore": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment