SlideShare a Scribd company logo
1 of 17
© 2016 IBM Corporation
Arey Liu
IBM Cloud, Taiwan
Bluemix – LoRa application IV
• With bluemix IoT output
© 2016 IBM Corporation
建置Bluemix Node-Red 服務:
在Chrome 或 Firefox 中開啟 https://console.ng.bluemix.net/catalog/
點選樣板 ( 型錄 ) 中的 Internet of Things 圖示, 命名後,以建立服務
2
當服務建立完成, 點選畫面中的連結, 以開啟 Node-RED
© 2016 IBM Corporation
例外狀況!
 若無法順利在樣板(型錄)中,找到 Internet of Things,請點選右上角的人頭將所在區域選成美
國南部,並建立新的空間 (需命名)
3
選成美國南部後
建立新的空間
為你的空間命名
© 2016 IBM Corporation
建置步驟:
進入網站首頁後, 點選 “Go to your Node-RED flow editor”
.
4
進入Node-RED 編輯器, 可看到預建的溫度感
測流程範本
.
© 2016 IBM Corporation
如何註冊一個真實的裝置
5
點擊儀表板下面已經
創立好的IoT
啟動IoT的儀表板進
去建立新的裝置
© 2016 IBM Corporation
IoT Dashboard
6
先點左邊的裝置在選
擇右邊的新增裝置
© 2016 IBM Corporation
新增裝置類型
7
建立裝置類型
建立裝置類型
輸入Android
© 2016 IBM Corporation
新增裝置
8
然後再下一步
輸入你的裝置名
稱
確認是不是剛
剛建立的類型
© 2016 IBM Corporation
自訂token
9
這個token是可
以自己定義的!
© 2016 IBM Corporation
新增裝置-裝置ID & Token
10
成功新增裝置後,會出現
這些資訊,要妥善的記錄
下來,基於安全緣由鑑別
記號無法在查詢到!
© 2016 IBM Corporation
Import Node-Red flow
 要將node-red flow 直接輸入的方法如下
 這裡有一個可供大家測試的 node-red flow: https://goo.gl/OL4186
11
點選後貼上
https://goo.gl/OL4
186 的內容
© 2016 IBM Corporation
設定ibm iot output node
12
這裡輸入你的裝置ID
把QuickStart改成
Bluemix Service
© 2016 IBM Corporation
下載android 端的測試程式
 IBM有提供一個IoT starter , 讓用戶可以直接在android手機上接收或著是傳送訊息
至雲端
 仔細看到node-red flow 中有一個 format 的 function ,因為這個apk只會顯示{d:{
text: “” }}的JSON格式中的text,在該function主要目的就是這個
 Apk下載路徑 : https://goo.gl/Ym6wl5
 IOS : https://goo.gl/1W6UjH
13
© 2016 IBM Corporation
手機介面
14
組織名稱
裝置ID
自定義的
Token
© 2016 IBM Corporation15
1.先點選
至LOG
2.按下
後,就會顯示
出這些資訊
© 2016 IBM Corporation
未來可能遇到的困難
 IoT input 去傳資料給 IoT output (兩個以上的裝置)
– 由於你的IoT input 資料近node-red 後,在msg中會記錄下input的deviceID & deviceType
所以你必須再將資料傳送給output的時候就將deviceId & deviceType 修改成output的資料:
msg.deviceId = " Out put Device ID "; //Your Device ID
msg.deviceType = ”Out put Device Type"; //Your Device Type
16
在Function 中做修改
© 2016 IBM Corporation
Exercise :
17
參考先前的說明,完成一個自己的LoRa IoT

More Related Content

Viewers also liked

臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English versionTaipei Smart City PMO
 
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版Taipei Smart City PMO
 
[智慧城市分享] Array of things
[智慧城市分享] Array of things[智慧城市分享] Array of things
[智慧城市分享] Array of thingsTaipei Smart City PMO
 
資訊局PMO臺北市智慧城市2016成果特刊v1.0
資訊局PMO臺北市智慧城市2016成果特刊v1.0資訊局PMO臺北市智慧城市2016成果特刊v1.0
資訊局PMO臺北市智慧城市2016成果特刊v1.0Taipei Smart City PMO
 
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館Taipei Smart City PMO
 
以物聯網打造智慧城市研討會簡報
以物聯網打造智慧城市研討會簡報以物聯網打造智慧城市研討會簡報
以物聯網打造智慧城市研討會簡報Taipei Smart City PMO
 
南港區智慧城市推動全民座談會簡報
南港區智慧城市推動全民座談會簡報南港區智慧城市推動全民座談會簡報
南港區智慧城市推動全民座談會簡報Taipei Smart City PMO
 
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenRapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenWithTheBest
 
