Skip to content

Adding WebSocket Controller #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ngoerlitz
Copy link

@ngoerlitz ngoerlitz commented Aug 17, 2025

This PR introduces a WebSocket controller as well as a React-based frontend which was made as part of a seminar at the DOS-group.

The WebSocket controller follows the same structure as other logging controllers from within Vessim, allowing for a drop in replacement. Messages are sent on tcp/0.0.0.0:5000 via the Socket.IO protocol to all subscribed clients, including the entire grid as well as time, p_delta and e_delta which are serialized into a json structure.

The frontend client is a React-application displaying all available information in real-time via the aforementioned Socket.IO connection.

vessim_dashboard

TODO:

  • Fix imports from the pyproject.toml
  • Add comments to the WebSocket controller

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.

1 participant