diff --git a/README.md b/README.md index 1a0e6678..a89f6f78 100644 --- a/README.md +++ b/README.md @@ -858,10 +858,10 @@ SOFTWARE. [nginxproxymanager-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [nginxproxymanager-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [nginxproxymanager-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-node-red]: https://github.com/hassio-addons/addon-node-red/tree/v10.0.1 -[addon-doc-node-red]: https://github.com/hassio-addons/addon-node-red/blob/v10.0.1/README.md +[addon-node-red]: https://github.com/hassio-addons/addon-node-red/tree/v10.1.0 +[addon-doc-node-red]: https://github.com/hassio-addons/addon-node-red/blob/v10.1.0/README.md [node-red-issue]: https://github.com/hassio-addons/addon-node-red/issues -[node-red-version-shield]: https://img.shields.io/badge/version-v10.0.1-blue.svg +[node-red-version-shield]: https://img.shields.io/badge/version-v10.1.0-blue.svg [node-red-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [node-red-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [node-red-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg diff --git a/node-red/CHANGELOG.md b/node-red/CHANGELOG.md index f9cab30c..5d3c4d97 100644 --- a/node-red/CHANGELOG.md +++ b/node-red/CHANGELOG.md @@ -1,16 +1,37 @@ ## What’s changed +## 🚀 Enhancements + +- Add Dracula theme @bonanitech (#1139) +- Migrate JSON config to YAML @frenck (#1164) + +## 🧰 Maintenance + +- Switch to centralized GitHub Action Workflows @frenck (#1163) + +## 📚 Documentation + +- Add links to nodered.org in the documentation @Tuxie (#1155) + ## ⬆️ Dependency updates -- Bump dessant/lock-threads from 2.1.1 to 2.1.2 @dependabot (#1101) -- Bump docker/build-push-action from 2.6.1 to 2.7.0 @dependabot (#1102) -- Bump frenck/action-addon-linter from 2.2 to 2.3 @dependabot (#1103) -- ⬆️ Upgrades nodejs to 14.17.6-r0 @frenck (#1118) -- Bump creyD/prettier_action from 3.3 to 4.0 @dependabot (#1111) -- Bump docker/setup-buildx-action from 1.5.1 to 1.6.0 @dependabot (#1109) -- ⬆️ Upgrades add-on base image to 10.1.0 @frenck (#1119) -- Bump node-red-dashboard from 2.30.0 to 3.0.4 in /node-red @dependabot (#1116) -- Bump node-red-contrib-time-range-switch from 1.1.1 to 1.1.2 in /node-red @dependabot (#1114) -- Bump node-red from 2.0.5 to 2.0.6 in /node-red @dependabot (#1108) -- Bump @node-red-contrib-themes/theme-collection from 2.0.3 to 2.0.5 in /node-red @dependabot (#1107) -- Bump node-red-node-geofence from 0.2.2 to 0.3.0 in /node-red @dependabot (#1105) +- Bump node-red-node-geofence from 0.3.0 to 0.3.1 in /node-red @dependabot (#1122) +- Bump frenck/action-addon-linter from 2.3 to 2.4.1 @dependabot (#1126) +- Bump node-red-contrib-home-assistant-websocket from 0.33.1 to 0.34.0 in /node-red @dependabot (#1128) +- Bump @node-red-contrib-themes/theme-collection from 2.0.5 to 2.0.6 in /node-red @dependabot (#1132) +- ⬆️ Upgrade lock-threads workflow to 3.0.0 @frenck (#1134) +- ⬆️ Upgrades openssh-client to 8.6_p1-r3 @frenck (#1135) +- Bump actions/checkout from 2.3.4 to 2.3.5 @dependabot (#1142) +- Bump @node-red-contrib-themes/theme-collection from 2.0.6 to 2.0.7 in /node-red @dependabot (#1141) +- Bump node-red-contrib-home-assistant-websocket from 0.34.0 to 0.36.0 in /node-red @dependabot (#1140) +- Bump node-red from 2.0.6 to 2.1.0 in /node-red @dependabot (#1145) +- Bump @node-red-contrib-themes/theme-collection from 2.0.7 to 2.1.0 in /node-red @dependabot (#1144) +- ⬆️ Upgrades nodejs to 14.18.1-r0 @frenck (#1162) +- Bump node-red from 2.1.0 to 2.1.3 in /node-red @dependabot (#1151) +- Bump node-red-node-email from 1.12.3 to 1.13.0 in /node-red @dependabot (#1153) +- ⬆️ Upgrades add-on base image to 10.2.0 @frenck (#1166) +- Bump node-red-contrib-home-assistant-websocket from 0.36.0 to 0.38.0 in /node-red @dependabot (#1167) +- Bump node-red-dashboard from 3.0.4 to 3.1.1 in /node-red @dependabot (#1165) +- Bump @node-red-contrib-themes/theme-collection from 2.1.0 to 2.1.2 in /node-red @dependabot (#1156) +- ⬆️ Upgrades add-on base image to 10.2.2 @frenck (#1171) +- Bump @node-red-contrib-themes/theme-collection from 2.1.2 to 2.1.3 in /node-red @dependabot (#1172) diff --git a/node-red/DOCS.md b/node-red/DOCS.md index 9d7826cc..fba91d3c 100644 --- a/node-red/DOCS.md +++ b/node-red/DOCS.md @@ -1,6 +1,6 @@ # Home Assistant Community Add-on: Node-RED -Node-RED is a programming tool for wiring together hardware devices, +[Node-RED][nodered] 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 @@ -113,6 +113,7 @@ Sets one of the Node-RED themes. Currently available options: - `default` - `dark` +- `dracula` - `midnight-red` - `oled` - `solarized-dark` @@ -239,6 +240,7 @@ You have several options to get them answered: Assistant discussions and questions. - The Home Assistant [Community Forum][forum]. - Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit] +- The [Node-RED documentation][nodered-docs] You could also [open an issue here][issue] GitHub. @@ -281,6 +283,8 @@ SOFTWARE. [frenck]: https://github.com/frenck [issue]: https://github.com/hassio-addons/addon-node-red/issues [node-red-nodes]: https://flows.nodered.org/?type=node&num_pages=1 +[nodered]: https://nodered.org +[nodered-docs]: https://nodered.org/docs [npm-packages]: https://www.npmjs.com [reddit]: https://reddit.com/r/homeassistant [releases]: https://github.com/hassio-addons/addon-node-red/releases diff --git a/node-red/README.md b/node-red/README.md index 3fc780c3..cc0c7953 100644 --- a/node-red/README.md +++ b/node-red/README.md @@ -47,6 +47,6 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg -[release-shield]: https://img.shields.io/badge/version-v10.0.1-blue.svg -[release]: https://github.com/hassio-addons/addon-node-red/tree/v10.0.1 +[release-shield]: https://img.shields.io/badge/version-v10.1.0-blue.svg +[release]: https://github.com/hassio-addons/addon-node-red/tree/v10.1.0 [screenshot]: https://github.com/hassio-addons/addon-node-red/raw/main/images/screenshot.png \ No newline at end of file diff --git a/node-red/config.json b/node-red/config.json deleted file mode 100644 index 8d3b1cf1..00000000 --- a/node-red/config.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "name": "Node-RED", - "version": "10.0.1", - "slug": "nodered", - "description": "Flow-based programming for the Internet of Things", - "url": "https://github.com/hassio-addons/addon-node-red", - "ingress": true, - "ingress_port": 0, - "ingress_stream": true, - "panel_icon": "mdi:sitemap", - "init": false, - "homeassistant": "0.92.0b2", - "arch": [ - "aarch64", - "amd64", - "armhf", - "armv7", - "i386" - ], - "ports": { - "80/tcp": 1880 - }, - "ports_description": { - "80/tcp": "Web interface" - }, - "hassio_api": true, - "hassio_role": "manager", - "homeassistant_api": true, - "host_network": true, - "auth_api": true, - "uart": true, - "gpio": true, - "privileged": [ - "SYS_RAWIO" - ], - "devices": [ - "/dev/mem" - ], - "apparmor": false, - "map": [ - "config:rw", - "media:rw", - "share:rw", - "ssl" - ], - "options": { - "credential_secret": "", - "theme": "default", - "http_node": { - "username": "", - "password": "" - }, - "http_static": { - "username": "", - "password": "" - }, - "ssl": true, - "certfile": "fullchain.pem", - "keyfile": "privkey.pem", - "system_packages": [], - "npm_packages": [], - "init_commands": [] - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)?", - "credential_secret": "password", - "theme": "list(default|dark|midnight-red|oled|solarized-dark|solarized-light)?", - "http_node": { - "username": "str", - "password": "password" - }, - "http_static": { - "username": "str", - "password": "password" - }, - "ssl": "bool", - "certfile": "str", - "keyfile": "str", - "system_packages": [ - "str" - ], - "npm_packages": [ - "str" - ], - "init_commands": [ - "str" - ], - "leave_front_door_open": "bool?" - }, - "image": "ghcr.io/hassio-addons/node-red/{arch}" -} \ No newline at end of file diff --git a/node-red/config.yaml b/node-red/config.yaml new file mode 100644 index 00000000..2efc343d --- /dev/null +++ b/node-red/config.yaml @@ -0,0 +1,74 @@ +apparmor: false +arch: +- aarch64 +- amd64 +- armhf +- armv7 +- i386 +auth_api: true +description: Flow-based programming for the Internet of Things +devices: +- /dev/mem +gpio: true +hassio_api: true +hassio_role: manager +homeassistant: 0.92.0b2 +homeassistant_api: true +host_network: true +image: ghcr.io/hassio-addons/node-red/{arch} +ingress: true +ingress_port: 0 +ingress_stream: true +init: false +map: +- config:rw +- media:rw +- share:rw +- ssl +name: Node-RED +options: + certfile: fullchain.pem + credential_secret: '' + http_node: + password: '' + username: '' + http_static: + password: '' + username: '' + init_commands: [] + keyfile: privkey.pem + npm_packages: [] + ssl: true + system_packages: [] + theme: default +panel_icon: mdi:sitemap +ports: + 80/tcp: 1880 +ports_description: + 80/tcp: Web interface +privileged: +- SYS_RAWIO +schema: + certfile: str + credential_secret: password + http_node: + password: password + username: str + http_static: + password: password + username: str + init_commands: + - str + keyfile: str + leave_front_door_open: bool? + log_level: list(trace|debug|info|notice|warning|error|fatal)? + npm_packages: + - str + ssl: bool + system_packages: + - str + theme: list(default|dark|dracula|midnight-red|oled|solarized-dark|solarized-light)? +slug: nodered +uart: true +url: https://github.com/hassio-addons/addon-node-red +version: 10.1.0