DEVICEIP
#201
Replies: 1 comment
-
Hi @kstelios - Yes! You can have tinytuya scan for the device and discover its IP automatically by using import tinytuya
d = tinytuya.OutletDevice('DEVICEID', 'Auto', 'DEVICEKEY')
# d.set_version(3.3) - Not needed since scan will determine version too
print(d.status()) [ Also, make sure you are running the latest version of tinytuya (1.7.1) as there has been significant improvements to the discovery logic thanks to @uzlonewolf ] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any idea to bypass DEVICEIP changes (unknown ip) because of DHCP server?
Example code
Beta Was this translation helpful? Give feedback.
All reactions