UNPKG

nanocyte-configuration-generator

Version:
331 lines (330 loc) 10.6 kB
{ "flowId": "dd3d787a-7833-4581-9287-3ad2c5a1273a", "token": "200b7bd1b413966dca56d1a3f7fa9f9c27eb36bd", "name": "Bonzai", "resource": { "nodeType": "flow", "owner": { "uuid": "af354bd1-988f-4905-bba7-98b87f84eabe", "nodeType": "user" } }, "_id": "55ee508d9ff0780f00a5976b", "hash": "198de242", "nodes": [ { "id": "8a8da890-55d6-11e5-bd83-1349dc09f6d6", "resourceType": "flow-node", "payloadType": "date", "once": false, "name": "Trigger", "class": "trigger", "helpText": "Send a static message. Can also be triggered from other flows", "category": "operation", "uuid": "37f0a74a-2f17-11e4-9617-a6c5e4d22fb7", "type": "operation:trigger", "defaults": { "payloadType": "date", "once": false }, "input": 0, "output": 1, "formTemplatePath": "/pages/node_forms/button_form.html", "logo": "https://ds78apnml6was.cloudfront.net/operation/trigger.svg", "inputLocations": [], "outputLocations": [], "x": 609.9398803710938, "y": 517.0806884765625, "needsConfiguration": false, "needsSetup": false }, { "id": "8e74a6c0-55d6-11e5-bd83-1349dc09f6d6", "resourceType": "flow-node", "active": true, "debug": true, "complete": false, "name": "Debug", "class": "debug", "helpText": "Display the contents of the messages it receives in the debug panel", "category": "operation", "uuid": "37f0b88e-2f17-11e4-9617-a6c5e4d22fb7", "type": "operation:debug", "defaults": { "active": true, "debug": true, "complete": false }, "color": "#87a980", "input": 1, "output": 0, "align": "right", "formTemplatePath": "/pages/node_forms/debug_form.html", "logo": "https://ds78apnml6was.cloudfront.net/operation/debug.svg", "inputLocations": [], "outputLocations": [], "x": 827.5084838867188, "y": 520.1118774414062, "needsConfiguration": false, "needsSetup": false }, { "id": "2cf457d0-57eb-11e5-99ea-11ac2aafbb8d", "resourceType": "flow-node", "payloadType": "date", "repeat": 1000, "on": true, "name": "Interval", "class": "interval", "helpText": "Emit a message at the specified interval.", "category": "operation", "uuid": "37f0a966-2f17-11e4-9617-a6c5e4d22fb7", "type": "operation:interval", "defaults": { "payloadType": "date", "repeat": 1000, "on": true }, "input": 1, "output": 1, "formTemplatePath": "/pages/node_forms/interval_form.html", "logo": "https://ds78apnml6was.cloudfront.net/operation/interval.svg", "inputLocations": [], "outputLocations": [], "x": 701.1630249023438, "y": 405.0007629394531, "needsConfiguration": false, "needsSetup": false }, { "id": "f607eed0-631b-11e5-9887-75e2edd7c9c8", "resourceType": "flow-node", "configureWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe" ], "discoverWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe" ], "meshblu": { "hash": "SENDpbFlAVqb/tdtHVbwj2pvlUWmz4fvEod0qOSXCcU=", "tokens": {} }, "name": "Thing 1", "online": false, "owner": "af354bd1-988f-4905-bba7-98b87f84eabe", "receiveAsWhitelist": [ "c36f335a-d820-42bc-bedb-b08775931318" ], "receiveWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe", "dd3d787a-7833-4581-9287-3ad2c5a1273a" ], "sendWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe", "c36f335a-d820-42bc-bedb-b08775931318" ], "uuid": "c0e0955e-6ab4-4182-8d56-1c8c35a5106d", "category": "device", "staticMessage": {}, "useStaticMessage": true, "nodeType": {}, "class": "", "input": 1, "output": 1, "formTemplatePath": "/pages/node_forms/device_form.html", "inputLocations": [], "outputLocations": [], "x": 402.96966552734375, "y": -215.87570190429688, "needsConfiguration": false, "needsSetup": true }, { "id": "2", "resourceType": "flow-node", "configureWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe" ], "discoverWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe" ], "meshblu": { "hash": "SENDpbFlAVqb/tdtHVbwj2pvlUWmz4fvEod0qOSXCcU=", "tokens": {} }, "name": "Thing 2", "online": false, "owner": "af354bd1-988f-4905-bba7-98b87f84eabe", "receiveAsWhitelist": [ "c36f335a-d820-42bc-bedb-b08775931318" ], "receiveWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe", "dd3d787a-7833-4581-9287-3ad2c5a1273a" ], "sendWhitelist": [ "af354bd1-988f-4905-bba7-98b87f84eabe", "c36f335a-d820-42bc-bedb-b08775931318" ], "uuid": "2", "eventType": "configure", "category": "device", "staticMessage": {}, "useStaticMessage": true, "nodeType": {}, "class": "", "input": 1, "output": 1, "formTemplatePath": "/pages/node_forms/device_form.html", "inputLocations": [], "outputLocations": [], "x": 402.96966552734375, "y": -215.87570190429688, "needsConfiguration": false, "needsSetup": true }, { "id": "9d8e9920-663b-11e5-82a3-c3248b467ade", "resourceType": "flow-node", "channelid": "532a258a50411e5802cb8053", "channelActivationId": "55fc50d1aed35f0f0009b9c3", "uuid": "e56842b0-5e2e-11e5-8abf-b33a470ad64b", "name": "Github", "type": "channel:github", "category": "channel", "online": true, "useStaticMessage": true, "nodeType": { "_id": "53c9b839f400e177dca325c8", "category": "channel", "categories": [ "Social" ], "description": "", "documentation": "https://developer.github.com/v3/", "helpText": "GitHub is a web-based Git repository hosting service, that is the best place to share code with friends, co-workers, classmates, and complete strangers. Also offers distributed revision control and source code management functionalities to fork projects, send pull requests, and monitor development.", "enabled": true, "name": "Github", "skynet": { "type": "channel", "subtype": "Github" }, "channelid": "532a258a50411e5802cb8053", "type": "channel:github" }, "class": "channel-github", "defaults": { "channelid": "532a258a50411e5802cb8053", "channelActivationId": "55fc50d1aed35f0f0009b9c3", "uuid": "e56842b0-5e2e-11e5-8abf-b33a470ad64b", "name": "Github", "type": "channel:github", "category": "channel", "online": true, "useStaticMessage": true, "nodeType": { "_id": "53c9b839f400e177dca325c8", "category": "channel", "categories": [ "Social" ], "description": "", "documentation": "https://developer.github.com/v3/", "helpText": "GitHub is a web-based Git repository hosting service, that is the best place to share code with friends, co-workers, classmates, and complete strangers. Also offers distributed revision control and source code management functionalities to fork projects, send pull requests, and monitor development.", "enabled": true, "name": "Github", "skynet": { "type": "channel", "subtype": "Github" }, "channelid": "532a258a50411e5802cb8053", "type": "channel:github" } }, "input": 1, "output": 1, "helpText": "GitHub is a web-based Git repository hosting service, that is the best place to share code with friends, co-workers, classmates, and complete strangers. Also offers distributed revision control and source code management functionalities to fork projects, send pull requests, and monitor development.", "formTemplatePath": "/pages/node_forms/channel_form.html", "logo": "https://ds78apnml6was.cloudfront.net/channel/github.svg", "inputLocations": [], "outputLocations": [], "x": 239.47897338867188, "y": 228.071044921875, "headerParams": {}, "urlParams": {}, "queryParams": {}, "bodyParams": {}, "url": "https://:hostname/setup/api/settings/authorized-keys", "method": "POST", "bodyFormat": "json", "needsConfiguration": false, "needsSetup": false }, { "id": "40842d14-a536-4d07-9174-fc463c53a5a7", "category": "operation", "type": "operation:get-key" }, { "id": "2528d3e8-6993-4184-8049-9c4025a57145", "category": "operation", "type": "operation:set-key" } ], "links": [ { "from": "8a8da890-55d6-11e5-bd83-1349dc09f6d6", "fromPort": 0, "to": "8e74a6c0-55d6-11e5-bd83-1349dc09f6d6", "toPort": 0 }, { "from": "2cf457d0-57eb-11e5-99ea-11ac2aafbb8d", "fromPort": 0, "to": "8e74a6c0-55d6-11e5-bd83-1349dc09f6d6", "toPort": 0 }, { "from": "40842d14-a536-4d07-9174-fc463c53a5a7", "fromPort": 0, "to": "8e74a6c0-55d6-11e5-bd83-1349dc09f6d6", "toPort": 0 }, { "from": "2528d3e8-6993-4184-8049-9c4025a57145", "fromPort": 0, "to": "8e74a6c0-55d6-11e5-bd83-1349dc09f6d6", "toPort": 0 } ], "online": true, "deployed": true, "selectedFlowNode": { "id": "2cf457d0-57eb-11e5-99ea-11ac2aafbb8d", "resourceType": "flow-node", "payloadType": "date", "repeat": 1000, "on": true, "name": "Interval", "class": "interval", "helpText": "Emit a message at the specified interval.", "category": "operation", "uuid": "37f0a966-2f17-11e4-9617-a6c5e4d22fb7", "type": "operation:interval", "defaults": { "payloadType": "date", "repeat": 1000, "on": true }, "input": 1, "output": 1, "formTemplatePath": "/pages/node_forms/interval_form.html", "logo": "https://ds78apnml6was.cloudfront.net/operation/interval.svg", "inputLocations": [], "outputLocations": [], "x": 701.1630249023438, "y": 405.0007629394531 }, "selectedLink": null, "activated": false }