Separate by the name - whether it starts with Puck.js
Separate by the UART UUID so only serial devices like Espruinos show up - although this can fail in high-traffic areas as the UUID is stored in a scan response packet
Add your own UUID (or the manufacturer code 0x590 that's registered for Espruino) to each Espruino you care about, and filter off of that.
The Web IDE uses a combination of the first two (because the second isn't reliable enough).
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.
You can do it a few ways:
Puck.js
The Web IDE uses a combination of the first two (because the second isn't reliable enough).
Hope that helps!