PySpectrometer icon indicating copy to clipboard operation
PySpectrometer copied to clipboard

API feature request

Open osenbruggen opened this issue 3 years ago • 4 comments

I have to do a lot of color measurements on different RGBW led strips. It would be awesome to automate this process. It would be great if I could trigger a measurement externally with maybe a TCP of HTTP(S) command and get the measurements back as JSON (or some other format like comma delimited CSV like). Would you please consider this?

osenbruggen avatar Nov 26 '21 09:11 osenbruggen

You mean like an open socket spewing the data live?

leswright1977 avatar Sep 25 '22 22:09 leswright1977

Yes that would be nice :)

osenbruggen avatar Sep 26 '22 07:09 osenbruggen

Is this feature request about streaming data (lets say include a producer serving one capture per second) or snapshots on demand (to get what the sensor is capturing)?

I've been thinking about adding a simple and lightweight kafka producer recently.

marcosdotps avatar Oct 29 '22 08:10 marcosdotps

Well I would like to do some automated measurements. I work in the led lighting industry. We want to measure led strip colors. So I would run an automated script cycling through different colors, capture the measurement and save them in a file to compare the different led strip outputs. So either a continues stream of the option to trigger a measurement would both be fine.

osenbruggen avatar Nov 01 '22 09:11 osenbruggen