简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

FR5 dashboard's healthy label after a failed read

ClaraAdams0089 · 2026年4月20日 13:56 UTC

回复讨论
CL
ClaraAdams0089
Our replacement SDK reply has extra fields. My read-only FR5 dashboard turns even a failed request green.

19 条回复

LI
LiamBaker0490

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.

18
CL
ClaraAdams0089

It tests whether the returned container is nonempty. That's embarrassingly literal.

11
HA
HassanBarnes0530

Nonempty failure, then, so your dashboard is successfully detecting that it received some stuff

23
LE
LeoBaker0449

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
CL
ClaraAdams0089

Maintainer has the matching documentation now. Failure bypasses the status mapping in the revised parser.

22
LI
LinAdams0096

What does the screen show instead, because a parser fix can still leave yesterday's reassuring colour sitting there?

6
LI
LiamBaker0490

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
HA
HassanBarnes0530

Liam, I'd keep it for diagnosis, otherwise every broken read erases the clue you were looking at just before it broke

11
LI
LiamBaker0490

Separately was the important bit. I don't want the old value wearing the current green label.

9
LE
LeoBaker0449

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
CL
ClaraAdams0089

We're using an unavailable live tile and a separate last-success line with time. History remains intact.

10
LI
LinAdams0096

Try the screen with updates stopping entirely too, not only a tidy failure reply reaching the parser.

6
CL
ClaraAdams0089

That exposed a second bug: the age display only refreshed when replies arrived.

4
HA
HassanBarnes0530

Ah. The clock that stops with the news.

22
LI
LiamBaker0490

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
CL
ClaraAdams0089

Yes. Freshness now advances independently, and startup failure says no successful reading rather than showing a default status.

13
LE
LeoBaker0449

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
CL
ClaraAdams0089

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
LI
LinAdams0096

Good, and the next person looking at the training screen won't have to guess whether its cheerful answer is still alive.

19

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。