Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Adding websockets to the core script#232

Open
bocklucas wants to merge 1 commit intorhasspy:masterfrom
bocklucas:ft-add-websockets-to-core
Open

Adding websockets to the core script#232
bocklucas wants to merge 1 commit intorhasspy:masterfrom
bocklucas:ft-add-websockets-to-core

Conversation

@bocklucas
Copy link

Ft Add Websockets to Core Script

Changes

  • Added websocket publishing of events to the core script. By default websockets are not enabled
  • Added 3 additional optional args to the __main__.py file
    • websocket-host, default="localhost"
    • websocket-port, default=8675
    • enable-event-websockets, default=False

QA

  • Run the updated section in the README to verify the above changes
  • Run other sections to ensure nothing broke and that the server will function without the websockets being enabled

@bocklucas
Copy link
Author

CC @synesthesiam

@florian-asche
Copy link

what are you using the websocket for?

@bocklucas
Copy link
Author

@florian-asche great question, I was wanting to create a webpage that could be visited that would subscribe to events and react, say display images or render a 3d model, or really anything, as long as you're listening to satellite events

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants