Skip to content

Scan Max Retry Option

Compare
Choose a tag to compare
@jasonacox jasonacox released this 02 Aug 22:22
· 51 commits to master since this release
  • Added option to allow users to specify maximum retries for scan functions:
# specify 50 retries via command line
python3 -m tuyapower 50
# invoke verbose interactive scan
tuyapower.scan(50)

# return payload of devices
devices = tuyapower.deviceScan(false, 50)