Skip to main content

🔁 Cloud Relay

Cloud doesn't store device data — it proxies device requests from Mobile to the relevant Station via JSON-RPC over WSS.

Topology

Lifecycle

Primitives

MethodReturnsUse case
peer.call(method, params)Promise<result>Request/response (waits for matching id)
peer.notify(method, params)voidFire-and-forget (no id)

If the Station is offline, peer.call() rejects after timeout — Cloud returns 503 to Mobile.

Reference