I'm not sure why half of sensors use i2c, which is well supported by NR and half use SPI which appears to be unsupported, but there it is.
Meanwhile the TC board I got is based on the Max31855, for which there exists a NodeJS library called:
Thermocouplelib-max31855
Which can be installed using NPM. I'm not sure this library, which was written for the Tessel board (Sam processor) will work in my case (on Raspberry Pi 2 and Zero but it seems worth a try.
I'll post the exact attempts and errors I'm getting but basically I can't figure if I'm using the right syntax for setting a node module in the global settings, then if I'm calling it right and then how to troubleshoot what's going wrong.
Anyone else use any other approaches for controlling SPI sensors on raspi?
If be very surprised if the tessel code just works on a pi....
I think you'd be better off starting with some SPI code for pi, and building on that. Eg http://git.drogon.net/?p=wiringPi;a=blob;f=examples/max31855.c;h=2060a5592cfb9e9d102c9648f5297c55bb11d07b;hb=f6c40cb2a69a43de97903c9fdd6f24a4f32f8eae
And then either call that via an exec node, or start to wrap that into a node file.