Faceplates: USW Pro Max 24 PoE and 48 PoE #29

Merged
jared merged 1 commits from pro-max-faceplates into main 2026-11-11 00:45:50 -05:00
Owner

Why

The recabling moves to a USW Pro Max 24 PoE or 48 PoE. Either one should show live ports and cutsheet marks on the device page and the rack from the moment it's adopted.

What changes

Both faceplates are laid out from the CC0 NetBox devicetype-library front images, with jack centres measured from those images. Port counts and speeds match the NetBox device type definitions.

  • Pro Max 24 PoE (USPM24P): one row of 24 RJ45 ports in groups of 8, with 17-24 at 2.5G, plus SFP+ ports 25 and 26.
  • Pro Max 48 PoE (USPM48P): two rows with odd-numbered ports on top, in groups of 16, with 33-48 at 2.5G, plus SFP+ ports 49-52 in a 2x2 block.
  • Speed bars: both get the "2.5G" and "10G" bars UniFi prints under the faster ports (new fpSpeedBar).
  • Labels: both read "USW Pro Max" with the PoE mark, the same as the other switches.
  • Model code aliases: USPM24 and USPM48 point at the same drawings. If UniFi reports a model code I haven't mapped, it is a one-line alias at the end of faceplates.js.
  • Front drawing options for both, so the new switch draws on the rack before it's adopted. Once it's linked to the live device, its ports go live.

Testing

  • Faceplate check: I rendered both, 26 and 52 ports, and stacked each over its reference image. Port positions, groups, cages and bars line up. Jacks are dark like Gandalf's other faceplates.
  • Automated: 367 tests pass, and the drawing-options test covers the new choices.
  • Lint: flake8 is clean and ESLint reports 0 errors.
  • Dashes: the project has no em or en dashes.

Each screenshot shows the drawing on top and the reference below.

Pro Max 24 PoE

Pro Max 48 PoE

🤖 Generated with Claude Code

## Why The recabling moves to a USW Pro Max 24 PoE or 48 PoE. Either one should show live ports and cutsheet marks on the device page and the rack from the moment it's adopted. ## What changes Both faceplates are laid out from the CC0 NetBox devicetype-library front images, with jack centres measured from those images. Port counts and speeds match the NetBox device type definitions. - **Pro Max 24 PoE** (`USPM24P`): one row of 24 RJ45 ports in groups of 8, with 17-24 at 2.5G, plus SFP+ ports 25 and 26. - **Pro Max 48 PoE** (`USPM48P`): two rows with odd-numbered ports on top, in groups of 16, with 33-48 at 2.5G, plus SFP+ ports 49-52 in a 2x2 block. - **Speed bars:** both get the "2.5G" and "10G" bars UniFi prints under the faster ports (new `fpSpeedBar`). - **Labels:** both read "**USW** Pro Max" with the PoE mark, the same as the other switches. - **Model code aliases:** `USPM24` and `USPM48` point at the same drawings. If UniFi reports a model code I haven't mapped, it is a one-line alias at the end of `faceplates.js`. - **Front drawing options** for both, so the new switch draws on the rack before it's adopted. Once it's linked to the live device, its ports go live. ## Testing - **Faceplate check:** I rendered both, 26 and 52 ports, and stacked each over its reference image. Port positions, groups, cages and bars line up. Jacks are dark like Gandalf's other faceplates. - **Automated:** 367 tests pass, and the drawing-options test covers the new choices. - **Lint:** flake8 is clean and ESLint reports 0 errors. - **Dashes:** the project has no em or en dashes. Each screenshot shows the drawing on top and the reference below. ![Pro Max 24 PoE](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-29-screenshots/1-pro-max-24.png) ![Pro Max 48 PoE](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-29-screenshots/2-pro-max-48.png) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-11 00:01:30 -05:00
Faceplates: USW Pro Max 24 PoE and 48 PoE
Lint / JS (eslint) (push) Successful in 12s
Lint / Python (flake8) (push) Successful in 1m10s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Security / Python Security (bandit) (push) Successful in 1m11s
Test / Python Tests (pytest) (push) Successful in 1m42s
Lint / Python (flake8) (pull_request) Successful in 2m28s
Lint / JS (eslint) (pull_request) Successful in 14s
Lint / Notify on failure (pull_request) Skipped
Lint / Deploy (pull_request) Skipped
Security / Python Security (bandit) (pull_request) Successful in 1m10s
Test / Python Tests (pytest) (pull_request) Successful in 1m16s
ce12dede5f
Both laid out from the CC0 NetBox devicetype-library images, with jack
centres measured from them: the 24 has one row of 24 RJ45 in groups of 8
(17-24 at 2.5G) and 2 SFP+; the 48 has two rows, odd ports on top, in
groups of 16 (33-48 at 2.5G) and 4 SFP+ (49-52). The "2.5G" and "10G" bars
under the faster ports are drawn too (fpSpeedBar).

Registered as USPM24P/USPM48P with USPM24/USPM48 aliases, and as Front
drawing options so the new switch draws on the rack before it is adopted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 90e051dc22 into main 2026-11-11 00:45:50 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/gandalf#29