Module Tester (runs inside the iframe)

These buttons call SDK APIs that postMessage the host (and sometimes call Formant APIs). Watch the browser console and host logs.

Group context

Reads overview_devices sent by the host via postMessage. No auth required. Also tries to “upgrade” to full Device[] if auth is available.
Calls Fleet.getCurrentGroup() (reads ?group= from the iframe URL and queries Formant). Requires real auth.

Host / module protocol (postMessage)

Sends request_module_data; host replies with module_data (streams for all devices).
Sends show_message to the host (visible in the host logs / product UI).
Sends refresh_auth_token; host replies with auth_token.
Sends send_channel_data and listens for echoed channel_data.

Navigation (host-handled)

Sends go_to_time to the host (timeline navigation).
Sends go_to_device with a demo device id.

API calls (require auth)

Calls Fleet.getOnlineDevices(). Requires real auth.