イノベート・ハブ九州 Bluemix勉強会(第2回)
イノベート・ハブ九州 Bluemix勉強会(第2回)イノベート・ハブ九州 Bluemix勉強会(第2回)
イノベート・ハブ九州 Bluemix勉強会(第2回)Atsumori Sasaki
 
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所Taipei Smart City PMO
 
IBM Bluemix & IoT Foundation
IBM Bluemix & IoT FoundationIBM Bluemix & IoT Foundation
IBM Bluemix & IoT FoundationNat Weerawan
 

Viewers also liked (20)

臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-English version
 
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版
臺北市資訊局PMO臺北市智慧城市2.0.成果展示-中文版
 
[智慧城市分享] Array of things
[智慧城市分享] Array of things[智慧城市分享] Array of things
[智慧城市分享] Array of things
 
資訊局PMO臺北市智慧城市2016成果特刊v1.0
資訊局PMO臺北市智慧城市2016成果特刊v1.0資訊局PMO臺北市智慧城市2016成果特刊v1.0
資訊局PMO臺北市智慧城市2016成果特刊v1.0
 
Airbox with Gemtek Lora
Airbox with Gemtek LoraAirbox with Gemtek Lora
Airbox with Gemtek Lora
 
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館
臺北智慧城市專案辦公室公共住宅智慧社區服務說明書工作會議--智慧圖書館
 
智慧綠化方案案例分享
智慧綠化方案案例分享智慧綠化方案案例分享
智慧綠化方案案例分享
 
4 Bluemix-LoRa application II
4 Bluemix-LoRa application II4 Bluemix-LoRa application II
4 Bluemix-LoRa application II
 
以物聯網打造智慧城市研討會簡報
以物聯網打造智慧城市研討會簡報以物聯網打造智慧城市研討會簡報
以物聯網打造智慧城市研討會簡報
 
Bluemix-introduction
Bluemix-introductionBluemix-introduction
Bluemix-introduction
 
南港區智慧城市推動全民座談會簡報
南港區智慧城市推動全民座談會簡報南港區智慧城市推動全民座談會簡報
南港區智慧城市推動全民座談會簡報
 
智慧城市案例分享-columbus
智慧城市案例分享-columbus智慧城市案例分享-columbus
智慧城市案例分享-columbus
 
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenRapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
 
イノベート・ハブ九州 Bluemix勉強会(第2回)
イノベート・ハブ九州 Bluemix勉強会(第2回)イノベート・ハブ九州 Bluemix勉強会(第2回)
イノベート・ハブ九州 Bluemix勉強会(第2回)
 
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所
臺北智慧城市專案辦公室-公共住宅智慧服務座談會-智慧辦公室、區公所
 
智慧車站案例分享
智慧車站案例分享智慧車站案例分享
智慧車站案例分享
 
2 GIoT_introduction
2 GIoT_introduction2 GIoT_introduction
2 GIoT_introduction
 
1 taipei smart city-正文科技
1 taipei smart city-正文科技1 taipei smart city-正文科技
1 taipei smart city-正文科技
 
Bluemix iot demo
Bluemix iot demoBluemix iot demo
Bluemix iot demo
 
IBM Bluemix & IoT Foundation
IBM Bluemix & IoT FoundationIBM Bluemix & IoT Foundation
IBM Bluemix & IoT Foundation
 

Similar to 6 Bluemix-LoRa application IV

From docker hub to bluemix catalog
From docker hub to bluemix catalogFrom docker hub to bluemix catalog
From docker hub to bluemix catalogJoseph Chang
 
rebar erlang 2
rebar erlang 2rebar erlang 2
rebar erlang 2致远 郑
 
Bluemix Node-Red Part I
Bluemix Node-Red Part IBluemix Node-Red Part I
Bluemix Node-Red Part IJoseph Chang
 
Bluemix與車聯網
Bluemix與車聯網Bluemix與車聯網
Bluemix與車聯網Hsuan-Ju Lin
 
從頭打造 C#、.NET 與 ASP.NET Core 開發環境
從頭打造 C#、.NET 與 ASP.NET Core 開發環境從頭打造 C#、.NET 與 ASP.NET Core 開發環境
從頭打造 C#、.NET 與 ASP.NET Core 開發環境Will Huang
 
Hadoop开发者入门专刊
Hadoop开发者入门专刊Hadoop开发者入门专刊
Hadoop开发者入门专刊liangxiao0315
 
IBM Bluemix introduction
IBM Bluemix introductionIBM Bluemix introduction
IBM Bluemix introductionJoseph Chang
 
