devices(ubiquiti): eleven UniFi consoles no longer draw phantom 802.3af power (refs #130) #2192

Merged
jaylouisw merged 1 commit from catalogue/1119-1822 into main 2026-11-19 18:37:47 +00:00
Owner

Refs #130 (does not close it - the Pro's census is still unpublished).

The defect. isPoePd() in engine/media.js returns true when the model/label contains unifi, so any copper port that declares no power gets poeIn = 12.95 (802.3af). On mains-, USB-C- or DC-jack-powered consoles that is an invented PD load: a UDM read as drawing 25.9 W of PoE, a UDM-Beast 129.5 W, the Dream Wall itself 77.7 W on its six non-PoE ports, 569.8 W across the eleven rows.

The fix. poeIn: false on every copper port that is silent about power - the same edit PR #2118 made to uxg-pro and PR #2121 to the other four UXG members, now applied to the rest of the cloud-gateway family. No PSE port, no poe.budgetW, no capability and no port count changed.

row ports cleared what the vendor says powers it source
udm 5 Universal AC input, 100-240V AC, 0.6A Max.; AC/DC internal 50 W https://dl.ui.com/ds/udm_ds.pdf (200, 747,030 B)
udm-beast 10 Universal AC input, 3A Max.; USP-RPS DC input https://techspecs.ui.com/unifi/cloud-gateways/udm-beast (200, 679,909 B)
udw 6 Universal AC input 100-240V AC, 7A Max. https://techspecs.ui.com/unifi/cloud-gateways/udw (200, 704,702 B)
ucg-fiber 4 DC jack (54V DC/1.1A) https://techspecs.ui.com/unifi/cloud-gateways/ucg-fiber (200, 667,242 B)
ucg-max 5 USB type C (5V DC/5A) https://techspecs.ui.com/unifi/cloud-gateways/ucg-max (200, 668,564 B)
udr 3 Universal AC input, 1.1A Max https://techspecs.ui.com/unifi/cloud-gateways/udr (200, 685,837 B) + https://dl.ui.com/ds/udr_ds.pdf (200, 771,202 B)
udr7 3 Universal AC input, 1.5A Max https://techspecs.ui.com/unifi/cloud-gateways/udr7 (200, 694,590 B)
udr-5g-max 3 DC jack (54V DC/1.1A) https://techspecs.ui.com/unifi/cloud-gateways/udr-5g-max (200, 876,426 B)
ux 2 USB type C (5V DC/3A) https://techspecs.ui.com/unifi/cloud-gateways/ux (200, 670,206 B)
ux7 2 USB type C (5V DC/5A) https://techspecs.ui.com/unifi/cloud-gateways/ux7 (200, 688,360 B)
udm-se 1 (WAN) Universal AC input, 4.4A Max.; USP-RPS DC input https://techspecs.ui.com/unifi/cloud-gateways/udm-se (200, 682,320 B)

The base UDM is cited to its datasheet because its tech-spec page carries no Power Method row at all (a 200 that would have licensed a guess); the datasheet's text layer prints one.

Measured before/after (engine, new Topology().addDevice(spec), ports whose poeIn exists but is not in the spec): 44 inferred PD ports on these 11 rows before, 0 after; catalogue-wide 1,385 -> 1,341. PSE counts unchanged (UDW 12, UDR 2, UDR7 1, UDR-5G-Max 1, UCG-Fiber 1, UDM-SE 8).

Gates. syntax-check 461 OK; audit-port-types clean; audit-devices no hard defects; hardware invariants 26/0; run-tests 382 suites / 12,890 assertions, 0 failed; control-bytes clean; doc-citations clean; registry doc current (2,355 models, 29,710 sockets) - regenerated, no diff.

Still open on #130: the Pro's own census (RJ45/SFP+ counts and rates, PoE class mix and budget, drive bays, WAN/cellular options). Nothing here is modelled from the non-Pro UDW.

Refs #130 (does not close it - the Pro's census is still unpublished). **The defect.** `isPoePd()` in `engine/media.js` returns true when the model/label contains `unifi`, so any copper port that declares no power gets `poeIn = 12.95` (802.3af). On mains-, USB-C- or DC-jack-powered consoles that is an invented PD load: a UDM read as drawing 25.9 W of PoE, a UDM-Beast 129.5 W, the Dream Wall itself 77.7 W on its six non-PoE ports, 569.8 W across the eleven rows. **The fix.** `poeIn: false` on every copper port that is silent about power - the same edit PR #2118 made to `uxg-pro` and PR #2121 to the other four UXG members, now applied to the rest of the cloud-gateway family. No PSE port, no `poe.budgetW`, no capability and no port count changed. | row | ports cleared | what the vendor says powers it | source | |---|---|---|---| | `udm` | 5 | Universal AC input, 100-240V AC, 0.6A Max.; AC/DC internal 50 W | <https://dl.ui.com/ds/udm_ds.pdf> (200, 747,030 B) | | `udm-beast` | 10 | Universal AC input, 3A Max.; USP-RPS DC input | <https://techspecs.ui.com/unifi/cloud-gateways/udm-beast> (200, 679,909 B) | | `udw` | 6 | Universal AC input 100-240V AC, 7A Max. | <https://techspecs.ui.com/unifi/cloud-gateways/udw> (200, 704,702 B) | | `ucg-fiber` | 4 | DC jack (54V DC/1.1A) | <https://techspecs.ui.com/unifi/cloud-gateways/ucg-fiber> (200, 667,242 B) | | `ucg-max` | 5 | USB type C (5V DC/5A) | <https://techspecs.ui.com/unifi/cloud-gateways/ucg-max> (200, 668,564 B) | | `udr` | 3 | Universal AC input, 1.1A Max | <https://techspecs.ui.com/unifi/cloud-gateways/udr> (200, 685,837 B) + <https://dl.ui.com/ds/udr_ds.pdf> (200, 771,202 B) | | `udr7` | 3 | Universal AC input, 1.5A Max | <https://techspecs.ui.com/unifi/cloud-gateways/udr7> (200, 694,590 B) | | `udr-5g-max` | 3 | DC jack (54V DC/1.1A) | <https://techspecs.ui.com/unifi/cloud-gateways/udr-5g-max> (200, 876,426 B) | | `ux` | 2 | USB type C (5V DC/3A) | <https://techspecs.ui.com/unifi/cloud-gateways/ux> (200, 670,206 B) | | `ux7` | 2 | USB type C (5V DC/5A) | <https://techspecs.ui.com/unifi/cloud-gateways/ux7> (200, 688,360 B) | | `udm-se` | 1 (WAN) | Universal AC input, 4.4A Max.; USP-RPS DC input | <https://techspecs.ui.com/unifi/cloud-gateways/udm-se> (200, 682,320 B) | The base **UDM** is cited to its datasheet because its tech-spec page carries no `Power Method` row at all (a 200 that would have licensed a guess); the datasheet's text layer prints one. **Measured before/after** (engine, `new Topology().addDevice(spec)`, ports whose `poeIn` exists but is not in the spec): 44 inferred PD ports on these 11 rows before, 0 after; catalogue-wide 1,385 -> 1,341. PSE counts unchanged (UDW 12, UDR 2, UDR7 1, UDR-5G-Max 1, UCG-Fiber 1, UDM-SE 8). **Gates.** syntax-check 461 OK; audit-port-types clean; audit-devices no hard defects; hardware invariants 26/0; run-tests 382 suites / 12,890 assertions, 0 failed; control-bytes clean; doc-citations clean; registry doc current (2,355 models, 29,710 sockets) - regenerated, no diff. **Still open on #130:** the Pro's own census (RJ45/SFP+ counts and rates, PoE class mix and budget, drive bays, WAN/cellular options). Nothing here is modelled from the non-Pro UDW.
devices(ubiquiti): eleven UniFi consoles no longer draw phantom 802.3af power (refs #130)
All checks were successful
CI / Classify the change (pull_request) Successful in 14s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 11s
CI / Server smoke test (pull_request) Has been skipped
CI / Docker build (pull_request) Has been skipped
CI / Test (Node 22) (pull_request) Successful in 56s
CI / Test (Node 20) (pull_request) Successful in 57s
CI / Test (Node 18) (pull_request) Successful in 1m1s
CI / Arm auto-merge (pull_request) Successful in 4s
3e5ff405af
isPoePd() matches 'unifi' in the model/label, so every copper port that
declared no power got a 12.95 W PD draw. On mains/USB-C/DC-jack consoles
that is 44 invented ports and 569.8 W of load: UDM 5, UDM-Beast 10,
UDW 6, UCG-Fiber 4, UCG-Max 5, UDR 3, UDR7 3, UDR-5G-Max 3, UX 2,
UX7 2, UDM-SE 1. Each now declares poeIn: false, cited to the vendor's
own Power Method row (or the datasheet where the tech-spec page has no
such row, as on the base UDM). Same defect PR #2118/#2121 fixed on the
UXG family. No PSE port, budget or capability changed.
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-19 18:29:50 +00:00
jaylouisw deleted branch catalogue/1119-1822 2026-11-19 18:37:52 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge!2192
No description provided.