Is it possible to use Espruino to scan/detect NFC tags?
Yes, Espruino’s NFC functions work on RuuviTag.
Edit: RuuviTag cannot act as a reader, so you’ll need a NFC reader (phone, for example) to read the tags.
How do I access the NFC library? The following code does not work
var Ruuvitag = require("Ruuvitag");
Do I need to require any other library/class?
Maybe you need to call some start() -function?
Hi, thanks for your reply.
I managed to get it working with the same code as my first post. It was just that I had to hold my phones NFC antenna (a Oneplus 5) about one centimeter from the ruuvis NFC antenna. At first I wasn’t sure where my phones antenna was.