Narcissistic Pickle Meister

    node-red-contrib-monarco-hat

    1.0.4 • Public • Published

    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)

    Getting started

    Install prerequisites

    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 Node-RED

    Start the Node-RED system service:

    node-red-start
    

    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.

    Done

    You can now use the I/Os of the Monarco HAT in Node-RED.

    Example flow

    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
    

    License

    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, faist@rexcontrols.com

    Install

    npm i node-red-contrib-monarco-hat

    DownloadsWeekly Downloads

    5

    Version

    1.0.4

    License

    BSD 3-Clause License

    Unpacked Size

    53.1 kB

    Total Files

    23

    Last publish

    Collaborators

    • monarco