2023/07/19
IoTtalk物聯網應用開發平台簡介�與 �IoTtalk 平台初體驗
蔡文能
交通大學 資工系
Agenda (綱要)
2
What is IoTtalk ? (1/2)
3
Python + Flask + RESTful API
DHTML/JavaScript/jQuery
SQLite / MySQL, and …
What is IoTtalk? (2/2)
4
Feature 1
Feature 2
Feature 3
⁞
Model
An IoT device
Name
G-sensor
Mic.
Display
⁞
Smartphone
For example:�Lin’s phone
Why using IoTtalk?
5
Applications can simply develop with Lower efforts (Low code/No code)
6
Application development without real devices is feasible
7
Easy to Deploy and Operate�Appliances/IoT Devices Connection�
8
Wi-Fi �Access Point
(with IoTtalk inside)
Air conditioner
iRobot
TV
Fan
Lighting
Smartphone
Connecting
Connecting
Connecting
Connecting
Connecting
Connecting
Easy to write your own DA (Device Application)
9
Easy to Customize and Extend (1/2)
10
Easy to Customize and Extend (2/2)
11
Easy to integerate with AI / Machine Learning
12
What can IoTtalk do for you ?
13
可用這練習: https://demo.iottalk.tw
IoTtalk 系統平台各種應用
(共五個影片)
14
農譯 AgriTalk 其它影片
15
https://www.agritalk.com.tw/pages/about-us//#相關影片分享
Turn On/Off a Bulb (1/3)
16
請用這練習: https://demo.iottalk.tw
Demo using iottalk
Turn On/Off a Bulb (2/3)
17
請用這練習: https://demo.iottalk.tw
如果一個 Device�同時有 IDF 和 ODF,�在畫面上 ..�會拆成左右兩個圖 !
遙控燈泡 的 Project
Demo using iottalk
Turn On/Off a Bulb (3/3)
18
請用這練習: https://demo.iottalk.tw
Demo using iottalk
Step 0 Press Project Link (生出新網頁) then Select a project
19
Demo using iottalk (Step by Step)
請用這練習: https://demo.iottalk.tw
Press Project Link (生出新網頁) then Select a project
20
Step 1
Step 2
Demo using iottalk (Step by Step)
add a new project OR using your OLD project
Select an Input Device Model and Features
21
Step 3. Select a Device Model
Step 4. Select Device features, and an icon is appeared
Select an Output Device Model and Features
22
Step 5. Similar to Steps 3 and 4
Connect IDF to ODF (1/2)
Step 6. Draw a line to connect IDF and ODF
23
24
Connect IDF to ODF (2/2)
Step 7. Select the IDF function to set the connection logic
Step 8. Select the ODF function to set the connection logic
Step 9. Click joint point to check input TYPE and join function
Create Devices: Remote_control and Bulb
25
重大訊息
26
Bind your Input and Output Device
Step 8. Bind your Input and Output Device
27
Test your IoTtalk Project
28
體驗IoTtalk 詳細步驟與用法請參考
29
神秘遙控器 RemoteControl
30
31
神秘遙控器
32
神秘遙控器
回到剛那頁
這可控制燈泡顏色
(當然燈泡(Bulb)要
勾選顏色功能)
思考+練習 不同方法開關燈泡 �用 Smartphone 開關 Bulb 燈泡 (1/2)
33
思考+練習 不同方法開關燈泡 �用 Smartphone 開關 Bulb 燈泡 (2/2)
34
這 python 函數要寫啥?
注意 close 後要套用並Save
Demo using iottalk --�用 Smartphone 隔空丟球 Ball-Throw2
35
https://iottalk.vip/000#THROW (用手機隔空丟球)
隔空丟球 Ball throw2 (1/2)
36
注意頁面標籤�這裡的編號
https://iottalk.vip/000#THROW (用手機隔空丟球)
37
隔空丟球 Ball throw2 (2/2)
https://iottalk.vip/000#THROW (用手機隔空丟球)
Troubleshoot your IoTtalk Project, (1/3)
38
See the Fig. on next Slide
初學Python 可參考: https://iottalk.vip/6/
Check all parameters with the Joint (connection LINE)
39
Troubleshoot your IoTtalk Project, (2/3)
40
可用這練習: https://demo.iottalk.tw
Click the Warning SIGN to see what happened
Troubleshoot your IoTtalk Project, (3/3)
41
See the Fig. on next Slide�You may have multiple IDF and/or multiple ODF
Monitor Data Flow on the Joint: : RIGHT Click the Joint
42
Check Auto Scaling (for ODF) (1/3)
43
萬ㄧ看不到, 必須從 DFM / DMM 查看 (Bulb 的 ODF)
Device Feature Management / Device Model Management
( 這樣, 不必改 Server, 就可以擴充 IoTtalk 系統)
Check Auto Scaling (for ODF) (2/3)
可以從 DFM / DMM 查看甚至修改 (Bulb 的 ODF)
44
Check Auto Scaling (for ODF) (3/3)
45
[0, 0] 則表示不會 auto Scaling
using iottalk
46
謝謝捧場
tsaiwn@cs.nctu.edu.tw
蔡文能
重要參考網頁
47
行星運動
48
地球公轉
49
隔空乒乓球
50
單擺運動
51
這個單擺的程式與 DM 對應故意弄成有問題