ws global is your script’s access to the realtime channel — the same
channel devices use.
Platform-routed messaging
Use these for normal device communication. The platform routes by target ID.Connecting to your own server
For advanced cases, a script can open a connection to your own external WebSocket server (not the platform’s). Pass the URL you control:Next: storage
Persist small values on the client.

