-
When trying to run the example, I get this traceback:
Traceback (most recent call last):
File "C:/Users/Minichota/PycharmProjects/Global_Automation/lights.py", line 4, in
data = d.status() …
-
Is there a way to control individual outlets on a power strip? I can with pytuya but no with tuyapi. Thanks
-
I've been playing with this and (at least with python 3) the following line causes an `AttributeError: 'str' object has no attribute 'decode'`
https://github.com/clach04/python-tuya/blob/01c123f899…
tadly updated
6 years ago
-
related to Issue #2
repeated status calls *sometimes* fail with:
File "demo_status.py", line 38, in
data = d.status()
File "C:\Users\clach04\py\python-tuya_clach04\pytuya…
-
Hello...
Since i dont get any node or c# working on my device i want to run the tuya controll logic on it want to try the python now...
But the code provided here is not totally clear to me. (pyth…
-
Ideally we'd decrypt the payload if it's not JSON, but as a short-term fix we may be able to just wrap `get()` in a `retry.operation()`.
-
the `status` method is ok.
and the `set_staus` method is raise the error.
```Python
Traceback (most recent call last):
File "pytuya.py", line 330, in
data = d.set_status(not switch_stat…
-
Hi !
Thanks for that grat project. Makes my new wall switch works together with my smarthome.
I bought a Xenon / Jinvoo (Tuya based) Wall switch with two buttons.
Like this one: https://de.aliexpre…
-
Need more info., see issue #1
-
Is there a reason you're explicitly setting the IV to ''?
Like
`cipher = AES.new(self.key, mode=AES.MODE_ECB, IV='')`
I was having some issues on homeassistant since it appears setting IV has b…