So someone's made some code to interface to it, but it's not meant for Espruino so would need some modification.
I can definitely look at getting a module for that APDS-9960 sensor done - if I have one here it shouldn't take too long to get working.
However it seems that for now you could come up with a proof of concept using just the Puck's button?
One thing to be careful about is phones can take ~30 seconds or so to register a broadcast URL - so even if someone swipes, there won't be an instant response on their phone.
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.
It's this one: https://github.com/jiahuang/apds-gesture
So someone's made some code to interface to it, but it's not meant for Espruino so would need some modification.
I can definitely look at getting a module for that APDS-9960 sensor done - if I have one here it shouldn't take too long to get working.
However it seems that for now you could come up with a proof of concept using just the Puck's button?
One thing to be careful about is phones can take ~30 seconds or so to register a broadcast URL - so even if someone swipes, there won't be an instant response on their phone.