Reader small image

You're reading from  Architectural Patterns and Techniques for Developing IoT Solutions

Product typeBook
Published inSep 2023
PublisherPackt
ISBN-139781803245492
Edition1st Edition
Right arrow
Author (1)
Jasbir Singh Dhaliwal
Jasbir Singh Dhaliwal
author image
Jasbir Singh Dhaliwal

Jasbir Singh Dhaliwal has over 26 years of software development and management experience, including 10 years in delivering complex IoT projects. Currently employed with IBM as a Principal Architect (IoT and cloud) and considered a thought leader with over 31 IoT patents, he has a deep understanding of IoT concepts/architectures and has delivered IoT projects in diverse domains such as consumer goods, smart buildings, healthcare, precision agriculture, automobile, and manufacturing. His extensive experience in both the public cloud and embedded domains gives him a unique edge in conceiving innovative end-to-end IoT solutions. He holds a bachelor's degree in computer science and engineering from Punjab Engineering College, India.
Read more about Jasbir Singh Dhaliwal

Right arrow

Pattern Implementation in the Consumer Domain

We learned important architectural patterns in previous chapters; this chapter introduces use cases for these patterns that are relevant to the consumer domain. Although numerous use cases exist in the consumer space (e-health, elderly care, pet tracking, energy management, safety and security, robot vacuum cleaners, etc.), the current chapter will detail just two use cases – home automation and a smart egg boiler – to give perspective on the nuances that are involved while implementing consumer IoT use cases. Home automation is an existing use case, whereas the smart egg boiler is an innovative use case – giving credence to the fact that known use cases can not only be implemented by leveraging IoT patterns but can also be used to implement hitherto unknown solutions.

Use case – deploying home automation

Typical home automation deployments provide a combination of the following feature sets:

  • Controlling and monitoring appliances, such as air conditioners, refrigerators, or heaters
  • The controlling of lights (on/off, a change of color or brightness, or on/off based on a person’s presence)
  • An action based on a detected event (for example, an alarm/buzzer sounding when smoke is detected)
  • The remote operation of doors and windows
  • The detection of an intruder that triggers an alarm
  • Conversations with smart speakers

The following figure gives a representational view of home automation implementation:

Figure 4.1 – Sensors/actuators in a home automation use case

As you can see, devices that are battery-operated and have low bandwidth requirements typically transfer data on an energy-efficient protocol (for example, Zigbee), whereas devices such as a video camera send the data...

Use case – a smart egg boiler

There are numerous egg boilers on the market; however, all of them suffer from one basic limitation – they treat all eggs in a batch the same (using the same quantity of water, boiling duration, and so on). However, even eggs from the same hen can have different characteristics. But for the best taste and texture of a boiled egg, each one needs to be treated differently, and boiling conditions need to be customized as per the unique internal and external characteristics of the egg:

  • External characteristics include the size, shape, shell color (indicating the hen pedigree), and altitude at which the egg is boiled.
  • Internal characteristics include the texture/density/viscosity of the yolk and albumen, egg age (the time difference between the hatching of the egg and the time of the egg being boiled), shell thickness, and proportion of egg white versus egg yolk.

This use case suggests an innovative boiling process for each...

Summary

This chapter demonstrated how the IoT patterns introduced in previous chapters can be used to realize interesting use cases in the consumer domain, thereby demonstrating the efficacy of the patterns. This chapter offered a glimpse of the type of sensors and actuators that we need for our use case implementation. Additionally, this chapter looked at the type of architectural decisions we need to make (for example, the type of logic that must be executed at the edge or DG versus the logic that needs to be implemented or hosted in the central server).

The next chapter will continue our journey, where we will see the type of use cases that are relevant in the retail domain and how they can be implemented using the architectural patterns introduced in previous chapters.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Architectural Patterns and Techniques for Developing IoT Solutions
Published in: Sep 2023Publisher: PacktISBN-13: 9781803245492
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Author (1)

author image
Jasbir Singh Dhaliwal

Jasbir Singh Dhaliwal has over 26 years of software development and management experience, including 10 years in delivering complex IoT projects. Currently employed with IBM as a Principal Architect (IoT and cloud) and considered a thought leader with over 31 IoT patents, he has a deep understanding of IoT concepts/architectures and has delivered IoT projects in diverse domains such as consumer goods, smart buildings, healthcare, precision agriculture, automobile, and manufacturing. His extensive experience in both the public cloud and embedded domains gives him a unique edge in conceiving innovative end-to-end IoT solutions. He holds a bachelor's degree in computer science and engineering from Punjab Engineering College, India.
Read more about Jasbir Singh Dhaliwal