The Internet of Things is a lot more than just appliances that Tweet and send emails - at least twenty-five more things than that, if you're curious - but there's a reason some people call it "Internet of Everything" instead. At some point, it really will include everything, right down to the cup in your hand.
So, naturally, now there is Vessyl.
Vessyl is a sensor-laden beverage container that aims to help drinkers keep track of their liquid input, lose weight, monitor sugar, and things of that nature. According to Vessyl's FAQ, it can analyze its contents down the molecular level and report on calories or even the brand, assuming the liquid is recognizably unique to a brand. Unfortunately, if your frequently-asked-question is how this is done, you're out of luck:
While we don't get into the specifics of how the technology works, we can tell you that there are sensors built in throughout the entire Vessyl. These are in the same realm of technology as quality control in the food industry.
For a look at Vessyl and some input from a variety of industry folks, take a look at this promo:
If you only drink water, though, I'm not quite sure what you'd be doing with one of these. Just a thought.