Catch CLAUDE.md up with the firmware-updates merge #80
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/claude-md-updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CLAUDE.md described a repository from before PR #53 landed. Verified each stale claim against the code rather than assuming:
BULKtransport and the WiFi/OTA paths are implemented (updater/session.py,updater/radio.py) — dropped from "Not yet implemented".CMD_HOLD/STATE_MOMENTARY(still refused explicitly invalve.py),DIAG(test_traffic.pypicks a DIAG type specifically because "the DIAG family is not built yet"), and the CCT/heater message families (defined in the catalogue but not wired into any entity) are all still genuinely unbuilt, so they stay.can0is generalised: the van is wired tocan1, and the interface name comes from the config flow (confirmed inupdater/api.py's/api/interface/<name>route andcustom_components/campervan/firmware.py).updatercontainer: loopback control API on127.0.0.1:8787, told which CAN interface to use, drives NetworkManager for thecampervan-otahotspot, serves images on port8080.uint16is a packed CalVer (protocol/versions.py),0x0000meaning a development build.Checked README.md too — it already reflects the current state and nothing there needed to change. No ticket for this one; docs-only, nothing to test.
Checked every fact against the code on this branch (updater/api.py, updater/config.py, updater/radio.py, protocol/versions.py, config_flow.py, const.py, valve.py, catalogue.py, light.py, switch.py, README.md, rpi-setup.md) — all hold up. One prose nit worth a fix, nothing blocking.
@ -18,2 +18,4 @@this integration, and it is not a stale leftover to delete.A third container, `updater`, does run too — the Pi host side of firmwareupdates. It talks to the integration over a loopback control API onThis sentence has three parallel verbs on "It" (talks to / drives / serves), but the first one is interrupted by a long "which is how it is told..." clause before the second verb arrives. On a first read "drives NetworkManager" reads like it might still be inside that clause rather than the next item in the list. Worth splitting, e.g.: "It talks to the integration over a loopback control API on
127.0.0.1:8787, which is how it is told which CAN interface to use rather than guessing or reading an environment variable. It also drives NetworkManager to raise thecampervan-otahotspot, and serves images to nodes on port8080."