v1.15.0 - Scanner Fixes
What's Changed
- Fix force-scanning bug in scanner introduced in last release and add broadcast request feature to help discover Tuya version 3.5 devices by @uzlonewolf in #511.
- Add netifaces as an install requirement by @jasonacox in #517
- Server p12 updates:
- Added "Force Scan" button to cause server to run a network scan for devices not broadcasting.
- Minor updates to UI for a cleaner title and footer to accommodate button.
- Added logic to allow settings via environmental variables.
- Add broadcast request to local network for version 3.5 devices.
- Fix bug with cloud sync refresh that was losing device mappings.
- Added "Cloud Sync" button to poll cloud for updated device data.
- Add network configuration for force scan by @jasonacox in #518
Example CLI
# Standard Scan with broadcast requests for version 3.5 devices
python3 -m tinytuya scan
# Forced network scan
python3 -m tinytuya scan -f
Example Docker Run for Server Test (http://localhost:8888)
docker run \
-d \
-p 8888:8888 \
-p 6666:6666/udp \
-p 6667:6667/udp \
-p 7000:7000/udp \
--network host \
-e DEBUGMODE='no' \
-e HOST='192.168.0.100' \
-v $PWD/devices.json:/app/devices.json \
-v $PWD/tinytuya.json:/app/tinytuya.json \
--name tinytuya \
--restart unless-stopped \
jasonacox/tinytuya
Full Changelog: v1.14.0...v1.15.0