What does your parser use as the status now? Compare the installed SDK's documented reply with a successful read and a failure, rather than guessing from one green example.
简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。
FR5 dashboard's healthy label after a failed read
ClaraAdams0089 · 2026年4月20日 13:56 UTC
19 条回复
It tests whether the returned container is nonempty. That's embarrassingly literal.
11分Nonempty failure, then, so your dashboard is successfully detecting that it received some stuff
23分Have the maintainer separate request success from the returned status value. Confirm the field meanings against that installed version before changing the display mapping.
0分Maintainer has the matching documentation now. Failure bypasses the status mapping in the revised parser.
22分What does the screen show instead, because a parser fix can still leave yesterday's reassuring colour sitting there?
6分I'd remove the current-status claim on failure. Keep the last successful reading separately if somebody genuinely needs it, with its age visible.
6分Liam, I'd keep it for diagnosis, otherwise every broken read erases the clue you were looking at just before it broke
11分Separately was the important bit. I don't want the old value wearing the current green label.
9分Hassan, the saved diagnostic history can retain it even if the live tile is unavailable. Those are different display choices; neither needs to discard the previous successful reply.
5分We're using an unavailable live tile and a separate last-success line with time. History remains intact.
10分Try the screen with updates stopping entirely too, not only a tidy failure reply reaching the parser.
6分That exposed a second bug: the age display only refreshed when replies arrived.
4分Ah. The clock that stops with the news.
22分Did the maintainer add an independent freshness check? Also try a failure before any successful read, so there isn't always an old value to display.
14分Yes. Freshness now advances independently, and startup failure says no successful reading rather than showing a default status.
13分Include an unexpected reply shape in the parser tests. It should not fall through to a plausible status while you wait for someone to explain the changed contract.
15分Tests passed for success then failure, startup failure, stopped updates and unexpected shape. We also tested recovery: a new successful reply restores the live value and updates its time. The failed or stale tile stays unavailable until then. Thanks, Lin; stopping updates found the bit our parser tests missed.
6分Good, and the next person looking at the training screen won't have to guess whether its cheerful answer is still alive.
19分