「.NET 開発基盤部会 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。
ちょっと触ることになったので。
モノのインターネットを配線するための
Node-REDのダッシュボードUI
Open APIドキュメントや関数ノードのソースなど、
様々なソースからNode-REDノードモジュールを生成するCLI
Node-REDインスタンスをリモートで管理できるCLI
システム間の接続インタフェース(API)を統合管理する技術
FROM nodered/node-red RUN mkdir -p $HOME/.node-red RUN cd $HOME/.node-red RUN npm install node-red-contrib-aedes
docker build -t nodered-sample:p1 .
version: '3.4'
services:
nodered_sample:
image: nodered-sample:p1
ports:
- "1880:1880"
- "1883:1883"※ portsは、ホスト側:コンテナ側で、1880は、HTTP。1883は、MQTT。
[
{
"id": "f6f2187d.f17ca8",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "3e63d5c0.89476a",
"type": "http in",
"z": "f6f2187d.f17ca8",
"name": "HTTP Endpoint",
"url": "hoge/:param",
"method": "get",
"upload": false,
"swaggerDoc": "",
"x": 160,
"y": 320,
"wires": [
[
"3dcdaca5.9f0f64"
]
]
},
{
"id": "7027d3d1.6d81fc",
"type": "debug",
"z": "f6f2187d.f17ca8",
"name": "Debug",
"active": true,
"tosidebar": true,
"console": true,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 420,
"y": 260,
"wires": []
},
{
"id": "4cd59e40.9521f",
"type": "http response",
"z": "f6f2187d.f17ca8",
"name": "HTTP Response",
"statusCode": "200",
"headers": {},
"x": 500,
"y": 340,
"wires": []
},
{
"id": "3dcdaca5.9f0f64",
"type": "template",
"z": "f6f2187d.f17ca8",
"name": "page",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "<!DOCTYPE html>\n<html lang=”en”>\n<head>\n<title>Response Named Parameters</title>\n</head>\n<h1>Page found Named Parameters {{req.params.param}}</h1>\n</html>",
"output": "str",
"x": 330,
"y": 340,
"wires": [
[
"4cd59e40.9521f",
"7027d3d1.6d81fc"
]
]
}
]MQTTは、...。