雲端技術的新趨勢
雲端技術的新趨勢雲端技術的新趨勢
雲端技術的新趨勢Ben Huang
 
行動商務 - PhoneGapBuild and Upto Market
行動商務 - PhoneGapBuild and Upto Market行動商務 - PhoneGapBuild and Upto Market
行動商務 - PhoneGapBuild and Upto MarketMy own sweet home!
 
这年头,你只需要懂Node webkit
这年头,你只需要懂Node webkit这年头,你只需要懂Node webkit
这年头,你只需要懂Node webkitLainZQ
 
The Trend Of Cloud Computing And How Should Public Sectors Adjust
The Trend Of Cloud Computing And How Should Public Sectors AdjustThe Trend Of Cloud Computing And How Should Public Sectors Adjust
The Trend Of Cloud Computing And How Should Public Sectors AdjustJazz Yao-Tsung Wang
 
Cognos8.3安装配置For Db2
Cognos8.3安装配置For Db2Cognos8.3安装配置For Db2
Cognos8.3安装配置For Db2Franky Lao
 
Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Zhaoyang Wang
 
Introduction to corona sdk
Introduction to corona sdkIntroduction to corona sdk
Introduction to corona sdk馬 萬圳
 
Android消息推送之androidpn demo版到正式上线
Android消息推送之androidpn demo版到正式上线Android消息推送之androidpn demo版到正式上线
Android消息推送之androidpn demo版到正式上线kaerseng
 
Web view on the way
Web view on the wayWeb view on the way
Web view on the wayLiddle Fang
 
MiCloud服務提供者訓練
MiCloud服務提供者訓練MiCloud服務提供者訓練
MiCloud服務提供者訓練Simon Su
 
IDF2013大会分享——《使用新浪移动云开发全平台应用》
IDF2013大会分享——《使用新浪移动云开发全平台应用》IDF2013大会分享——《使用新浪移动云开发全平台应用》
IDF2013大会分享——《使用新浪移动云开发全平台应用》easychen
 
課程1 1:雲端運算初探
課程1 1:雲端運算初探課程1 1:雲端運算初探
課程1 1:雲端運算初探vaemon
 
以HTML5和COIMOTION打造跨平台App
以HTML5和COIMOTION打造跨平台App以HTML5和COIMOTION打造跨平台App
以HTML5和COIMOTION打造跨平台AppBen Lue
 

Similar to 6 Bluemix-LoRa application IV (20)

From docker hub to bluemix catalog
From docker hub to bluemix catalogFrom docker hub to bluemix catalog
From docker hub to bluemix catalog
 
rebar erlang 2
rebar erlang 2rebar erlang 2
rebar erlang 2
 
Bluemix Node-Red Part I
Bluemix Node-Red Part IBluemix Node-Red Part I
Bluemix Node-Red Part I
 
Bluemix與車聯網
Bluemix與車聯網Bluemix與車聯網
Bluemix與車聯網
 
從頭打造 C#、.NET 與 ASP.NET Core 開發環境
從頭打造 C#、.NET 與 ASP.NET Core 開發環境從頭打造 C#、.NET 與 ASP.NET Core 開發環境
從頭打造 C#、.NET 與 ASP.NET Core 開發環境
 
Hadoop开发者入门专刊
Hadoop开发者入门专刊Hadoop开发者入门专刊
Hadoop开发者入门专刊
 
IBM Bluemix introduction
IBM Bluemix introductionIBM Bluemix introduction
IBM Bluemix introduction
 
雲端技術的新趨勢
雲端技術的新趨勢雲端技術的新趨勢
雲端技術的新趨勢
 
行動商務 - PhoneGapBuild and Upto Market
行動商務 - PhoneGapBuild and Upto Market行動商務 - PhoneGapBuild and Upto Market
行動商務 - PhoneGapBuild and Upto Market
 
这年头,你只需要懂Node webkit
这年头,你只需要懂Node webkit这年头,你只需要懂Node webkit
这年头,你只需要懂Node webkit
 
The Trend Of Cloud Computing And How Should Public Sectors Adjust
The Trend Of Cloud Computing And How Should Public Sectors AdjustThe Trend Of Cloud Computing And How Should Public Sectors Adjust
The Trend Of Cloud Computing And How Should Public Sectors Adjust
 
Cognos8.3安装配置For Db2
Cognos8.3安装配置For Db2Cognos8.3安装配置For Db2
Cognos8.3安装配置For Db2
 
Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践
 
Introduction to corona sdk
Introduction to corona sdkIntroduction to corona sdk
Introduction to corona sdk
 
Android消息推送之androidpn demo版到正式上线
Android消息推送之androidpn demo版到正式上线Android消息推送之androidpn demo版到正式上线
Android消息推送之androidpn demo版到正式上线
 
