Firmata-compatible Spark device API