Skip to content

A Python script that monitors the status of a Tuya smart device and sends real-time WhatsApp notifications when the device status changes. Utilizing tinytuya for device integration and pywhatkit for messaging, this tool provides an easy way to stay updated on the state of your smart devices.

License

Notifications You must be signed in to change notification settings

ayanmal1k/tuya-device-status-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device Status Monitor

This script monitors the status of a Tuya smart device and sends a WhatsApp message when the status changes.

Features

  • Connects to a Tuya smart device
  • Monitors the device status continuously
  • Sends a WhatsApp message when the device status changes
  • Uses pywhatkit for WhatsApp messaging

Requirements

  • Python 3.x
  • tinytuya
  • pywhatkit

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/device-status-monitor.git
    cd device-status-monitor
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Update the script with your Tuya device credentials and WhatsApp configuration.
  2. Run the script:
    python monitor_device.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Python script that monitors the status of a Tuya smart device and sends real-time WhatsApp notifications when the device status changes. Utilizing tinytuya for device integration and pywhatkit for messaging, this tool provides an easy way to stay updated on the state of your smart devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages