YipiiYipii IoT Docs

Live Tracking Demo

Interactive sandbox simulating the WebSocket connection flow for real-time vehicle tracking

Share

This interactive demo simulates the full WebSocket connection flow for live vehicle tracking. No real data or connections are used — everything is mocked locally in your browser.

The demo walks through the 4-step connection lifecycle:

  1. Connect to the WebSocket server (wss://ws-live.yipii.io)
  2. Authenticate via the broadcasting auth endpoint
  3. Subscribe to a private channel
  4. Receive real-time location events
Disconnected
0 events

Connection Flow

1. Connect

2. Authenticate

3. Subscribe

4. Receive Events

Event Log

No events yet. Start the demo to see live updates.

Live Position

Valletta, Malta

What You're Seeing

  • Connection Flow (left panel) — Each step shows the actual Pusher protocol messages exchanged
  • Event Log (right panel) — Raw events as they would arrive from the server
  • Live Position (bottom) — SVG visualization of the vehicle moving through Valletta, Malta

Implementing This in Your App

The demo simulates what happens when you connect using the Pusher JS client. See the Live Tracking & WebSocket guide for full implementation details, including:

  • Authenticated fleet tracking (OAuth2 Bearer token)
  • Public tracking links (session-based auth)
  • Mobile SDKs (Swift, Kotlin)
  • Security, scaling, and reconnection patterns

Key Differences from Production

DemoProduction
Mocked data, local timersReal GPS data from trackers
Fixed 2-second intervalsVariable intervals (10-30s moving, 60s idle)
Single vehicle, 8 waypointsMultiple assets, continuous stream
No authenticationOAuth2 or session token required

Was this page helpful?

On this page

Live Tracking Demo | Yipii IoT Docs