2016年5月29日 星期日

IOT - Thingspeak

https://thingspeak.com/

先註冊,登入
建立Channel
Name : TestCH
field1 : Num
field2 : Str

在這邊,可以看到有
field 1~8 : 可以放數值資料,Dashboard可以顯示折線圖
lat/long : GPS座標
elevation : 海拔高度
status : 字串

For Control Devices
http://api.thingspeak.com/update?key=xxxxxxxxxxxxxxxx&fieldxx=xx

Example Device 1 ON
http://api.thingspeak.com/update?key=1234567890ABCDEF&field1=1.0


Example Device 1 OFF
http://api.thingspeak.com/update?key=1234567890ABCDEF&field1=0.1


Check Update Status
Last data
http://api.thingspeak.com/channels/xxxxx/fields/x/last

xxxxx = Channel Id 
x = field 
Example Get Device 1 status
http://api.thingspeak.com/channels/123456/fields/1/last

可以結合一起送
https://api.thingspeak.com/update?api_key=1234567890ABCDEF&status=NG&field1=66

參考這邊的說明
https://www.mathworks.com/help/thingspeak/channels-and-charts.html

1 則留言:

  1. Harrah's Reno Hotel & Casino - MJH Hub
    The Reno-Tahoe 전라남도 출장안마 casino 양주 출장안마 is a Native American gaming enterprise and part of 정읍 출장안마 the Harrah's 서산 출장마사지 Reno-Tahoe Casino & Hotel. Harrah's Reno Hotel & 여주 출장샵 Casino

    回覆刪除

在Raspberry Pi 2B上跑Docker, AdguardHome, Bitwarden, RPi-Monitor

在Raspberry Pi 2B上跑Docker, AdguardHome, Bitwarden, RPi-Monitor 請先參考前置準備工作 安裝Raspberry Pi 2B 來跑docker 前置準備 安全性考量, 移除預設pi帳號 Ref :     h...