Skip to content

v0.2.1

Choose a tag to compare

@rudyberends rudyberends released this 07 Jun 14:06
· 5 commits to main since this release
fix(discovery): disable TLS validation on S2 generation probe

detectGeneration probed https://host:1443 with plain undici fetch, which
rejects Sonos S2's self-signed cert (DEPTH_ZERO_SELF_SIGNED_CERT). The
probe then fell through to the S1 branch, and since S2 speakers also serve
the legacy UPnP device description on :1400, every S2 unit was
misclassified as S1 and routed to the SOAP backend instead of the
WebSocket event stream.

Pass the same rejectUnauthorized:false dispatcher that getDiscoveryInfo
and the WebSocket client already use; expose it as an override.

Bump 0.2.1.