@revolutionpi/node-red-dashboard-2-hmi 0.0.4

Human-Machine-Interface UI components for Node-RED and @flowfuse/node-red-dashboard

npm install @revolutionpi/node-red-dashboard-2-hmi

@revolutionpi/node-red-dashboard-2-hmi

Human-Machine-Interface UI components for Node-RED Dashboard 2.0

hmi-push-button

A customisable round button designed after industrial HMI Pushbuttons.

Can be configured to have different background colors or show symbols for Off (I) or On (0)

Development

See here for general information about developing third party widgets for @flowfuse/node-red-dashboard

Develop locally in a Docker container

If you want to run Node-RED in a Docker container and use that to develop widgets you must follow these steps:

Setup

Necessary only once

Simply run ./docker-start.sh

or do it manually:

  1. Start Node-RED Docker container with a volume mounted at /data that points to a local directory
  2. Install @flowfuse/node-red-dashboard either via Web UI (Settings->Manage Palette) or by installing it via npm in the directory of the docker volume
  3. Restart docker container

Publish

Necessary after every change to the code. As the Docker container cannot access your local files directly, you need to copy the code to the shared volume

Simply run ./docker-dev.sh

or do it manually:

  1. Build the code with npm run build or npm run build:dev
  2. Create a .tgz npm bundle with npm pack
  3. Change directory to the share docker volume and run npm install PATH/TO/TGZ-FILE
  4. Restart docker container (can be skipped if only changes to the widgets in /ui were made)

Node Info

Version: 0.0.4
Updated 8 months, 2 weeks ago
License: GPL-2.0-or-later
Rating: not yet rated

Categories

Actions

Rate:

Downloads

31 in the last week

Nodes

  • hmi-push-button

Keywords

  • node-red
  • node-red-dashboard-2
  • hmi
  • kunbus
  • revolution pi
  • revpi

Maintainers