Skip to content

Conversation

@Timothy-Gonzalez
Copy link
Collaborator

@Timothy-Gonzalez Timothy-Gonzalez commented Sep 19, 2025

  • Adds websocket support to core app
  • Adds /dashboard service
    • ws /dashboard lets displays connect to the api
      • We ping these displays periodically for metadata and to verify they are alive
      • If displays miss pings for enough time, we time out and disconnect them
    • GET /dashboard returns the data for those connected displays
    • POST /dashboard/identify and POST /dashboard/identify/:id send a identify message to all or a specific display
    • POST /dashboard/reload and POST /dashboard/reload/:id send a reload message to all or a specific display
    • POST /dashboard/message and POST /dashboard/message/:id send a message to all or a specific display
  • Add test websocket with promise hooks
  • Add tests - we use port 4000 for the websocket server, in the future we might find a better solution to allow parallel testing

@Timothy-Gonzalez Timothy-Gonzalez marked this pull request as ready for review September 19, 2025 23:36
@Timothy-Gonzalez Timothy-Gonzalez merged commit da56f72 into main Sep 20, 2025
5 checks passed
@Timothy-Gonzalez Timothy-Gonzalez deleted the add-dashboard-service branch September 20, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants