You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,22 @@ pipx install tinytuya
42
42
43
43
Pip will attempt to install `cryptography`, `requests` and `colorama` if not already installed.
44
44
45
+
### Alternate Install on Space- or Dependency-Limited Systems
46
+
47
+
On systems with limited space (such as an OpenWRT router), or if you would like to use a different cryptography library, you can install TinyTuya without automatic dependencies and manually install them yourself.
48
+
49
+
First, install a cryptography library. TinyTuya supports:
**PyCryptodome* - Another good alternative, does not require OpenSSL, still actively developed - `python -m pip install pycryptodome` or `python -m pip install pycryptodomex`
52
+
**pyaes* - Pure Python, but is abandoned and does not support v3.5+ devices - `python -m pip install pyaes`
53
+
**PyCrypto* - Predecessor to PyCryptodome, is also abandoned and does not support v3.5+ devices - `python -m pip install pycrypto`
54
+
55
+
Optional: install `colorama` for terminal color support: `python -m pip install colorama`
56
+
57
+
Required for Wizard or Cloud functionality, Optional otherwise: install `requests` for Cloud functions to work: `python -m pip install requests`
Controlling and monitoring Tuya devices on your network requires the following:
@@ -90,7 +106,7 @@ TinyTuya has a built-in setup Wizard that uses the Tuya IoT Cloud Platform to ge
90
106
```bash
91
107
python -m tinytuya wizard # use -nocolor for non-ANSI-color terminals
92
108
```
93
-
* The **Wizard** will prompt you for the *API ID* key, API *Secret*, API *Region* (cn, us, us-e, eu, eu-w, or in) from your Tuya IoT project as set in Step 3 above.
109
+
* The **Wizard** will prompt you for the *API ID* key, API *Secret*, API *Region* (cn, us, us-e, eu, eu-w, sg, or in) from your Tuya IoT project as set in Step 3 above.
94
110
* To find those again, go to [iot.tuya.com](https://iot.tuya.com/), choose your project and click `Overview`
Copy file name to clipboardExpand all lines: RELEASE.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@
4
4
5
5
* This update makes the colorama dependency optional for the tinytuya library, allowing it to function without colorama while gracefully disabling color output. This will help with memory lor dependency limited platforms. Update by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/637.
6
6
7
+
## v1.17.2 - BulbDevice Fix
8
+
9
+
* Add Singapore datacenter, update BulbDevice for non-bulb devices again by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/625
10
+
7
11
## v1.17.1 - Fix BulbDevice
8
12
9
13
* Fix BulbDevice for non-bulb devices. This will allow BulbDevice to be used even for non-bulb devices, e.g. turn_on() & turn_off(), by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/620.
0 commit comments