gigafibre-fsm/services/targo-hub/scripts
louispaulb 60d3f73623 feat(ops): wireless backfill + signal interval coloring + device/AP links
Backfill (scripts/backfill-wireless-equip.js): mirror F wireless CPEs
(airos_ac/airosm/cambium) into OPS Service Equipment, resolving customer +
service_location via device→service→delivery_id→Service Location(legacy_delivery_id),
dedup by MAC-or-IP, serial=MAC when F sn is null, undo manifest. Park was already
~99% synced — created the 2 genuinely-missing (incl. James A. Bryson) + flagged
devices without service/MAC. Verified: Bryson EQP-0000100001 → live LiteBeam 5AC
signal -74/-72, airMAX 93/67.

Signal interval coloring (F parity): wifiSigColor (airOS: >=-60 green … <-78 red)
and fibreRxColor (Rx -8..-25 green, -25..-28 orange, else red) color the live
signal tiles (wireless + fibre). Assistant analysis (check_signal advice) kept.

Device + AP links in service details: CPE management GUI link (Interface →
https://ip) in the wireless panel; AP link when its mgmt IP resolves (ops_airos.php
resolves the AP by radio MAC in F's device table, best-effort → apIp/ap_ip), else
shows the AP MAC. Hub normalizeAiros passes apIp through.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 18:38:33 -04:00
..
templates-spec fix(campaigns/templates): center logos via nested-table pattern 2026-06-01 18:45:30 -04:00
ai-convert-to-native.js feat(campaigns/templates): Gemini-powered HTML→native converter 2026-06-01 18:29:15 -04:00
backfill-wireless-equip.js feat(ops): wireless backfill + signal interval coloring + device/AP links 2026-07-20 18:38:33 -04:00
build-native-template.js fix(campaigns/templates): center logos via nested-table pattern 2026-06-01 18:45:30 -04:00
convert-html-to-unlayer.js feat(campaigns): convert existing HTML templates to Unlayer JSON designs 2026-05-22 06:22:47 -04:00
gen-rating-invite-templates.js feat(ops+hub): sender picker, per-user notifs, editable rating emails, planif & tickets UX 2026-06-16 22:41:51 -04:00