an implementation for standard firmata is [here](https://github.com/ajfisher/node-pixel/tree/master/firmware/build/node_pixel_firmata) based on Adafruit_NeoPixel lib. As alternative, [FastLED](https://github.com/FastLED/FastLED) also supports ws2812 leds. Related: https://github.com/firmata/arduino/issues/167