[
    {
        "id": "0ad29567ab478e56",
        "type": "tab",
        "label": "Robo fueraborda",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "8ca481e5d7370907",
        "type": "link in",
        "z": "0ad29567ab478e56",
        "name": "link in 1",
        "links": [
            "673d2eff55165663"
        ],
        "x": 85,
        "y": 40,
        "wires": [
            [
                "b1eb2179ed86034d"
            ]
        ]
    },
    {
        "id": "b1eb2179ed86034d",
        "type": "function",
        "z": "0ad29567ab478e56",
        "name": "Filtrar solo los de mi llavero",
        "func": "if (msg.payload.iBeacon && msg.payload.iBeacon.major == 1 && msg.payload.iBeacon.minor == 3)\n    return msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 300,
        "y": 60,
        "wires": [
            [
                "aaa91dbf4cfafb10",
                "aaca05e49f43f411"
            ]
        ]
    },
    {
        "id": "aaca05e49f43f411",
        "type": "trigger",
        "z": "0ad29567ab478e56",
        "name": "off despues de 10 segundos",
        "op1": "",
        "op2": "El fuera borda se ha separado del barco",
        "op1type": "nul",
        "op2type": "str",
        "duration": "10",
        "extend": true,
        "overrideDelay": false,
        "units": "s",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 300,
        "y": 120,
        "wires": [
            [
                "0e37b50f9815e31d"
            ]
        ]
    },
    {
        "id": "aaa91dbf4cfafb10",
        "type": "template",
        "z": "0ad29567ab478e56",
        "name": "Regreso",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "El fuera borda regreso al barco",
        "output": "str",
        "x": 520,
        "y": 60,
        "wires": [
            [
                "0e37b50f9815e31d"
            ]
        ]
    },
    {
        "id": "0e37b50f9815e31d",
        "type": "rbe",
        "z": "0ad29567ab478e56",
        "name": "",
        "func": "rbe",
        "gap": "",
        "start": "",
        "inout": "out",
        "septopics": true,
        "property": "payload",
        "topi": "topic",
        "x": 650,
        "y": 120,
        "wires": [
            [
                "7f5ac6fed66c62f3"
            ]
        ]
    },
    {
        "id": "7f5ac6fed66c62f3",
        "type": "node-red-contrib-whatsapp-cmb-send-message",
        "z": "0ad29567ab478e56",
        "name": "Mandarme al telefono",
        "account": "55c6be2b096ccd6c",
        "text": "payload",
        "inputtypemessage": "msg",
        "rejectssl": false,
        "x": 660,
        "y": 220,
        "wires": [
            []
        ]
    },
    {
        "id": "55c6be2b096ccd6c",
        "type": "node-red-contrib-whatsapp-cmb-account",
        "name": "Mi telefono"
    }
]