Skip to main content

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 Assistant client credentials. Intended to be replaced when 3rd Party credentials become available.
  • Warning tinytuya.json will be replaced with new QR-based credentials information.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinytuya_wizard-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

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

Hashes for tinytuya_wizard-0.1.2.tar.gz
Algorithm Hash digest
SHA256 64ab4b25b91316a1c71534810bcf4f6eec4f12ae0af5d0a091d24fd304dce3c6
MD5 60a9dd28eaa50af273e036315306ab55
BLAKE2b-256 f5077c731803b17df4faaa81013de3b7f6fd4dbce2221f1d94df4d137886479d

See more details on using hashes here.

File details

Details for the file tinytuya_wizard-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for tinytuya_wizard-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eba16fca0c3de63a5c1c5d946657ce0a633ccffb293a3509b2c9a0d8b1dccff5
MD5 a8e01af4bcdd276adda3fae6414f6e24
BLAKE2b-256 4e5e918f020f3460b6f746fa8f6be6e5d1409a2c41f4c5e640fd851cd3dc2eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page