Html Websocket Sensor

HTML / CSS / JS Open Kit Simulator ↗ All recipes
Tip: Ctrl+↵ to run
Live preview in a sandboxed iframe. Click Render preview to see the page rendered. JavaScript runs in a strict sandbox — fetch() to external sites may be blocked. For a dashboard talking to your Pi, click Open in new tab after editing.

About this recipe

log{background:#1e293b;padding:14px;border-radius:10px;max-height:60vh;overflow:auto;

Libraries / imports

No imports detected

Hardware / pins

No physical pins or components referenced

Key API calls

document.getElementById() WebSocket() setInterval()

How to run

Press Render preview — renders live in a sandboxed iframe with mocked /api/*.
Editor html edits auto-save
Output ready
Output will appear here after you click Run.