We present Practical IoT for Personal Development, a pragmatic IoT tutorial for the busy Kenyan professional. For maximal hands-on experience, its theme is heavily oriented towards Do-it-Yourself (DIY) IoT use cases for the Connected Home (CH), as well as the harness of Open Source (O/S) and commodity IoT devices/components. Included in the discussion are pertinent trends such as AI integration at the edge accompanied by complete templates for further prototype development.


  • Understand the roles of the major IoT architectural components in a CH setup
  • Revise key Internet and IoT technologies for CH application development
  • Discuss popular O/S S/W options and DIY H/W solutions for CH setups
  • Explore the roles of various AI-related verticals (e.g. CV, ML/DL) at the CH Edge
  • DIY projects for CH solutions:

◦ Implement a complete and scalable DIY IoT lighting solution for the CH

◦ Implement a scalable, Internet-accessible, yet fully-edge DIY home surveillance multicam CCTV solution with IoT interfaces for edge-AI integration


Summary of slides can be found here

Prerequisites and Requirements

  • Practical IoT for Personal Development is designed to accommodate those with even the most modest technical background. Nevertheless, while no programming skills are required to complete the tutorial, a background in HTML5/Python/Arduino-C++ will be advantageous; basic digital electronics knowledge is also a plus
  • Required: Smart Phone (or any other portable device e.g. tablet, laptop)
  • Optional:

◦ A Laptop (Ubuntu, Mac, MS Windows); only for those interested in ESP8266 F/W dev.

◦ Highly Recommended: Raspberry Pi (3B or 4B) with at least 16GB SD card; a Picamera v2 if possible


Program Outline

 PART 1: IoT and Home Automation

  • IoT, M2M, and Home Automation Concepts

◦ IoT architectures and components for the CH

◦ Wireless technologies and commodity hardware for DIY CH

◦ M2M with MQTT

◦ Introduction to the O/S Home Assistant (HA) home-automation hub on Raspberry Pi

  • ESP8266 Platform Programming and Physical Computing

◦ ESP8266 development ecosystem: IDE and Support Libraries

◦ ESP8266 API: GPIO, PWM, Bus Communications, Timing and Delays

◦ ESP8266 Networking: WiFi, Web Server, OTA Updates

  • Project-1.1: A Complete and Scalable DIY IoT Lighting Solution for the CH

◦ Remote control a variety of lighting modes on a (e.g. WS2812) addressable LED strip with ESP8266 via smart-phone app interface

◦ Integrate the DIY setup with Home Assistant Hub on Raspberry Pi for a scalable CH lighting solution

NOTE: This template setup can easily be extended for the control of some other DIY device (solenoid, relay, etc) or even HA-supported vendor appliance.

PART 2:  Web and Mobile App Technologies


◦ HTTP/REST and WebSockets

◦ Web Applications, Components/Stacks

◦ Mobile App Technologies

PART 3:  Media Streaming Technologies and WebRTC

◦ Media Streaming Protocols: RTP, RTSP, RTMP, HTTP (HLS, MPEG-DASH)

◦ Media Streaming Codecs and Containers

◦ Live Streaming Setups for IoT

◦ Web Realtime Communications (WebRTC) for IoT

PART 4:  CH Edge Computing and AI Integration

◦ WebRTC edge gateway on Raspberry Pi with multi-user support and multi-cam support for commodity (WiFi) ONVIF or DIY cameras (e.g. Raspi-Cam, ESP32-Cam)

◦ IoT interfaces for:

▪ Remote actuator control (e.g. Camera PTZ, Relay)

▪ Motion sensor (e.g. PIR) “silent alarm” integration

▪ Edge video analytics (e.g. OpenCV/ML) “smart silent alarm” integration

◦ Application scenarios: Home/Office security, child monitor, wildlife observation, etc

Target Audience

Practical IoT for Personal Development will be of interest to:

  • Professionals in IT or Engineering who wish to extend their technical skills
  • Tech enthusiasts, makers and embedded-system builders, electronics hobbyists
  • Tertiary-level students (University, College, Polytechnic, etc)

Program Duration and Cost

  • Total Duration: 10 hours
  • Total Cost: KSh 15,000 (i.e. tuition and basic IoT development kit)


Evenings Program Option:

  • 5 days; 1800hrs – 2000hrs (6pm – 8pm)
  • Registration and payment must be made at least 14 days in advance
  • Venue Option 1: AFRALTI premises (Wayaki way or Kimathi Hse CBD)

◦ Dates (2020): Apr 20, May 25, Jun 22

◦ Accepting individual and group registrations

  • Venue Option 2: Nairobi area outside AFRALTI premises

◦ Dates: Scheduled upon client request

◦ Accepting group registrations only, a minimum of 5 participants

  • Venue Option 3: Outside Nairobi

◦ N/A


Express Program Options:

  • Program Option 1 (Recommended): 2 days, 5hrs @ day
  • Program Option 2: 1 day, 10hr marathon, 0700hrs – 1800hrs (7am – 6pm)
  • Dates: Scheduled upon client request with a minimum of 14-day notice with payment
  • Venue Option 1: Nairobi area

◦ AFRALTI premises (Wayaki way or Kimathi Hse CBD), or location chosen by client

◦ Accepting group registrations only, a minimum of 3 participants

  • Venue Option 2: Outside Nairobi

◦ Accepting group registrations only, a minimum of 10 participants

NOTE: For venues outside AFRALTI premises, client/group organizes own facilities: Working space, Internet connectivity, etc