Open Source
Hardware

SHAS

Smart Home Automation System


Smart Home Automation System (SHAS)
is an innovative project designed to provide homeowners with convenient remote control over sensors and devices in their homes. It utilizes a diverse range of channels and devices to deliver flexible and efficient control capabilities.

Although currently showcased on a breadboard for demonstration purposes, with minimal modifications or even in its current state, SHAS has the potential to be effectively implemented in real-world scenarios.

Project Features

  • Control through four potential channels: physical button, Email, serial, and any device with a web browser, with smartphones being the most convenient option.
  • Cloud data backups and analytics for temperature, luminosity, and intruder detection, facilitated by the ThingSpeak analytics platform.
  • Real-time control, responses, and access to historical data.
  • Five operational modes:

            -AC Mode: Controls the operation of the air conditioning system.

            -Light Auto Mode: Automatically adjusts the lighting based on ambient conditions or programmed settings.

            -Home Secure Mode: Enhances home security by activating various monitoring and alert systems.

            -Emergency Mode: Activates predefined emergency protocols to ensure safety and provide immediate assistance in critical situations.

  • Features a simple and intuitive command syntax using "SET/GET" commands.

Operation

Setup:

  • Configure the AP settings of the devices
  • Connect the devices to a power supply (5VDC)
  • Optional: Configure dynamic DNS on a router to enable control of SHAS from outside the home network

Usage:

After booting,

  • If the device is not connected to the configured WiFi AP (home router)

            -it can only be controlled physically

  • If the device is connected to the configured WiFi AP (home router):

            -It can be controlled physically

            -It can be controlled through a web UI

  • If the device is connected to the configured WiFi AP (home router) and a computer:

            -It can be controlled physically

            -It can be controlled through a web UI

             -It can be controlled through the serial channel

  • If the device is connected to the configured WiFi AP (home router) and a computer running the extension script with internet access:

             -It can be controlled physically

             -It can be controlled through a web UI

             -It can be controlled through the serial channel

             -It can be controlled via email

Technology Overview

Software:

  • C/C++
  • Python
  • Arduino
  • ThingSpeak

Hardware:

  • Heltec WIFI LoRa 32 (ESP32 based MCU)
  • PIR sensor (HC-SR501)
  • Resistor (220 Ω)
  • Temperature sensor (LM35)
  • Illumination sensor (GL5528 photoresistor)
  • DC motor (5VDC)
  • Relay (5VDC10A)
  • LED (DIP)
  • Breadboard and wires

Source

More Projects

Have projects in mind?

Let’s work together

Greetings! 👋🏻
I am Daniel Petrovich, a seasoned entrepreneur,
dedicated to expand digital boundaries for both companies and individuals.