Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

IFTTT and IoT

This reactive pattern can be easily applied to certain situations. For example, if a patient falls down, then call an ambulance, or if the temperature goes below 15 degrees, then turn off the AC, and so on. These are simple rules that we define that can help us automate a lot of processes.

In IoT, rules engines are key to automating most monotonous tasks. In this chapter, we are going to build a simple hardcoded rules engine that will continuously monitor the incoming data. If the incoming data matches any of our rules, it will execute a response.

What we are building is a similar concept to ifttt.com (https://ifttt.com/discover), but is very specific to IoT devices that are present inside our framework. IFTTT (https://ifttt.com/discover ...
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.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content