This project allows you to control your Airtel modem using a Tuya Smart Plug over your local network. With this solution, you can conveniently power cycle your modem remotely, improving its stability and connectivity without the need to physically unplug and plug it in.
- Remote Modem Control: Control your Airtel modem remotely via a Tuya Smart Plug.
- Improved Connectivity: Easily power cycle the modem for enhanced stability and performance.
- Automation: Integrate this solution into your home automation setup.
- Security: Operates within your local network, ensuring the security of your data.
Before you get started, ensure you have the following:
- A Tuya Smart (SmartLife) Plug device & Tuya IoT Platform account
- Python 3.x installed
- Airtel modem
-
Clone the repository:
git clone https://github.com/bewithdhanu/Local-Network-Airtel-Modem-Control-with-Tuya-Smart-Plug.git
-
Install the required Python packages:
pip install -r requirements.txt
-
Configure your Tuya Smart Plug credentials and network settings (instructions in the project documentation).
-
Run the Python script to control your modem via the Tuya Smart Plug.
- Copy
env.py.example
toenv.py
using this commandcp env.py.example env.py
ACCESS_ID = "" ACCESS_KEY = "" USERNAME = "" PASSWORD = "" DEVICE_ID = "" ENDPOINT = ""
- Update all values with actual data
Explain how to use your project once it's installed. Provide examples and code snippets if applicable.
python main.py
This project is licensed under the MIT License - see the LICENSE file for details.
Name | Type |
---|---|
Dhanu K | Author |