Skip to Content
Node.js物聯網裝置開發
book

Node.js物聯網裝置開發

by Patrick Mulder, Kelsey Breseman
August 2017
Intermediate to advanced
272 pages
5h 32m
Chinese
GoTop Information, Inc.
Content preview from Node.js物聯網裝置開發
系統設計與 NodeRED
|
185
// 加入名為 sensor 的感測器物件
johnnyTelegram.add('sensor', sensor);
// 每當這個感測器有資料時,
// 就呼叫 Johnny-Telegram setValue 方法,
// 設定 sensor 感測器物件儲存數值
proximity.on('data', function() {
console.log(this.value);
johnnyTelegram.setValue('sensor', this.value);
});
johnnyTelegram.bindEvents();
});
現在,請送出訊息到 Telegram 機器人程式,便可從感測器取得該數值:
value sensor
5
Temboo
Temboo 讓我們能夠輕易地整合 Arduino(與各種開發板)和眾多雲端服務,諸如
Twitter 等等。藉由 Temboo 的幫忙,你可以輕鬆站在現有 API 的肩膀之上,迅速建構能
夠運作的範例,向 Twitter 讀寫推文。若想使用 Temboo,入門文件請看官方的安裝指引
頁面(
https://temboo.com/arduino/others/library-installation
)。
系統設計與 NodeRED
NodeRED 的廣告詞這麼形容自己:「串連物聯網的視覺化設計工具」,其重點在於「視
覺化程式設計」,讓你能夠輕鬆連接各種裝置與雲端服務。NodeRED 是開放式 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

金融人工智能:用Python实现AI量化交易

金融人工智能:用Python实现AI量化交易

Yves Hilpisch
快学熟用D3

快学熟用D3

Philipp K. Janert

Publisher Resources

ISBN: 9789864764594