Skip to content

Add an Unexpected Maker ProS3D board template and sweep YAML comments - #69

Merged
ptr727 merged 3 commits into
developfrom
add-unexpectedmaker-pros3d-template
Jul 26, 2026
Merged

ptr727 merged 3 commits into
developfrom
add-unexpectedmaker-pros3d-template

Conversation

@ptr727

@ptr727 ptr727 commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Adds a board template for the Unexpected Maker ProS3D, the candidate host for a
dedicated Bluetooth proxy near the HVAC compressors, and sweeps the YAML comments
that do not follow the AGENTS.md comment conventions.

ProS3D template

The template is hardware-only, matching the split that office-bluetooth-proxy.yaml
uses over templates/gls10-bluetooth-proxy.yaml. The proxy stack and the easystart
BLE clients belong in a device config authored when the board is in hand.

Board facts are read off the ProS3[D] schematic rev D-P1, cross-checked against the
vendor seriesd_arduino_helper library and the um_pros3 pin variant:

  • PSRAM is quad, not octal. The part is 8-pin and the flash is a W25Q128JVSIQ, which
    also leaves GPIO33 free for the 5V sense.
  • flash_size is set explicitly because ESPHome defaults to 4MB regardless of board.
  • board: um_pros3 carries variant: esp32s3, and no um_pros3d board exists in
    ESPHome, PlatformIO, or arduino-esp32.
  • LDO2 on GPIO17 feeds the RGB LED and the 3V3_2 header pin. The QWIIC connector is
    on the always-on 3.3V rail, per the schematic's own annotation.
  • GPIO10 is the MAX17048 ALRT line and stays unconfigured. No ESPHome fuel gauge
    component reads it, and its pull-up goes to VBAT rather than 3V3.

The fuel gauge uses the Option-Zero max17048 external component, matching
templates/adafruit-esp32-s3-feather.yaml. The native max17043 platform reads a
MAX17048 correctly only by coincidence of scaling, quantizes voltage to 1.25mV, has
no discharge-rate sensor, and rewrites CONFIG on every boot. Native max17048
support is still an open upstream PR.

Two compile-time substitutions are exposed, external_antenna_restore_mode and
ldo2_power_restore_mode.

Comment sweep

Removes wrapped multi-sentence prose, file-header summary blocks, and semicolon
splices. Where a block duplicated OPERATIONS.md it is cut back to a pointer rather
than reworded, so no knowledge is lost. The easystart RSSI comment claimed the sensor
reads blank while disconnected; it publishes NAN, so Home Assistant reads unknown
rather than a stale value.

garage-door-controller.yaml is left alone by maintainer decision, its incident
narrative included.

Verification

  • esphome config valid for every touched template's test config and consumers,
    including a scratch config exercising both non-default ProS3D substitutions.
  • esphome compile succeeds for the ProS3D test config. The built sdkconfig confirms
    CONFIG_SPIRAM_MODE_QUAD=y, CONFIG_SPIRAM_SPEED_80M=y, and
    CONFIG_ESPTOOLPY_FLASHSIZE="16MB".
  • actionlint, markdownlint, cspell, and editorconfig-checker all clean.

Not verifiable without hardware, to be checked on first flash: that
external_antenna_restore_mode: ALWAYS_ON raises rather than lowers RSSI. The
schematic net is named RF_CTL_ONBOARD, which reads opposite to the vendor library's
"HIGH for External and LOW for Internal"; the library is taken as authoritative.

Generated with Claude Code.

ptr727 added 2 commits July 25, 2026 17:32
The office Bluetooth proxy is out of BLE range of the HVAC compressors, and
the ProS3D's selectable onboard/u.FL antenna suits a marginal-RF install.

Board facts are read off the ProS3[D] schematic rev D-P1, cross-checked
against the vendor Arduino library and the um_pros3 pin variant. PSRAM is
quad, not octal: the part is 8-pin and the flash is a W25Q128JVSIQ, which
also leaves GPIO33 free for the 5V sense. flash_size is set explicitly
because ESPHome defaults to 4MB regardless of board.

The fuel gauge uses the Option-Zero max17048 external component, matching
the Adafruit Feather template. The native max17043 platform reads a
MAX17048 correctly only by coincidence of scaling, quantizes voltage to
1.25mV, has no discharge-rate sensor, and rewrites CONFIG on every boot.

GPIO10 is the MAX17048 ALRT line and stays unconfigured: no ESPHome fuel
gauge component reads it, and its pull-up goes to VBAT rather than 3V3.

Verified with esphome config and a full esphome compile, with the built
sdkconfig confirming quad PSRAM at 80MHz and 16MB flash.
Sweeps the wrapped multi-sentence prose, file-header summary blocks, and
semicolon splices that the AGENTS.md comment rules ban.

Where a block duplicated OPERATIONS.md, it is cut back to a pointer rather
than reworded, so no knowledge is lost: the CeilSense assembly rationale
and the Konnected project-macro rule both already live there in full.

The easystart RSSI comment said the sensor reads blank while disconnected.
It publishes NAN, so Home Assistant reads unknown rather than a stale
value, and the easystart README is corrected to match.

garage-door-controller.yaml is left alone by maintainer decision, its
incident narrative included.
Copilot AI review requested due to automatic review settings July 26, 2026 00:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ptr727
ptr727 requested a review from Copilot July 26, 2026 00:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ptr727
ptr727 requested a review from Copilot July 26, 2026 01:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Comment thread templates/unexpectedmaker-pros3d.yaml Resolved
Comment thread templates/smarthome-ceilsense.yaml Resolved
Addresses the Copilot review. The comment sweep traded wrapped prose for
single lines long enough to break the same rule from the other side, since
a sentence too long for one sensible line is meant to be split, not run on.

Covers all seven over-long lines rather than only the three flagged, and
drops the stray hash in the TODO line, in the Adafruit Feather template it
was copied from as well as in the new one.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit fcc073d into develop Jul 26, 2026
26 checks passed
@ptr727
ptr727 deleted the add-unexpectedmaker-pros3d-template branch July 26, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants