A Node-RED filter-node that handles messages from the Andino X1 Board.
Run the following command in your Node-RED user directory - typically
npm install node-red-contrib-andinox1
Wire the ttyS0 to the input and set the filter to Counter-Events or Pin-Change-Events. Wire the output to ttyS0, configure Relais1 or Relais2 and send true/false 0/1 to set the relais.