Websocket Endpoint /api/v1/websocket
pwood opened this issue · comments
In order to support real time updates in a UI, we want a websocket to provide realtime updates to the state of Zones and Devices.
This will also need events for ZoneCreate, ZoneDestroy, ZoneMove, as well as DeviceAddedToZone, DeviceRemovedFromZone - these do not currently exist. DeviceAdded, DeviceRemoved, DeviceLoaded are also needed (does DeviceLoaded need to be sepearate from DeviceAdded?).
The majority of this is done in the MQTT interface, but does not have anything to do with Metadata updates or Zone moves.
Progress
- Initial messages work has been done.
- Device Organiser metadata changes.
- Mapping Events
- Major Refactor (websocket/mqtt commonalities)