1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00
Flow-based programming for the Internet of Things, packaged for YunoHost
Find a file
2022-02-19 11:49:09 +01:00
.github Fix auto-updater script 2021-10-22 20:16:20 +02:00
conf Merge pull request #62 from YunoHost-Apps/ci-auto-update-v2.2.1 2022-02-19 11:49:09 +01:00
doc Merge pull request #60 from McFlyPartages/patch-2 2022-02-04 18:48:49 +01:00
scripts Apply last example_ynh 2022-01-27 21:49:39 +01:00
.gitignore Initial commit 2019-05-28 23:27:28 +01:00
check_process Add upgrade test in check_process 2021-12-26 17:58:31 +01:00
LICENSE Initial commit 2019-05-28 23:27:28 +01:00
manifest.json Upgrade to v2.2.1 2022-02-16 06:09:12 +00:00
README.md Auto-update README 2022-02-16 06:09:17 +00:00
README_fr.md Auto-update README 2022-02-16 06:09:17 +00:00

Node-RED for YunoHost

Integration level
Install Node-RED with YunoHost

Lire ce readme en français.

This package allows you to install Node-RED quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.

It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

Features

  • Browser-based flow editing
  • On-click deployment of the flows
  • Over 225,000 modules available
  • Custom JavaScript functions can be written

Override the default settings

From the installation directory, go edit the /opt/yunohost/nodered/data/settings.user.js. For example:

module.exports = (defaultSettings) => ({
    lang: "de", // define the language as "de"
    exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value
logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging
        console: {
            ...defaultSettings.logging.level, // this will reinject the default settings in logging.console
            level: "debug", // but here, we override the "info" level by "debug"
        },
    },
});

You can check the default settings Yunohost generates at /opt/yunohost/nodered/data/settings.js and find the documentation for configuring Node-RED here: https://nodered.org/docs/user-guide/runtime/configuration

Shipped version: 2.2.1~ynh1

Screenshots

Disclaimers / important information

YunoHost's permissions system allows you to select which users can have access to Node-RED:

  • main permission protects /admin, the flows editor. The administrator is chosen during installation ;
  • ui permission protects /ui, the dashboard allowing visual interface for the flows. Public access is chosen during installation ;
  • endpoints permission protects /, for API-like endpoints. Public access is chosen during installation.

If you have upgraded Node-RED beyond v2, check that these permissions suit you in your YunoHost admin panel.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug
or
sudo yunohost app upgrade nodered -u https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps