Register‑Mapping: ASCII block headers, Kelvin offsets, forum entries and trimmed init read blocks#88
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
_is_ascii_block_header_registerund zeigt für die erweiterten Bereiche (200–205,1001–1007,1091–1096,1181–1186,1271–1276,1361–1366,1451–1456,2001–2006,2091–2096) 16‑Bit BE‑Wörter als zwei druckbare ASCII‑Zeichen in der bestehenden Wertspalte an; nicht druckbare/0x0000/0xFFFF→ Reserve/leer. (Änderung infoxair_phnix_control.py.)data/foxair_phnix_registers.jsonmitascii_group/ascii_pos/Hinweisen für die Blockkopf‑Wörter,1191als Paketmarker/Syncwort dokumentiert (nicht als ASCII), sowie Markierungen/Notes für alle Forum/Endif‑Werte und experimentelle Einträge3012–3021(klar alsexperimentell; selbst ungetestet).1212–1214auf TypTEMP1mit UnitKgesetzt und Hinweis/Note ergänzt, sodass Anzeige als Kelvin‑Differenz (raw / 10) erfolgt ohne Type‑System Umbau.3013erhält neuen HilfstypVERSION_X10und Core/Darstellungs‑Formatierung ergänzt, umV[raw/10]anzuzeigen (minimaler, optionaler Darstellungsweg). (Änderung incore/foxair_phnix_core.pyund Cache‑Formatierung infoxair_phnix_control.py.)1464,1466,1476,2116,2122,2124,2144,2136,2137,2138) alsFunktion unbekanntmarkiert;2122/2124zusätzlich mit Hinweis „zählt im Betrieb aufwärts"; keine spekulativen Namen vergeben.2023,2029,2030,2031,2078,2079,2111,2112,2118,2120,2133,2134) und2133Value‑Map um5 = Normalbetriebsowie2134Value‑Map0=disabled/1=enablederweitert.WARMLINK_INIT_BLOCKSundSTANDARD_MODBUS_INIT_BLOCKSjetzt nur noch die acht bewährten 90er‑Blöcke lesen — behalten:1001–1090(start 1001),1091–1180(1091),1181–1270(1181),1271–1360(1271),1361–1450(1361),1451–1540(1451),2001–2090(2001),2091–2180(2091); ausgelassen: die dauerhaft nicht antwortenden hohen Blöcke (1541–1630,1631–1720,1721–1810bzw. entsprechende frühere entries wie 1018/1101/1191/1541). (Änderungen inworkers/warmlink_worker.pyundworkers/standard_modbus_worker.py.)APP_VERSION, keine neuen UI‑Spalten, keine Parser/Modbus‑Schreiblogik oder Touch‑Scrolling, und bestehende Raw/Hex‑Spalten bleiben unberührt.Testing
python -m compileall .wurde ausgeführt und alle Dateien kompilierten erfolgreich.PYTHONPATH=. pytestwurde ausgeführt und lieferte: 16 passed, 2 skipped (keine Test‑Fehler).Codex Task