-
Notifications
You must be signed in to change notification settings - Fork 0
Description
tap into the stream like is done in https://github.com/mLamneck/SDDS_minimalBrowser/blob/main/src/system/ParticleConnector.ts
this makes it possible to still catch the stream and forward to a database/googlesheet at the same time (and then the app pulls from there first and always has the last dataset available and only if you hit load will you get new data and only if the data doesn't match the datastructure code that's cached you pull a new structure).
upsides: everything goes through publish and is CBOR compressed
downsides: the method we designed to submit infinite data (with the channel messages) does not work in this so even with evendata we're limited to 16kb large structure but even that should cover a lot of ground (and we can still think about a way to split up a structure the way we do with the channel variables, just something the webhook has to be able to dealwith somehow - maybe postprocessing after it's in the database?)