Add a sensor scale factor in the settings page.
Add scale factor column in database script.
Add scale factor calculation in data input script.
Add a lower limit to sensor.