Yes, that sounds like it would work perfectly! I did a demo of Puck.js with a magnet on a ping-pong ball as a float, and it broadcast as an Eddystone beacon only when the water had reached a certain level.
Only thing I'd say if you would want to ensure that the magnet on the float actually floated close to Puck.js - if it was right over the other side of the water cooler it might be harder to detect...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, that sounds like it would work perfectly! I did a demo of Puck.js with a magnet on a ping-pong ball as a float, and it broadcast as an Eddystone beacon only when the water had reached a certain level.
Only thing I'd say if you would want to ensure that the magnet on the float actually floated close to Puck.js - if it was right over the other side of the water cooler it might be harder to detect...