Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
好きなNode-REDノード : Templateノード
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takao Aoki
August 05, 2021
Programming
750
0
Share
好きなNode-REDノード : Templateノード
templateノードの魅力について書いてみました。
Takao Aoki
August 05, 2021
More Decks by Takao Aoki
See All by Takao Aoki
enebular Update for the second half of 2023
taokiuhuru
0
270
enebularを活用したNode-REDによるIoTシステム開発と運用
taokiuhuru
0
590
Changeノードの素朴な疑問
taokiuhuru
0
350
スマートシティプロジェクトにおける市民開発向け開発環境のご紹介
taokiuhuru
0
130
Heroes-league-2022-enebular
taokiuhuru
0
380
OuraRingで体調不良を同僚にそっと伝える方法
taokiuhuru
1
500
Node-REDカスタムノードによる工場IoT・DXの進め方
taokiuhuru
0
1.2k
ゆるふわ物体検出
taokiuhuru
0
670
Salesforce活用の裏技
taokiuhuru
1
840
Other Decks in Programming
See All in Programming
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.7k
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
480
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
340
My daily life on Ruby
a_matsuda
3
200
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
t *testing.T は どこからやってくるの?
otakakot
1
920
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
330
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.2k
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
250
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
340
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
The Limits of Empathy - UXLibs8
cassininazir
1
320
Crafting Experiences
bethany
1
140
GitHub's CSS Performance
jonrohan
1032
470k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Technical Leadership for Architectural Decision Making
baasie
3
360
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Designing for Timeless Needs
cassininazir
0
220
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
110
Transcript
私の好きな 標準ノード Node-RED Park Vol.1 2021/08/05
2 自己紹介: 青木 隆雄 • ウフルでIoT開発運用ツールenebular事業担当 • 技術レベル:コピペプログラマ
テンプレート・ノード 3
mustache記法が便利 4 マスタッシュ(口ひげ) {
mustache記法が便利 5 • 波括弧を二重で囲う • 流れてきたデータを使って、自在に文を作れる
functionノードで書くと… 6 これくらいなら理解できるが
複雑なやつ 7 よくサンプルで見かける
テンプレートを使う 8
すっきり見える 9 Changeノードの設定 Templateノードの設定
debugしてみる 10 あれ?おかしい。
{{2重}}から{{{3重}}}にする 11 カッコを3重にすることで、正し くデータを渡せた。
こんなフローを普段使いし てます(デモ) 12
ボットに投げる文章を作 るときに使用 13
ボットが毎日定時に 天気をお知らせ 14 Heroku deployで永続的にフローを実行
ボットが毎日定時に 天気をお知らせ 15 *は、Google Chatでの太字の修飾を意味 するのでMustacheではありません。
まとめ 16 Templateノードのよいところ: 1. メッセージ作成に集中できる 2. メッセージ作成以外のことをやってないことがわかる 3. フローが読みやすくなる
今日のフロー Discoverで公開しています。 • テンプレートノードサンプル(Discover) ◦ https://bit.ly/2VqZ66f • チャットボットサンプル(Discover) ◦ https://bit.ly/3fxZo22
• ブログ ◦ (enebular blogにて執筆予定) 17 テンプレートノードサンプル チャットボットサンプル
Thanks! Any questions? You can find me at: • @zawakarui
•
[email protected]
18