Generates gateway JSON and QR locally. WebSocket test is gated and requires explicit confirmation. Use localhost.html (not index.html) to disable the websocket support.
Security notice: The token you enter will be embedded in the QR and JSON. Do not share screenshots or the QR publicly. The WebSocket test will send the token only after explicit confirmations.