ユーザ用ツール

サイト用ツール


nodered

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
nodered [2020/07/18 12:24] – 作成 nabezonodered [2020/08/06 01:35] (現在) – [dashboard] nabezo
行 2: 行 2:
 ===== install ===== ===== install =====
 rspbberypi,debian,ubuntuなら rspbberypi,debian,ubuntuなら
-  https://nodered.jp/docs/getting-started/raspberrypi+https://nodered.jp/docs/getting-started/raspberrypi 
 +より 
 +  bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) 
 + 
 +===== 設定 ===== 
 +.node-red/setting.js 
 +  * project機能 
 + 
 +  // Customising the editor 
 +  editorTheme:
 +      projects: { 
 +          // To enable the Projects feature, set this value to true 
 +          //enabled: false 
 +          enabled: true 
 +      } 
 +  } 
 + 
 +====== dashboard ====== 
 + 
 +image表示(jpegをBASE64にしたものを表示) 
 +  <img src="data:image/jpeg;base64,{{msg.payload}}" /> 
 + 
 + 
 +====== msgの操作 ====== 
 + 
 +===== function node ===== 
 +  msg.payload = { 
 +    "field1": "value1", 
 +    "field2": "value2" 
 +  }; 
 +  return msg;
  
  
nodered.1595042654.txt.gz · 最終更新: 2020/07/18 12:24 by nabezo