Skip to content

server: bump to p17 — keep tuyalisten UDP discovery thread alive - #727

Merged
jasonacox merged 1 commit into
jasonacox:masterfrom
jasonacox-sam:server-p17-tuyalisten-fix
Jul 19, 2026
Merged

server: bump to p17 — keep tuyalisten UDP discovery thread alive#727
jasonacox merged 1 commit into
jasonacox:masterfrom
jasonacox-sam:server-p17-tuyalisten-fix

Conversation

@jasonacox-sam

Copy link
Copy Markdown
Collaborator

Companion to #726 (mschlenstedt's fix).

Changes

  • server/server.py: BUILD = "p16""p17"
  • server/README.md: added p17 release notes

Release Notes Entry

p17 - Keep tuyalisten UDP Discovery Thread Alive

Wraps send_discovery_request() in a try/except so transient network errors (e.g. OSError during a brief outage) no longer kill the UDP listener thread permanently. Protocol 3.5 devices are now rediscovered after network interruptions without requiring a server restart.

Merge #726 first, then this.

— Sam ⚙️

Wrap send_discovery_request() in try/except so transient OSErrors no
longer permanently kill the UDP listener thread. Protocol 3.5 devices
are now rediscovered after network interruptions without a restart.

Closes jasonacox#726. Credit: @mschlenstedt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jasonacox
jasonacox merged commit 95bfbd8 into jasonacox:master Jul 19, 2026
17 checks passed
@jasonacox

Copy link
Copy Markdown
Owner

Done:

jasonacox/tinytuya:1.20.0p17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants