Spoolman icon indicating copy to clipboard operation
Spoolman copied to clipboard

Filament changes triggering Spool changes

Open bofh69 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

My client uses websockets to monitor spool changes. The payload contains the spool info, but also filament & manufacturer info. My program uses those updates to update the slicer's filament configuration.

This works well, but I don't get updates to the spools when the filament or manufacturer info is updated. Therefore I also need to have a websocket for those, and I have to store the spools' data in memory so I can update the right spools when a filament or manufacturer is changed.

Describe the solution you'd like It would be nice if it was possible to subscribe in such a way that I would get updates to all the spools using a filament/manufacturer when that is updated.

Describe alternatives you've considered Just subscribing to all three data types, add an in memory model and update it there. It makes the program slightly more complicated though.

Additional context

bofh69 avatar Mar 14 '24 16:03 bofh69