You are most definitely not the only one However, you appear to already know more than I do
… Is that the entire script you posted?? It seems a bit too… simple? No libraries, or whatever the equivalent is in Javascript?
As for running the same scanning code without Blynk, what do you mean, using something else besides Javascript?