ubiquiti: source the PoE budget 16 switches already quote in prose (#130) #2012
No reviewers
Labels
No labels
blocked-on-build
bug
device
device-request
enhancement
from-github
needs-datasheet
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2012
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "catalogue/1118-1756"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
References #130 (does not close it).
The
audit-poe-budget"prose" cohort - models whose description already quotes a PoE budget whilepoe.budgetWis absent, soshow power inlineprints "budget not modelled" and refuses the arithmetic - was 41 models. Sixteen are Ubiquiti switches whose tech-spec page states one unambiguous figure in Total PoE Availability. Those figures are now fields, each with the page it came from.Every figure was read from the live page today (2026-11-18, crawler UA, HTTP 200) and matches the number the description already quoted - this PR promotes prose to field, it does not change any value. Two markup dialects were needed: the
unifi/switching/*pages publish"value":"95W" ... "label":"Total PoE Availability"in the Next.js payload, theuisp/wired/*pages publish<td class="key">Total available PoE</td><td class="value">110W</td>. A name-based extractor that only understood the first dialect would have reported the three UISP switches and US-XG-6POE as "no budget published"; they are not.Deliberately left silent, because the published budget is a table rather than a number and a single
budgetWwould be a guess:USW-Pro-XG-48-PoE- 1,080 W at 200-240 V AC, 972 W at 100-120 V ACECS-48-PoE,ECS-48S-PoE- 2,150 W shared mode / 950 W redundant modeECS-24S-PoE- 1,050 W shared / 450 W redundantEAV-XG-24-PoE- 2,150 W shared / 1,050 W redundant across two PSU modulesUSW-Flex- 46 W / 20 W / 8 W depending on the PoE inputUSW-Ultra- 42 W / 16 W / 42 W / 52 W / 202 W depending on adapterUDB-Switch- 35 W / 185 W depending on adapterThose eight want a decision about what a single-number field means when the vendor publishes a matrix; they stay in the audit's prose cohort rather than getting a plausible maximum.
Effect:
node scripts/audit-poe-budget.jssilent 130 -> 114, prose cohort 41 -> 25, orphan 0.show power inlinenow has a budget for these sixteen instead of printing "budget not modelled".Gates:
syntax-check.js419 files OK;audit-port-types.js"No port contradicts its declared type";test/hardware-invariants.test.js26 passed / 0 failed;test/poe.test.js18 passed / 0 failed;check-control-bytes.jsclean;regen-registry-doc.js --checkcurrent (2,357 models, 258 vendors);test/request-queue.test.js32/0;test/apply-research.test.js10/0.The poe-budget audit lists 41 models whose description already quotes a budget while `poe.budgetW` is absent, so the engine reports the PSE ports and refuses the arithmetic ("budget not modelled"). Sixteen are Ubiquiti switches whose tech-spec page carries an unambiguous "Total PoE Availability" figure; those figures are now fields, each with the page it came from. Left silent on purpose: the switches whose published budget is a table, not a number (input-voltage or PSU-mode dependent) - EAV-XG-24-PoE, ECS-24S-PoE, ECS-48-PoE, ECS-48S-PoE, USW-Pro-XG-48-PoE, USW-Flex, USW-Ultra, UDB-Switch.e86830c0628d8d1340f38d8d1340f381e9dcff8a