Monitor remaining water bottles with ESPHome and Home Assistant
After we ran out of sparkling water twice in a row, I decided to do something against that. The plan is to receive a notification when there are only three bottles left:
Ideas
I need a way to sense how many bottles are left. Here are some ideas I had:
- putting a light sensor under each bottle in the box
- put a scale under the crate
- use a camera and a neural network to do some object detection
I don't know enough about neural networks and object detection, but I think this would be rather complicated and overpowered for what I want to achieve. It may be really hard to distinguish full bottles of water from empty ones, even I lift them slightly to check if they are full or empty. It could work for colored beverages though.
Using light sensors for each bottle is still an idea I want to check out in the future, as this solves the weight problem I'll go into in the next section.