0x7231636b / drink-smart

Project for a smart scale mainly designed to keep track of drinking volume during the day
GNU General Public License v3.0
0 stars 0 forks source link

Implemented a drink detection class #1

Closed 0x7231636b closed 7 months ago

0x7231636b commented 7 months ago

The class is capable of handling the whole drink detection stuff and able to pass the measured differences to a callback.

There is a state handling build in to the thread of the class to handle all use cases such as drinking, putting the cup back without drinking and even refilling.

With these detections, the scale could be used the whole day without handling any states where we have to take care of.