open-horizon-services / service-liquid-prep

3 stars 4 forks source link

Add auto calibrate firmware version to web tool #23

Closed playground closed 1 year ago

playground commented 1 year ago

Create a subfolder(something like firmwares/ble-calibrate and add an entry to the dropdown) for this version of firmware in web tool ui.

The bin files are attached or you can build them from the repo.

There are two methods of calibration, one from the serial monitor and one from the webpage. 1) The serial monitor method is sending the message "calibrate" and it puts the ESP into calibration mode where you keep it out of water for 15 seconds, then put it in water for 15 seconds.

2) In the webpage, there is a calibration tab which has two buttons, one to dry value and one to calibrate wet value. Calibrating from the serial monitor doesn't require the user to configure the ESP for a network

We will add this feature to LP app so calibration can be done from the app for all the sensors

playground commented 1 year ago

Done.