-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add Server Sent Events (SSE) #73
Comments
We have a discussion going on (#77) talking about implementing some keypads. How solid is the SSE decision that that's the route this will probably be going? |
@jberry We have not invested any time in testing it yet, my only concern with it is whether or not the volume controls will feel really responsive with SSE, if they don't we might have to use websockets. This is something we should know in the next couple of weeks when we do a second pass on the webapp. |
We are prototyping SSE by using it for updates, it's been pretty easy to work with so far. |
Something to think about, we will probably need to add some sort of granular change support on the python side of things to avoid sending the full JSON state every time something is updated. |
Some initial work was done in #254 on branch https://github.com/micro-nova/AmpliPi/tree/add_sse |
SSE will allow notification on change events to be sent when the system state is modified. The idea is that a client registers to receive types of change events and is alerted when they happen. This will be useful for enhancing our webapp and should be useful for many different types of home automation integration.
The text was updated successfully, but these errors were encountered: