Repository navigation
Add an Unexpected Maker ProS3D board template and sweep YAML comments - #69
Merged
Merged
Conversation
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.
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.
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.
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.yamluses over
templates/gls10-bluetooth-proxy.yaml. The proxy stack and the easystartBLE 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_helperlibrary and theum_pros3pin variant:also leaves GPIO33 free for the 5V sense.
flash_sizeis set explicitly because ESPHome defaults to 4MB regardless of board.board: um_pros3carriesvariant: esp32s3, and noum_pros3dboard exists inESPHome, PlatformIO, or arduino-esp32.
3V3_2header pin. The QWIIC connector ison the always-on 3.3V rail, per the schematic's own annotation.
component reads it, and its pull-up goes to VBAT rather than 3V3.
The fuel gauge uses the Option-Zero
max17048external component, matchingtemplates/adafruit-esp32-s3-feather.yaml. The nativemax17043platform reads aMAX17048 correctly only by coincidence of scaling, quantizes voltage to 1.25mV, has
no discharge-rate sensor, and rewrites CONFIG on every boot. Native
max17048support is still an open upstream PR.
Two compile-time substitutions are exposed,
external_antenna_restore_modeandldo2_power_restore_mode.Comment sweep
Removes wrapped multi-sentence prose, file-header summary blocks, and semicolon
splices. Where a block duplicated
OPERATIONS.mdit is cut back to a pointer ratherthan 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.yamlis left alone by maintainer decision, its incidentnarrative included.
Verification
esphome configvalid for every touched template's test config and consumers,including a scratch config exercising both non-default ProS3D substitutions.
esphome compilesucceeds for the ProS3D test config. The built sdkconfig confirmsCONFIG_SPIRAM_MODE_QUAD=y,CONFIG_SPIRAM_SPEED_80M=y, andCONFIG_ESPTOOLPY_FLASHSIZE="16MB".Not verifiable without hardware, to be checked on first flash: that
external_antenna_restore_mode: ALWAYS_ONraises rather than lowers RSSI. Theschematic 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.