Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.02k stars 392 forks source link

data_store: allow users to specify extra fields to track #839

Open SanaaHamel opened 2 months ago

SanaaHamel commented 2 months ago

Allow users to specify additional sensor fields to track in the data-store. Use case: Provide history support for sensors, e.g. humidity/pressure/gas.

Arksine commented 2 months ago

Thanks. I'm leery of configurable options here, as it could make the API unpredictable and cause problems for frontends. We could potentially add direct support for some of these items like humidity, pressure, etc. An alternative would be to track configurable items in a second structure and report them in a different endpoint.