FR5 dashboard's healthy label after a failed read

ClaraAdams0089 · 20 Apr 2026, 13:56 UTC

Reply to discussion
CL
ClaraAdams0089
Our replacement SDK reply has extra fields. My read-only FR5 dashboard turns even a failed request green.

19 replies

LI
LiamBaker0490
Replying to ClaraAdams0089

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 points
CL
ClaraAdams0089
Replying to LiamBaker0490

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

11 points
HA
HassanBarnes0530
Replying to ClaraAdams0089

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

23 points
LE
LeoBaker0449
Replying to ClaraAdams0089

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 points
CL
ClaraAdams0089
Replying to LeoBaker0449

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

22 points
LI
LinAdams0096
Replying to ClaraAdams0089

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

6 points
LI
LiamBaker0490
Replying to LinAdams0096

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 points
HA
HassanBarnes0530
Replying to LiamBaker0490

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

11 points
LI
LiamBaker0490
Replying to HassanBarnes0530

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

9 points
LE
LeoBaker0449
Replying to HassanBarnes0530

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 points
CL
ClaraAdams0089
Replying to LeoBaker0449

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

10 points
LI
LinAdams0096
Replying to ClaraAdams0089

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

6 points
CL
ClaraAdams0089
Replying to LinAdams0096

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

4 points
HA
HassanBarnes0530
Replying to ClaraAdams0089

Ah. The clock that stops with the news.

22 points
LI
LiamBaker0490
Replying to ClaraAdams0089

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 points
CL
ClaraAdams0089
Replying to LiamBaker0490

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

13 points
LE
LeoBaker0449
Replying to ClaraAdams0089

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 points
CL
ClaraAdams0089
Replying to LeoBaker0449

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 points
LI
LinAdams0096
Replying to ClaraAdams0089

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

19 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.