← dev index

Realtime channels (Centrifugo)

Subscribes to drone:<id> (telemetry), device:<id> (telemetry link), stream:<id> (video status) and crowd:<id>. Data older than 10 s is marked stale. Start the simulator with make sim; it sends DJI Cloud API messages through the MQTT broker.

ws connecting

drone-01

unknownlink unknown0 msgs
Telemetry no data
seq
–
link
–
lat
–
lng
–
alt tkof
–
alt agl
–
heading
–
speed
–
battery
–
mode
–
source
–
updated
–
Crowd no datatotal –
zonecountp/m²level

drone-02

unknownlink unknown0 msgs
Telemetry no data
seq
–
link
–
lat
–
lng
–
alt tkof
–
alt agl
–
heading
–
speed
–
battery
–
mode
–
source
–
updated
–
Crowd no datatotal –
zonecountp/m²level
…