Need to add "defines": ["ADAFRUIT_RGBMATRIX_HAT"] to node_modules/node-rpi-rgb-led-matrix/binding.gyp then recompile with node-gyp build