# I made a Python tool to control Wipro Smart plugs without the paid API — retained record

> Retained reddit record from reddit:developersIndia.

Canonical: https://highsignal.app/data/records/79261d287a6f9b74

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:developersIndia)  published 2026-08-29 17:57 ingested 2026-08-30 02:36

[original source ↗](https://www.reddit.com/r/developersIndia/comments/1w1t9bx/i_made_a_python_tool_to_control_wipro_smart_plugs/)

## retained text



```
I built a Python script that acts like an API for controlling Wipro Smart Plugs.

It currently supports:

* Login
* Device discovery
* Device status checks
* On/off control

I was working on some home automation scripts and wanted to see whether there was any API I could use.

The plug initially told me to download the Wipro Next Smart Home app, which is basically the Smart Life app made by Tuya. Tuya does provide a cloud API, but it requires setting up a cloud project on their developer portal, and the API access I found was only available as a limited free trial before becoming paid.

I didn’t want to pay for API access or be limited to controlling the plug manually through the mobile app. I wanted to integrate it into my own automated system, and the app itself didn’t give me the flexibility I needed.

So I started looking into how the mobile app itself communicates with Tuya's backend and built a Python implementation around that flow.

The project also documents some of the protocol details I came across, including:

* Password encryption
* RSA-based login flow
* TLS communication
* Request signing
* HMAC-SHA256
* Device datapoints / DPs
* Bitmap token decoding

Would appreciate any feedback, testing, bug reports, or contributions.

GitHub: [https://github.com/RD945/smartlife-app-tuya](https://github.com/RD945/smartlife-app-tuya)
```



document fetched 2026-08-30 00:23 · canonical https://reddit.com/r/developersIndia/comments/1w1t9bx/i_made_a_python_tool_to_control_wipro_smart_plugs
