At this level
ai.newnal.illi.device ยท 5- ai.newnal.illi.device.getState query Everything the device needs to render: status, onboarding code while waiting, home, parents, members, pending requests and the acknowledged event cursor.
- ai.newnal.illi.device.link procedure The caller enters the device's onboarding code and becomes the root admin: creates the home and the family sphere on the caller's PDN with parent 1 and the caller as first members.
- ai.newnal.illi.device.reportStatus procedure Device heartbeat (every 60 s): updates lastSeenAt, the online flag and the OS image version (firmwareVersion).
- ai.newnal.illi.device.requestOnboardingCode procedure Register the device (device id, model) under parent 1's device-app session and issue a one-time onboarding code shown on the device.
- ai.newnal.illi.device.unlink procedure Unlink the home's device (root admin). The home keeps its data; the device shows set-up again.