Hi
Tuya is the most spreaded IoT standard
Maybe it make sense to integrate TinyTuya in the opernwrt tree ?
Thank you
Hi
Tuya is the most spreaded IoT standard
Maybe it make sense to integrate TinyTuya in the opernwrt tree ?
Thank you
It is a pure python module that you can install with pip
,
No, because pip is too big to be compiled in
So, it would be nice to have it already packaged in
Niceity wil/ not make your cloud api any smaller.
No, but that would avoid the need of PIP
This is the key here
If I were to submit a PR integrating tinytuya, where should I look at ?
NOTE: Devices need to be activated by Smart Life App.
Like this ?
yes, the tuya devices, not hte openwrt box
you need to update the makefile otherwise it will fail to build.
i have tried building tinytuya and it works.
but getting message while building
staging_dir/hostpkg/lib/python3.11/site-packages/urllib3/init.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 3.7.3'. See: https://github.com/urllib3/urllib3/issues/3020
Openwrt does not ship libressl, probably you downloaded prebuilt wheel.
On limited platforms earlier...
solution for now
Anyone happy to help me fixing my PR ?
I get to the following error:
File "/files/src/openwrt/wr650/build_dir/target-mips_24kc_musl/pypi/tinytuya-1.15.1/tinytuya/core.py", line 83, in <module>
from colorama import init
ModuleNotFoundError: No module named 'colorama'
Requirements are unversioned, probably you need to down or upgrade, or ask maintainer to version.
The tinytuya maintainer will do the PR