CoolFace
Apppublic

mahamsaleem5/home-automation-system

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Home Automation System using Remote Access (with Free Groq API)

This is a Python-based Home Automation System that allows users to control household devices remotely using a simple web interface. It supports both text and voice commands (via microphone or audio file upload). The system is enhanced by Groq API using a free key, and is deployed on Hugging Face Spaces.

๐Ÿ”ง Features

  • โ€”Remote access to turn ON/OFF the following devices:
  • โ€”Light
  • โ€”Fan (with adjustable speed)
  • โ€”TV
  • โ€”AC (with temperature control)
  • โ€”Heater (with temperature control)
  • โ€”Door Lock
  • โ€”Real-time status display of devices
  • โ€”Input via:
  • โ€”Text commands (e.g., "Turn on the AC")
  • โ€”Voice commands (via mic or audio file)
  • โ€”Powered by the Groq API for natural language processing

๐Ÿง  Technology Stack

  • โ€”Python
  • โ€”Gradio for user interface
  • โ€”Groq API (using free API key)
  • โ€”Hugging Face Spaces (free cloud deployment)

๐Ÿš€ Deployment Instructions

  1. 1.Upload the following files to Hugging Face:
  2. 2.app.py
  3. 3.requirements.txt
  4. 4.README.md
  1. 1.Go to Settings > Secrets on your Space, and add:
  2. 2.GROQ_API_KEY: your free Groq API key
  1. 1.Deploy the Space using Gradio SDK.

Enjoy remote control of your smart home devices with voice and text commands! ๐Ÿ ๐Ÿ”Š๐Ÿ“ฑ