code wiki / (root) / nx_ac_monitor_page.nx

nx_ac_monitor_page.nx

buildroot/runtime/nx_ac_monitor_page.nx

10545 B200 linesdepth 4pulls 8 transitivereach 2 importersview sourcekind librarytopic ac
docsdependenciesstructsconstsfunctions

about

nx_ac_monitor_page.nx -- emit the HUBLESS, browser-first AC monitoring dashboard: ZERO-JS, responsive (mobile + desktop), server-rendered. Operator: "hubless and work from the browser on mobile and non-mobile." The answer is the same no-JS doctrine the IoT control page proved: a self- contained HTML+CSS page (viewport meta + auto-fit CSS grid = phone and desktop, nothing to install, renders identically in the Nishi browser and Chrome/Firefox/Edge/Safari). HUBLESS = the page + the monitoring brain (nx_ac_monitor) are a portable organ that can run on the sensor node, the NAS, or be served from anywhere on the LAN -- no mandatory central hub, no cloud at runtime. The TRUST verdict (liar-killer) is shown on every card, so the reading you see is one you can trust -- or is clearly flagged UNVERIFIED. Renders a MonitorResult (nx_ac_monitor) per unit into a caller buffer. NEVER-BRICK #26: read-only display; emits no device command, no firmware. license_tier: ORIGINAL genealogy_id: project-iot-discovery-pairing-revival-2026-06-22 (nx_iot_control_page) + project-hvac-efficiency-sclass-2026-06-23 (R5 live UI)

dependencies 2 imports · 2 importers

nx_syscalls.nx nx_ac_monitor.nx nx_ac_monitor_page.nx nx_ac_monitor_demo.nx nx_ac_monitor_page_gate.nx

imports: nx_syscalls.nxnx_ac_monitor.nx

imported by: nx_ac_monitor_demo.nxnx_ac_monitor_page_gate.nx

structs

none

consts

23const MP_CAP: i64 = 262144

functions

25func mp_cat(dst: *u8, off: i64, s: *u8) -> i64
31func mp_catn(dst: *u8, off: i64, v: i64) -> i64
called by 2: mp_cat_copmp_card calls 1: sys_mmap
44func mp_cat_cop(dst: *u8, off: i64, cop_x100: i64) -> i64
called by 1: mp_card calls 2: mp_catmp_catn
56func mp_find(buf: *u8, len: i64, pat: *u8, pat_len: i64) -> i64
called by 1: has
75func mp_head(h: *u8, off: i64) -> i64
called by 2: mainmp_page calls 1: mp_cat
97func mp_badge(h: *u8, off: i64, lvl: i64) -> i64
called by 1: mp_card calls 1: mp_cat
110func mp_message(h: *u8, off: i64, res: *MonitorResult) -> i64
called by 1: mp_card calls 1: mp_cat
153func mp_trust(h: *u8, off: i64, res: *MonitorResult) -> i64
called by 1: mp_card calls 1: mp_cat
167func mp_card(h: *u8, off: i64, name: *u8, res: *MonitorResult) -> i64
187func mp_foot(h: *u8, off: i64) -> i64
called by 2: mainmp_page calls 1: mp_cat
194func mp_page(h: *u8, name: *u8, res: *MonitorResult) -> i64
called by 1: main calls 3: mp_headmp_cardmp_foot