December 2017
Intermediate to advanced
296 pages
5h 56m
English
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.