natevw / node-nrf

Pure-JavaScript nRF24L01 driver library
117 stars 31 forks source link

Maybe make it support Node Red? #21

Open SShadowS opened 10 years ago

SShadowS commented 10 years ago

Would you mind making it Node Red friendly?

natevw commented 10 years ago

AFAICT, this would mostly entail abstracting out the hardware level so that it could use the Node Red libraries too? That's one of my top priorities for this library as I think it will ease Tessel support too. Unfortunately I'm behind on maintaining this library but still hoping to get to everything needed in the next release "soon" :-/

catharsis79 commented 10 years ago

+1 for node-red compliance!

natevw commented 9 years ago

I am still unfamiliar with Node Red. Could one of you share what this would involve? Is this more of a packaging thing, or a backend hardware interface thing? AFAICT, node-red doesn't really provide it's own hardware APIs, but I could be wrong?

I found http://nodered.org/docs/creating-nodes/ and that makes it seem like this mostly needs some sort of UI and some packaging, while still using the same Linux SPI/GPIOs drivers it is now?

SShadowS commented 9 years ago

That is the "only" thing that is needed. It is actually just a way go make quick prototyping with Node.js. So think of it as a graphical overlay of node.js. I can provide you of a Node-red interface you can try.

natevw commented 9 years ago

Ok. I wonder if this could really be done as a separate repo/project, i.e. a Node Red UI wrapper around this library?

SShadowS commented 9 years ago

You can, as you can se here f.ex.: https://www.npmjs.com/package/node-red-dht-sensor which is just a wrapper for https://www.npmjs.com/package/node-dht-sensor

2015-02-17 18:08 GMT+01:00 Nathan Vander Wilt notifications@github.com:

Ok. I wonder if this could really be done as a separate repo/project, i.e. a Node Red UI wrapper around this library?

— Reply to this email directly or view it on GitHub https://github.com/natevw/node-nrf/issues/21#issuecomment-74705824.