Interactive wizard for tinytuya library
Project description
TinyTuya Wizard
tinytuya_wizard is an interactive wizard for discovering registered devices on Tuya Cloud.
🔧 Features
- QR code login via SmartLife / Tuya app
- Automatic cloud credential handling
- Fetch Tuya device information from the cloud
- Optional local network scan to match IPs
📦 Installation
pip install tinytuya_wizard
▶️ Usage
Standard execution
python3 -m tinytuya_wizard
⚙️ Command-line Options
| Option | Description |
|---|---|
max_time |
Maximum time to find devices during polling (default: 18) |
-force / -f |
Force scan device IP addresses |
-nocolor |
Disable colored terminal output |
-yes / -y |
Automatically answer yes to prompts |
-no-poll / -no |
Skip local IP polling (overrides -yes) |
-device-file FILE |
Path for storing the device list JSON |
-credentials-file FILE |
Path for storing cloud credentials JSON |
💾 Output
Upon completion, the wizard writes the following:
- Cloud credentials JSON
- Device informations JSON
❗ Notes
- This project does not modify
tinytuya— it is an interactive wrapper focused on simplicity and usability. - Currently using temporary
Home Assistantclient credentials. Intended to be replaced when 3rd Party credentials become available. - Warning
tinytuya.jsonwill be replaced with new QR-based credentials information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinytuya_wizard-0.1.2.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinytuya_wizard-0.1.2.tar.gz.
File metadata
- Download URL: tinytuya_wizard-0.1.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64ab4b25b91316a1c71534810bcf4f6eec4f12ae0af5d0a091d24fd304dce3c6
|
|
| MD5 |
60a9dd28eaa50af273e036315306ab55
|
|
| BLAKE2b-256 |
f5077c731803b17df4faaa81013de3b7f6fd4dbce2221f1d94df4d137886479d
|
File details
Details for the file tinytuya_wizard-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tinytuya_wizard-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eba16fca0c3de63a5c1c5d946657ce0a633ccffb293a3509b2c9a0d8b1dccff5
|
|
| MD5 |
a8e01af4bcdd276adda3fae6414f6e24
|
|
| BLAKE2b-256 |
4e5e918f020f3460b6f746fa8f6be6e5d1409a2c41f4c5e640fd851cd3dc2eeb
|