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
How to enjoy IoT without coding
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuko Chinen
November 22, 2019
Technology
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to enjoy IoT without coding
These are What you need.
1. Azure Account
2.IoT Central
3.Logic Apps
4. Slack
Yuko Chinen
November 22, 2019
More Decks by Yuko Chinen
See All by Yuko Chinen
The Story that .NET Core is usable in Function Compute of Alibaba Cloud
r00040yc
0
57
Introduction to Alibaba Cloud Function Compute
r00040yc
0
360
Other Decks in Technology
See All in Technology
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
22
13k
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
910
Microsoft 365 Copilot chat -tekoälypalvelun tietosuojaongelmat
hponka
0
840
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
2
640
AI時代、データエンジニアが一番おもろい
genshun9
0
490
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
130
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.1k
Omarchy Quattro の日本語設定周り
simosako
2
170
GoCon2026 - Open Source, Open World
sanposhiho
4
3.8k
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
390
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
1
270
SQL文一行も書けない人事がCortexもろもろを使って人事業務を楽にしてみる
ponponmikankan
1
240
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
WCS-LA-2024
lcolladotor
0
830
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The browser strikes back
jonoalderson
0
1.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
It's Worth the Effort
3n
188
29k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
480
Transcript
ノンコーディングで IoTを楽しむ方法 株式会社 オルターブース 知念 裕子
自己紹介 • 知念 裕子 • 株式会社オルターブース 所属 • IoT ALGYAN(あるじゃん)
福岡支部長 • 電子工作は素人 • Alibaba Cloud MVP 2018
みなさん、IoTって難しいと思っていませんか?
実際に難しいものもあります が、 今回はお手軽にノンコーディングで IoTを楽しめるモノをご紹介します!
準備するもの • Azureのアカウント – 従量課金のサブスクリプションが必要です – Microsoftアカウントでは作業途中でエラーが発生するので、AADでユーザー追加してください – 追加したユーザーにサブスクリプションを紐づけて(ロールの割り当て) –
IoT Centralで作成したアプリにもユーザーを追加する必要があります • ReButton – Seeedさんから発売されています – 単4電池2個必要 • Slack – アカウント – ワークスペース – チャンネル
構成 ReButton
手順 • IoT Centralでアプリケーション作成 – デバイステンプレート作成 – ReButtonの設定 • ReButtonにWi-FiとIoT
Centralで作成したデバイス情報を設定します – ルールの設定 • ここからLogic Appsを作成していきます • Logic AppsでSlackに投稿するアプリを作成 – Azure IoT Centralコネクタ • When a rules is fired(プレビュー)トリガー仕様 – スイッチコネクタ • ボタンが押された回数によって分岐 – Slackコネクタ • ボタンが押された回数によって文章を変え、その内容をSlackに投稿
Rebuttonについて • Seeed社から発売 • IoT Plug and Playに登録されているデバイス – 埋め込みコードを書くこともなく、IoTデバイスをクラウドに接続できる
https://azure.microsoft.com/ja-jp/updates/iot-plug-and-play/
AzureのIoT関連サービス • Azure IoT Hub – IoT資産を接続して監視、制御 • Azure IoT
Edge – エッジデバイスにクラウドインテリジェンスを提供 • Azure Stream Analytics – リアルタイム分析サービス • Azure IoT Central – フルマネージド SaaS – IoT の管理、運用、開発の負担とコストの削減を支援するホスト型の拡張可能なサービス • Azure Sphere – チップ・OS・クラウドの三位一体型のサービス 他多数(https://azure.microsoft.com/ja-jp/product-categories/iot/)
Azure IoT Central • クラウドサービスに詳しくなくてもある程度構築出来る • IoTソリューションアクセラレータよりは、ハードルが低い • 提供されているリージョンが少ない –
ヨーロッパ(西/北) – 米国(西部/東部/東部2) • 料金 – 接続台数とメッセージ数(メッセージサイズ)によって計算される – 接続台数が5台までは無料 https://azure.microsoft.com/ja-jp/pricing/details/iot-central/
Azure IoT Central アーキテクチャ(1) • デバイス • クラウドゲートウェイ – Azure
IoT Hubを使用 • データストア – アプリケーションデータを格納(デバイステンプレート等) • Analytics – Azure Time Series Insights上に構築 • ルールとアクション – デバイステレメトリに基づいてルールを定義(温度などの定義されたしきい値など)
Azure IoT Central アーキテクチャ(2) • メタデータ管理 • データのエクスポート – Azure
Service BusやAzure BLOBストレージにエクスポート可能 • デバイスの一括更新 – 管理用のジョブを作成して実行 • ロールベースのアクセス制御(RBAC) • セキュリティ – データ転送中・保存時に暗号化 – Azure Active DirectoryまたはMicrosoftアカウント • 2要素認証がサポートされています • UIシエル:アプリケーションのUIのカスタマイズ
Azure IoT Central デバイステンプレート • アプリケーションテンプレート – サンプルContoso • 接続されているデバイスで事前定義済みアプリケーションの使用を開始
– サンプルDevkits • Raspberry PIまたはMXChip IoT DevKitに接続する場合など – カスタムアプリケーション • 空のテンプレートで開始し、最初からアプリケーションを定義する – アプリケーションのプレビュー • Azure IoT プラグ アンド プレイなどのプレビュー機能を含むアプリケーションを作成
Logic Appsについて • クラウドサービスとオンプレミスシステムの間でアプリとデータを統合するために、 自動化されたスケーラブルなワークフロー、ビジネスプロセス、 エンタープライズオーケストレーションを構築します(公式サイトから引用) https://docs.microsoft.com/ja-jp/azure/logic-apps/ • ノンコーディングで様々なサービスと連携可能なiPaaS(Integration Platform
as a Service) 松本さん登壇資料から引用:https://www.slideshare.net/noriji822/logic-apps-103226689
カスタムアプリケーション
デバイステンプレート作成
ReButtonの設定 • GitHubにある資料を参考に設定してください https://github.com/algyan/touch_and_try-ReButton/blob/master/readme.md
デバイステンプレートでイベントルールの設定 (Logic Appsへ)
ロジックアプリ作成 • 空のロジックアプリを選択
ロジックアプリ作成 • Azure IoT Centralをトリガーとして追加
ロジックアプリ作成 • IoT Centralに接続するため、サインイン
ロジックアプリ作成 • IoT Centralで作成したアプリケーションと、ルールを選択
ロジックアプリ作成 • スイッチとSlackコネクタを利用して分岐処理
Slackへの投稿
まとめ • ノンコーディングでSlackに投稿出来て良かった – ただし、投稿まで20秒ほどのタイムラグがあります • アカウント関係のエラーは難しい • 初めてLogic Appsを触ったが、思った以上に操作が簡単
• ReButtonを使った楽しみ方を今後も探していく
ご清聴ありがとうございました
参考資料 • Azure IoT Centralのアーキテクチャ https://docs.microsoft.com/ja-jp/azure/iot-central/concepts-architecture • 【2019年9月版】過去の歴史から学ぶ Azure IoT
サービス の変遷 (前編) https://qiita.com/ymodek/items/0bd9b956bfc5479716ba • 【2019年9月版】過去の歴史から学ぶ Azure IoT サービス の変遷 (後編) https://qiita.com/ymodek/items/358b7c81e9fec9735a32 • タッチアンドトライ ~ ReButton ~ IoT ALGYANコミュニティ有志制作 https://github.com/algyan/touch_and_try-ReButton • Logic AppsとSlackを繋ぐ https://docs.microsoft.com/ja-jp/azure/connectors/connectors-create-api-slack