Resilience pass: bulletproof recovery + FWS / fault polling + EG4 discovery refresh

This commit is contained in:
2026-04-28 18:10:00 -04:00
parent 04720c3b92
commit 7688fc1dd3
11 changed files with 267 additions and 16 deletions

View File

@@ -461,9 +461,12 @@ QUERY_COMMANDS = {
"command_type": CommandType.PI18_QUERY,
"result_type": ResultType.COMMA_DELIMITED,
"reading_definitions": [
# Defensive: any 2-digit code outside this map shows as
# "Fault NN" rather than crashing the entire poller.
{"description": "Fault code", "reading_type": ReadingType.MESSAGE,
"response_type": ResponseType.OPTION,
"options": {
**{f"{i:02d}": f"Fault {i:02d}" for i in range(0, 100)},
"00": "No fault",
"01": "Fan is locked",
"02": "Over temperature",