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 machine interface

To test the machine interface, we need a tool we can use. The IoT Gateway project on GitHub contains such a tool written in .NET, called simply Waher.Client.WPF. An executable version can be downloaded as well. You can use this to test both the machine and chat interfaces of your devices. You can create one or more XMPP connections and add contacts. If they are sensors or actuators, you can read them, control their parameters, and subscribe to events from them. You can also listen on the XMPP communication to learn what is being communicated. Figure 4 shows the main interface of this simple XMPP IoT client:

The IoT Gateway project is available at https://github.com/PeterWaher/IoTGateway.
Figure 4. Simple XMPP ...

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