node-red-contrib-monarco-hat - Node-RED driver library for Monarco HAT
Compatible Monarco HAT firmware version: 2.006 and newer
Tested on: Raspbios 2021-01-11 (Full and Lite)
Install required build-dependencies on your Raspbian running on Raspberry Pi:
sudo apt update sudo apt install build-essential
Install Node-RED, node.js and npm on your Raspberry Pi:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
For the curious, here are the details: Running Node-RED on Raspberry Pi.
Start the Node-RED system service:
Install Monarco HAT nodes
Point your web browser (Firefox or Chrome) to e.g. http://192.168.1.100:1880 to open the Node-RED flow editor.Make sure to use the IP address of your Raspberry Pi.
Select the Manage Palette option from the main menu to open the Palette Manager. The Install tab lets you search the catalogue of available node modules and install them. Find the node-red-contrib-monarco-hat palette and install it.
You can now use the I/Os of the Monarco HAT in Node-RED.
Try out this flow to see all the nodes of this library in action.
Starting Node-RED automatically
If you want your flows to start automatically on system startup, run the following command:
sudo systemctl enable nodered.service
node-red-contrib-monarco-hat and examples provided in this repository are covered by the BSD 3-Clause License. See LICENSE.txt or https://opensource.org/licenses/BSD-3-Clause
Copyright REX Controls s.r.o. http://www.rexcontrols.com, Author: Jiri Faist, firstname.lastname@example.org