Access RevPi DIO in node-red
Posted: 12 Nov 2019, 01:50
I bought the RevPi and DIO module, planning to run node-red for my project. But there is no ready-to-use node-red module for the DIO(which the local seller told me that the RevPi has). So I write my old custom node. The node will work similarly to raspberry GPIO node with some addition config options.
You can get the node from: https://github.com/ChipTechno/node-red- ... -pi-bridge
I tested the module in node-red v1.0.2 and nodejs v11.15.0 LTS(FFI is not supported in node v12 yet, you won't able to install the module with nodejs v12). To install, just run the install.sh file. I will push the module to npm repo after doing some more testing.
I hope this will be helpful for your guys' project too.
Any suggestions are welcome.
You can get the node from: https://github.com/ChipTechno/node-red- ... -pi-bridge
I tested the module in node-red v1.0.2 and nodejs v11.15.0 LTS(FFI is not supported in node v12 yet, you won't able to install the module with nodejs v12). To install, just run the install.sh file. I will push the module to npm repo after doing some more testing.
I hope this will be helpful for your guys' project too.
Any suggestions are welcome.