nx_ac_monitor_page.nx
buildroot/runtime/nx_ac_monitor_page.nx
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
imports: nx_syscalls.nxnx_ac_monitor.nx
imported by: nx_ac_monitor_demo.nxnx_ac_monitor_page_gate.nx
structs
| none |
consts
| 23 | const MP_CAP: i64 = 262144 |
functions
| 25 | func mp_cat(dst: *u8, off: i64, s: *u8) -> i64 |
| 31 | func mp_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 44 | func mp_cat_cop(dst: *u8, off: i64, cop_x100: i64) -> i64 |
| 56 | func mp_find(buf: *u8, len: i64, pat: *u8, pat_len: i64) -> i64 called by 1: has |
| 75 | func mp_head(h: *u8, off: i64) -> i64 |
| 97 | func mp_badge(h: *u8, off: i64, lvl: i64) -> i64 |
| 110 | func mp_message(h: *u8, off: i64, res: *MonitorResult) -> i64 |
| 153 | func mp_trust(h: *u8, off: i64, res: *MonitorResult) -> i64 |
| 167 | func mp_card(h: *u8, off: i64, name: *u8, res: *MonitorResult) -> i64 |
| 187 | func mp_foot(h: *u8, off: i64) -> i64 |
| 194 | func mp_page(h: *u8, name: *u8, res: *MonitorResult) -> i64 |