msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

Only allow log interval to be set when initialising sensor #235

Open adamdewey opened 1 year ago

adamdewey commented 1 year ago

Is your feature request related to a problem? Please describe. Blue Maestro sensors have a built-in command that deletes all temperature logs if the logging interval is changed.

To reduce the risk of data loss we would like to prevent the user from inadvertently triggering this delete command.

To do this we will restrict the UI so that the user can only set the logging interval when they initialise the sensor.

Once connected the user should not be able to change the logging interval.

If they want to change the logging interval they must disconnect the sensor and reconnect again.

Note: this is low priority as it is an uncommon use case for the user to change the logging interval.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.