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
Hello. I just bought a WiFi door sensor. It works very well with the app on Android, but I can't seen to connect to it.
I am able to find the device on my network:
`PS C:\Users\lucas> python -m tinytuya scan
TinyTuya (Tuya device scanner) [1.15.1]
Scanning on UDP ports 6666 and 6667 and 7000 for devices for 18 seconds...
New Broadcast from App at 192.168.15.13 - {'from': 'app', 'ip': '192.168.15.13'}
Unknown v3.4 Device Product ID = pgtau22buow5ap0f [Valid Broadcast]:
Address = 192.168.15.6 Device ID = eb5b7d70a459c28983nngh (len:22) Local Key = Version = 3.4 Type = default, MAC =
No Stats for 192.168.15.6: DEVICE KEY required to poll for status
Scan completed in 18.0092 seconds
Hello. I just bought a WiFi door sensor. It works very well with the app on Android, but I can't seen to connect to it.
I am able to find the device on my network:
`PS C:\Users\lucas> python -m tinytuya scan
TinyTuya (Tuya device scanner) [1.15.1]
Scanning on UDP ports 6666 and 6667 and 7000 for devices for 18 seconds...
New Broadcast from App at 192.168.15.13 - {'from': 'app', 'ip': '192.168.15.13'}
Unknown v3.4 Device Product ID = pgtau22buow5ap0f [Valid Broadcast]:
Address = 192.168.15.6 Device ID = eb5b7d70a459c28983nngh (len:22) Local Key = Version = 3.4 Type = default, MAC =
No Stats for 192.168.15.6: DEVICE KEY required to poll for status
Scan completed in 18.0092 seconds
Scan Complete! Found 1 devices.
Broadcasted: 1
Versions: 3.4: 1
Unknown Devices: 1
And then I am also able to extract its local key either from Tuya API and with the wizard.
Then, if I try to run the script:
`# Example Usage of TinyTuya
import tinytuya
d = tinytuya.OutletDevice('eb5b7d70a459c28983nngh', '192.168.15.6', "LOCAL KEY REDACTED", version=3.4)
d.status()`
It always show this error:
{'Error': 'Network Error: Unable to Connect', 'Err': '901', 'Payload': None}
I have tried everything. Removing and adding again to the app, trying another library, trying another wifi network, etc. None seems to work.
The text was updated successfully, but these errors were encountered: