README and FIELD-GUIDE.md said the PDF was not rebuilt; it was, on 2026-10-17. Its content is still v0.1.0 and outdated. Rewrap the DOCS.md intro line. Text only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.9 KiB
Markdown
47 lines
1.9 KiB
Markdown
# Field Guide
|
|
|
|
The guide technicians carry is the PDF:
|
|
|
|
**`docs/GoodWe-RS485-Field-Guide.pdf`** — 10 pages, A4, print it double-sided.
|
|
|
|
⚠️ **Outdated: the content is still v0.1.0.** The PDF was rebuilt on 2026-10-17
|
|
for the EMS-port wording and the `slew_w` row only. Where the guide disagrees with
|
|
`goodwe_controller/DOCS.md`, DOCS.md wins.
|
|
|
|
It covers, in the order the work is done: pre-visit checks, hardware, firmware,
|
|
add-on install and configuration, how to read the Web UI, the six commissioning
|
|
gates, the e-stop (and the statement a site without one must sign), proving a
|
|
maintenance cycle, handover with a sign-off sheet, and troubleshooting.
|
|
|
|
## Editing it
|
|
|
|
The text lives in `docs/build_guide.py` — deliberately one source, so a Markdown
|
|
copy cannot drift from the PDF someone is holding in a cellar.
|
|
|
|
```bash
|
|
python3 docs/build_guide.py # regenerates field-guide.html and the PDF
|
|
```
|
|
|
|
Requires Chrome or Chromium (used headless for print-to-PDF); `CHROME` in the
|
|
script is a Windows path, so edit it on any other machine. Screenshots live
|
|
in `docs/img/` and are base64-embedded, so `field-guide.html` is standalone.
|
|
|
|
⚠️ **Every section must stay under the A4 printable height** (1039 px at 96 dpi
|
|
with the configured margins). Chrome silently spills an over-long section onto a
|
|
second page, and the pagination stops matching the step numbers. After editing,
|
|
open `field-guide.html` and check:
|
|
|
|
```js
|
|
document.querySelectorAll('.page').forEach(el =>
|
|
console.log(el.getBoundingClientRect().height)) // each must be < 1039
|
|
```
|
|
|
|
The PDF should always come out at exactly **one page per section**.
|
|
|
|
## Regenerating the screenshots
|
|
|
|
`docs/img/ui-running.png` and `ui-notready.png` are real captures of the add-on's
|
|
own Web UI, taken by running it against stub data. If the UI changes, retake them
|
|
— a field guide showing a screen that no longer exists is worse than one with no
|
|
screenshots at all.
|