Tinytuya

Latest version: v1.13.2

Safety actively analyzes 630656 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 16

1.0.5

* PyPi Version 1.0.5
* Updated cipher json payload to mirror TuyAPI - hexdigest from `[8:][:16]` to `[8:][:24]`
* Added optional persistent socket connection, NODELAY and configurable retry limit (elfman03) 5 6 7
python
set_socketPersistent(False/True) False [default] or True
set_socketNODELAY(False/True) False or True [default]
set_socketRetryLimit(integer) retry count limit [default 5]

* Add some "scenes" supported by color bulbs (elfman03)
python
set_scene(scene): 1=nature, 3=rave, 4=rainbow

1.0.4

* PyPi Version 1.0.4
* Added `scan()` function to get a list of Tuya devices on your network along with their device IP, ID and VERSION number (3.1 or 3.3):

python3 -m tinytuya

1.0.3

* PyPi Version 1.0.3
* Removed automatic device22 type selection. The assumption that 22 character ID meant it needed dev_type device22 was discovered to be incorrect and there are Tuya devices with 22 character ID's that behave similar to default devices. Device22 type is now available via a dev_type specification on initialization:

OutletDevice(dev_id, address, local_key=None, dev_type='default')
CoverDevice(dev_id, address, local_key=None, dev_type='default')
BulbDevice(dev_id, address, local_key=None, dev_type='default')

* Added Tuya Command Types framework to definitions and payload dictionary per device type.
* Bug fixes (1.0.2):
* Update SET to CONTROL command
* Fixed BulbDevice() `__init__`

1.0.1

1.0.0

* PyPi Version 1.0.0

Page 16 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.