Changes
- Added support for Deco S7 firmware using the encrypted legacy local-web API.
- Added automatic protocol detection while preserving the standard LuCI authentication flow.
- Added support for numeric values returned as strings by legacy firmware.
- Added retries for truncated API responses and unexpected server disconnects.
- Preserve last-known client states and Deco mappings when a per-node request fails after retrying.
- Retain previous CPU and memory values when optional performance polling temporarily fails.
Compatibility
Existing configurations, devices and entity IDs remain unchanged. Existing Deco models continue using the standard API unless the legacy protocol is specifically detected.
Testing
- Deco S7 authentication, discovery and polling were confirmed by the original contributor.
- Standard Deco polling was tested for more than two hours without TP-Link Deco warnings, errors, timeouts or unavailable updates.
- Retry, retry-exhaustion and state-preservation paths were validated with targeted tests.
- The exact truncated-response condition from #586 could not be reproduced on the maintainer's network.
Includes #589 and #590.
Fixes #586.
📦 Dependencies
- Bump flake8 from 7.3.0 to 7.4.1 (#588) @dependabot[bot]
- Bump ruff from 0.16.8 to 0.16.9 (#587) @dependabot[bot], @github-actions[bot]
- Bump ruff from 0.16.7 to 0.16.8 (#585) @dependabot[bot], @github-actions[bot]
- Bump ruff from 0.16.6 to 0.16.7 (#583) @dependabot[bot], @github-actions[bot]