Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
好きなNode-REDノード : Templateノード
Search
Takao Aoki
August 05, 2021
Programming
770
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
好きな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
280
enebularを活用したNode-REDによるIoTシステム開発と運用
taokiuhuru
0
620
Changeノードの素朴な疑問
taokiuhuru
0
380
スマートシティプロジェクトにおける市民開発向け開発環境のご紹介
taokiuhuru
0
140
Heroes-league-2022-enebular
taokiuhuru
0
400
OuraRingで体調不良を同僚にそっと伝える方法
taokiuhuru
1
530
Node-REDカスタムノードによる工場IoT・DXの進め方
taokiuhuru
0
1.2k
ゆるふわ物体検出
taokiuhuru
0
700
Salesforce活用の裏技
taokiuhuru
1
860
Other Decks in Programming
See All in Programming
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
2
260
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
460
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
150
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
130
Security issues being discussed on Web Platforms
petamoriken
0
420
アクセシビリティから考える情報設計
high_g_engineer
0
350
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
180
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
140
Laravelのアプリケーションをどこにデプロイするか #ツナギメオフライン.9
akase244
0
120
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
55
36k
ALB ログから Trace を気合で繋げる技術
fohte
7
880
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
690
Building the Perfect Custom Keyboard
takai
2
870
Designing for Performance
lara
611
70k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
We Have a Design System, Now What?
morganepeng
55
8.3k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
380
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