Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

CHAPTER 10 ■ IOT PATTERNS: MACHINE TO HUMAN


Your Node-RED server should be up and running and the waste management system
flow should be deployed. The final component is the Effektif process, and you should
have already published that in previous steps.
Start adding stuff to your garbage can/box, and as soon as it reaches a certain level
(set at 700 in Arduino code), a message will be published to the MQTT broker. Your Node-
RED flow is listening to the MQTT broker for new messages and, as soon as it receives
a new one, an e-mail will be sent out that starts the Effektif process. Log in to Effektif
using your credentials and, as shown in Figure  10-36 , you should see a new task for the
Schedule Garbage Pickup process available under the Tasks tab.


Figure 10-35. Log messages from the waste management system


Figure 10-36. New task available in Effektif

Free download pdf