29/1/2019 Are you a fan of open-source software solutions? We have great news for you - all UniPi controllers are now fully compatible with the Node-RED!
What is Node-RED?
Node-RED is a user-friendly open-source programming tool, which uses so-called “flow-based” method. This approach describes the application's behaviour through a series of nodes with each node having its own pre-programmed function. According to this function, the node then processes incoming data and sends them to the next node in line. This creates a flow of data between nodes.
This approach represents a very intuitive and user-friendly way to develop applications by simply placing the right set of nodes without the need to write custom code. In the case of Node-RED, the programming interface is then easily accessible through a web browser. All you need to do is to interconnect each node and set up their functions - after that, you can control inputs and outputs of your controller as needed. Due to the open-source nature of the project, users then can share their flows with the Node-RED community and easily import or export them to their projects in JSON file format.
Node-RED on UniPi controllers
In cooperation with JoTio Tech s.r.o. a pair of Node-RED nodes was created to allow the use of Node-RED on UniPi controllers. A single input and a single output node utilize the EVOK open-source application programming interface (API) for communication with the controller and acts as a link between Node-RED and UniPi hardware.
An example of local Node-RED install on an UniPi controller
Visit the UniPi Knowledge Base for step-by-step Node-RED installation guide both for UniPi 1.1/UniPi Neuron and UniPi Axon controllers. A Node-RED section was also created on the UniPi technical forum for the case of any technical questions or issues.