Web view on the way
Web view on the wayWeb view on the way
Web view on the way
 
MiCloud服務提供者訓練
MiCloud服務提供者訓練MiCloud服務提供者訓練
MiCloud服務提供者訓練
 
IDF2013大会分享——《使用新浪移动云开发全平台应用》
IDF2013大会分享——《使用新浪移动云开发全平台应用》IDF2013大会分享——《使用新浪移动云开发全平台应用》
IDF2013大会分享——《使用新浪移动云开发全平台应用》
 
課程1 1:雲端運算初探
課程1 1:雲端運算初探課程1 1:雲端運算初探
課程1 1:雲端運算初探
 
以HTML5和COIMOTION打造跨平台App
以HTML5和COIMOTION打造跨平台App以HTML5和COIMOTION打造跨平台App
以HTML5和COIMOTION打造跨平台App
 

6 Bluemix-LoRa application IV

  • 1. © 2016 IBM Corporation Arey Liu IBM Cloud, Taiwan Bluemix – LoRa application IV • With bluemix IoT output
  • 2. © 2016 IBM Corporation 建置Bluemix Node-Red 服務: 在Chrome 或 Firefox 中開啟 https://console.ng.bluemix.net/catalog/ 點選樣板 ( 型錄 ) 中的 Internet of Things 圖示, 命名後,以建立服務 2 當服務建立完成, 點選畫面中的連結, 以開啟 Node-RED
  • 3. © 2016 IBM Corporation 例外狀況!  若無法順利在樣板(型錄)中,找到 Internet of Things,請點選右上角的人頭將所在區域選成美 國南部,並建立新的空間 (需命名) 3 選成美國南部後 建立新的空間 為你的空間命名
  • 4. © 2016 IBM Corporation 建置步驟: 進入網站首頁後, 點選 “Go to your Node-RED flow editor” . 4 進入Node-RED 編輯器, 可看到預建的溫度感 測流程範本 .
  • 5. © 2016 IBM Corporation 如何註冊一個真實的裝置 5 點擊儀表板下面已經 創立好的IoT 啟動IoT的儀表板進 去建立新的裝置
  • 6. © 2016 IBM Corporation IoT Dashboard 6 先點左邊的裝置在選 擇右邊的新增裝置
  • 7. © 2016 IBM Corporation 新增裝置類型 7 建立裝置類型 建立裝置類型 輸入Android
  • 8. © 2016 IBM Corporation 新增裝置 8 然後再下一步 輸入你的裝置名 稱 確認是不是剛 剛建立的類型
  • 9. © 2016 IBM Corporation 自訂token 9 這個token是可 以自己定義的!
  • 10. © 2016 IBM Corporation 新增裝置-裝置ID & Token 10 成功新增裝置後,會出現 這些資訊,要妥善的記錄 下來,基於安全緣由鑑別 記號無法在查詢到!
  • 11. © 2016 IBM Corporation Import Node-Red flow  要將node-red flow 直接輸入的方法如下  這裡有一個可供大家測試的 node-red flow: https://goo.gl/OL4186 11 點選後貼上 https://goo.gl/OL4 186 的內容
  • 12. © 2016 IBM Corporation 設定ibm iot output node 12 這裡輸入你的裝置ID 把QuickStart改成 Bluemix Service
  • 13. © 2016 IBM Corporation 下載android 端的測試程式  IBM有提供一個IoT starter , 讓用戶可以直接在android手機上接收或著是傳送訊息 至雲端  仔細看到node-red flow 中有一個 format 的 function ,因為這個apk只會顯示{d:{ text: “” }}的JSON格式中的text,在該function主要目的就是這個  Apk下載路徑 : https://goo.gl/Ym6wl5  IOS : https://goo.gl/1W6UjH 13
  • 14. © 2016 IBM Corporation 手機介面 14 組織名稱 裝置ID 自定義的 Token
  • 15. © 2016 IBM Corporation15 1.先點選 至LOG 2.按下 後,就會顯示 出這些資訊
  • 16. © 2016 IBM Corporation 未來可能遇到的困難  IoT input 去傳資料給 IoT output (兩個以上的裝置) – 由於你的IoT input 資料近node-red 後,在msg中會記錄下input的deviceID & deviceType 所以你必須再將資料傳送給output的時候就將deviceId & deviceType 修改成output的資料: msg.deviceId = " Out put Device ID "; //Your Device ID msg.deviceType = ”Out put Device Type"; //Your Device Type 16 在Function 中做修改
  • 17. © 2016 IBM Corporation Exercise : 17 參考先前的說明,完成一個自己的LoRa IoT