O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing the human interface

As we have added chat interfaces, we can begin by testing our devices using any instant messaging client supporting XMPP. If you don't already have one, download one, create an account using an appropriate broker, and connect to your newly created devices, by adding them to your roster in your chat client. The devices should automatically accept your requests. Then start chatting with them. Figure 3 shows an example chat with the sensor. You can also chat with the actuator, and control its output using the chat interface. Check the menu to see how to do that:

Figure 3. Example chat session with the sensor

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required