Sensor Replacement for Wiimote

I’m a college teacher. I used to use Wiimotes as sensors in my physical computing class. Since our students have a web background, we decided to move to Node.js/JavaScript as our environment of choice.

The problem is that I cannot find a Node module or JavaScript library that will let me gather data from the Wiimote (at least not on Windows). And, the Wiimote does not work with the GamePad API either.

So, I’m looking for some sort of sensor that would behave similarly to the Wiimote. I know accelerometer/compass/gyroscopes exist but I’m looking for some sort of aim sensor. What’s nice about the Wiimote is that it reports its own position relative to the position of infrared lights in front of it (a.k.a. sensor bar). This means that it can act as a position sensor for anything that emits infrared light (which is the way we were using it).

Any ideas for the knowledgeable folks here? TIA.