Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE


Figure  11-3 shows the Serial Monitor window with log messages generated from
the lighting control device. As soon as the light sensor device publishes a message, the
lighting control device will turn the LED ON. If you move the light sensor device back into
a brighter area, the lighting control device will turn the LED OFF.


Figure 11-3. Log messages from the lighting control device


Figure 11-2. Log messages from the light sensor device

Free download pdf