Wi-fi linked coffee jar

I think that leaves your only option as using a weight-related sensing setup.