Skip to content

v0.15.1 — tolerate transient auth errors (no more spurious reauth)

Choose a tag to compare

@Hovborg Hovborg released this 12 Jun 17:22

Fixed

  • Spurious "reauth required" on flaky Wi-Fi. A single rejected local poll on a known protocol version escalated straight to a reauth flow. On a marginal Wi-Fi link a truncated/garbled reply decrypts to the same Tuya 914 "check key or version" error, so the integration could demand a new local key while the stored key was still perfectly valid (observed live: cloud key unchanged, device intermittently unreachable, ping RTT 600-950 ms). The coordinator now requires 3 consecutive auth rejects — after any protocol-version cycling — before starting reauth, and a single successful poll resets the counter. Genuine key rotations still reach reauth within 3 poll intervals.