Details
Tells me when my dog needs to go out. It measures movement and detects when my dog moves more than usual. I guess if you... Tells me when my dog needs to go out. It measures movement and detects when my dog moves more than usual. I guess if you have a lazy dog it may not work. But mine tends to get up and walk around a lot to tell me he wants to go outside. More
Pinned Items
Recent Activities
  • larissa
    larissa
    Here is the code:
    [
    {
    "id": "bc438c11.5165a",
    "type": "ui_audio",
    "z": "8592ad6b.4d0ca",
    "name": "App Voice",
    "group": "5bc88c5b.483e54",
    "voice": "0",
    "always": "",
    "x": 762.5,
    "y": 171,
    "wires": []
    },
    {
    "id": "742268b6.3778e8",
    "type": "phrase",
    "z": "8592ad6b.4d0ca",
    "name": "phrase",
    "field": "payload",
    "fieldType": "msg",
    "format": "handlebars",
    "syntax": "mustache",
    "template": "Moving!",
    "x": 619,
    "y": 133,
    "wires": [
    [
    "9e2bf867.c7ece8",
    "bc438c11.5165a"
    ]
    ]
    },
    {
    "id": "9e2bf867.c7ece8",
    "type": "tweet out",
    "z": "8592ad6b.4d0ca",
    "name": "tweet",
    "x": 781.5,
    "y": 106,
    "wires": []
    },
    {
    "id": "e5a54b7e.9c5ba8",
    "type": "delay",
    "z": "8592ad6b.4d0ca",
    "name": "Less often",
    "pauseType": "rate",
    "timeout": "5",
    "timeoutUnits": "seconds",
    "rate": "1",
    "nbRateUnits": "5",
    "rateUnits": "second",
    "randomFirst": "1",
    "randomLast": "5",
    "randomUnits": "seconds",
    "drop": true,
    "x": 474.5,
    "y": 182,
    "wires": [
    [
    "742268b6.3778e8"
    ]
    ]
    },
    {
    "id": "a5bf963.bd0eb68",
    "type": "function",
    "z": "8592ad6b.4d0ca",
    "name": "threshold detect",
    "func": "var input = msg.payload;\nvar threshold = 150;\nif (input >= threshold){\n var result = {payload : input};\n return result;\n}",
    "outputs": 1,
    "noerr": 0,
    "x": 309.5,
    "y": 135,
    "wires": [
    [
    "e5a54b7e.9c5ba8"
    ]
    ]
    },
    {
    "id": "9cc22299.2de15",
    "type": "mqtt in",
    "z": "8592ad6b.4d0ca",
    "name": "motion sensor",
    "topic": "ESSEX/accel",
    "qos": "2",
    "broker": "e943f3fd.3e56e",
    "x": 114,
    "y": 158,
    "wires": [
    [
    "a12e1a66.2d05b8",
    "a5bf963.bd0eb68",
    "9df8ca34.7cb3a8"
    ]
    ]
    },
    {
    "id": "a12e1a66.2d05b8",
    "type": "ui_chart",
    "z": "8592ad6b.4d0ca",
    "name": "Motion Chart",
    "group": "d401f725.984f18",
    "order": 0,
    "width": 0,
    "height": 0,
    "label": "Motion chart",
    "chartType": "line",
    "legend": "false",
    "xformat": "HH:mm:ss",
    "interpolate": "linear",
    "nodata": "",
    "ymin": "",
    "ymax": "",
    "removeOlder": "10",
    "removeOlderPoints": "",
    "removeOlderUnit": "1",
    "cutout": 0,
    "colors": [
    "#1f77b4",
    "#aec7e8",
    "#ff7f0e",
    "#2ca02c",
    "#98df8a",
    "#d62728",
    "#ff9896",
    "#9467bd",
    "#c5b0d5"
    ],
    "x": 289,
    "y": 188,
    "wires": [
    [],
    []
    ]
    },
    {
    "id": "9df8ca34.7cb3a8",
    "type": "ui_gauge",
    "z": "8592ad6b.4d0ca",
    "name": "",
    "group": "d401f725.984f18",
    "order": 0,
    "width": 0,
    "height": 0,
    "gtype": "gage",
    "title": "Gauge",
    "label": "units",
    "format": "{{value}}",
    "min": "90",
    "max": "200",
    "colors": [
    "#00b500",
    "#e6e600",
    "#ca3838"
    ],
    "x": 242.5,
    "y": 235,
    "wires": []
    },
    {
    "id": "5bc88c5b.483e54",
    "type": "ui_group",
    "z": "",
    "name": "MyApp",
    "tab": "20854896.351da8",
    "order": 1,
    "disp": true,
    "width": "6"
    },
    {
    "id": "e943f3fd.3e56e",
    "type": "mqtt-broker",
    "z": "",
    "broker": "localhost",
    "port": "1883",
    "clientid": "",
    "usetls": false,
    "compatmode": true,
    "keepalive": "60",
    "cleansession": true,
    "willTopic": "",
    "willQos": "0",
    "willPayload": "",
    "birthTopic": "",
    "birthQos": "0",
    "birthPayload": ""
    },
    {
    "id": "d401f725.984f18",
    "type": "ui_group",
    "z": "",
    "name": "My DIY Fitbit",
    "tab": "20854896.351da8",
    "order": 2,
    "disp": true,
    "width": "6"
    },
    {
    "id": "20854896.351da8",
    "type": "ui_tab",
    "z": "",
    "name": "My App",
    "icon": "dashboard"
    }
    ]
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • larissa
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
  • larissa
    larissa
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
There are no activities here yet
COM_EASYSOCIAL_POPBOX_ERROR_UNABLE_TO_LOAD_CONTENT
Be the first to get yours.
© STEMgem