Working tuya with smart lock #531
Replies: 2 comments 1 reply
-
Hi @farhad1359 - That error indicates it is unable to connect. This could be caused by the device not being on the WiFi all the time. If it is battery powered, it will only connect to the WiFi to check in to the Tuya Cloud or to react to events. However, if this is not a battery powered device, I would try: Scan - Does it find the device? python3 -m tinytuya scan Code # add debug to your code - also verify IP address, ID and localkey
tinytuya.set_debug(True)
d = tinytuya.Device('DEVICE_ID_HERE', 'IP_ADDRESS_HERE', 'LOCAL_KEY_HERE', version=3.3)
data = d.status()
print(data) |
Beta Was this translation helpful? Give feedback.
-
Hi @jasonacox , |
Beta Was this translation helpful? Give feedback.
-
I'm trying to connect to the tuya smart lock, locally. But I got the 901 error. How I can resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions