Use WWBOTA Server-Sent Events API for spots #58

Merged
kwirk merged 1 commit from wwbota_sse into master 2025-07-23 20:22:57 +00:00
kwirk commented 2025-07-22 19:21:58 +00:00 (Migrated from github.com)

This uses SSE for receiving spots from the WWBOTA API, meaning low latency of spots and reducing bandwidth.

With SSE, each spot is sent as a event in same format as standard API, rather than a list of spots. Debounce is used to avoid multiple map updates on intial connection when last 2 hours of spots are sent.

This uses SSE for receiving spots from the WWBOTA API, meaning low latency of spots and reducing bandwidth. With SSE, each spot is sent as a event in same format as standard API, rather than a list of spots. Debounce is used to avoid multiple map updates on intial connection when last 2 hours of spots are sent.
ianrenton commented 2025-07-23 20:23:01 +00:00 (Migrated from github.com)

Looks good, thanks! I wasn't expecting to be able to test this in the evenings this week but luckily we had a late night bunker activator today 😆

Looks good, thanks! I wasn't expecting to be able to test this in the evenings this week but luckily we had a late night bunker activator today 😆
Sign in to join this conversation.
No description provided.