The Internet of Things (IoT) is a really fascinating field. New products are hitting the market every day, and mobile applications are exceptional candidates that provide alternative ways to control these objects. In this chapter, we will build our contribution to IoT by creating an interface that will allow us to send and receive commands from a connected thermostat. To be precise, we will implement a custom control similar to a slider that can be used to define a value on a predefined scale. This value can be greater than, less than, or equal to zero.
Here is a preview of our thermostat control slider: