36 lines
2.7 KiB
Plaintext
36 lines
2.7 KiB
Plaintext
You are testing the KOTA sensorbox technician tool v0.8 on macOS. The current folder is
|
|
004-technician_tool/v0.8 (a Python/PySide6 desktop app; tested on Windows 11, macOS paths are covered by
|
|
unit tests but not yet run on a real Mac).
|
|
|
|
Rules:
|
|
- Python only via uv or conda/mamba. Never use bare/system python or pip.
|
|
- Do not build or modify firmware. Flash only files from the tool's firmware/ folder.
|
|
- Do not push anything to Git or GitLab. This is a local demo.
|
|
- Ask me before any destructive action: formatting an SD card, Full-mode flashing, or deleting files.
|
|
Before formatting, show me the exact disk (identifier, name, size, current files).
|
|
- Do not change code without telling me. Report bugs with evidence (commands and output).
|
|
|
|
Tests, in order. Report pass/fail with evidence for each:
|
|
1. Launch: `bash run_macos.command` (it offers to install uv). The app window opens; note any warnings.
|
|
Also check whether a double-click in Finder works (Google Drive may drop the executable bit).
|
|
2. Tests: `UV_PROJECT_ENVIRONMENT="$HOME/Library/Caches/KotaTechnicianTool/venv-0.8" uv run --frozen pytest -q`
|
|
(expect 172 passed).
|
|
3. Serial: plug in the sensorbox (native USB). The port list shows a /dev/cu.usbmodem* "Sensorbox (native USB)"
|
|
entry with a MAC (no /dev/tty.* duplicate). Connect, press "Reset & capture": the log starts at
|
|
"ESP-ROM:esp32s3" and the Diagnosis panel shows firmware v1.0.16 (build 4f10989e), the "Box self-report"
|
|
section and the LED with its pattern. Check whether the port disappears after the reset and whether the
|
|
tool reconnects. Wait 2 minutes: a "KOTA: health" line appears every 60 s.
|
|
4. Show filter "KOTA diagnostics + errors" shows only KOTA lines and errors.
|
|
5. Guided troubleshooting: run "Quick check" and answer truthfully with what I tell you the LED shows.
|
|
6. Flash (App only, the newest file in firmware/, chosen by its compile date): the tool must enter flashing mode
|
|
by itself, write, restart the box and report "Success ... build 4f10989e". Capture the esptool output.
|
|
7. SD card tab: the card reader and card are listed (internal disks must NOT be listed). "Check card" must NOT
|
|
report a wrong file system for a FAT32 card. After my OK, "Format card and write ENV.TXT" must use
|
|
`diskutil eraseDisk FAT32 KOTA MBRFormat` on the correct disk, write ENV.TXT and eject the card.
|
|
8. "Service report..." opens the browser at https://service.kota-app.com/<MAC>#kota-report=...; the note in
|
|
the form must match the Diagnosis panel (self-report, start-up progress with times, findings with
|
|
"Seen Nx, first at ... s").
|
|
|
|
At the end, write a short report: macOS version, Mac model/architecture, each test with result, errors, and
|
|
suggested fixes (file:line).
|