Home Assistant Community Add-on: Node-RED

:tada: Release

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Updates node-red-contrib-time-range-switch to v1 (#463)
  • :books:Add troubleshooting step for upgrade (#462)
  • :hammer: Change Midnight theme configuration to reflect recent changes in… (#461)
  • :arrow_up: Updates node-red-contrib-sunevents to v2 (#459)
  • :arrow_up: Updates node-red-node-msgpack to v1.2.1 (#465)
    :arrow_up: Updates node-red-contrib-home-assistant-websocket to v0.21.1 (#471)
  • :arrow_up: Updates node-red-node-base64 to v0.2.1 (#469)
  • :arrow_up: Updates snyk to v1.297.2 (#472)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

Not sure if this has been answered elsewhere?

I have a flow that retrieves data from my Tesla Powerwall and posts its to an MQTT server. The PW uses self-signed certs, therefore in order to avoid errors with the HTTP request node I need to start a standalone (non Hassio) Node Red docker container with the argument:

-e NODE_TLS_REJECT_UNAUTHORIZED="0"

Can I get the Hassio Node Red addon to start with the same argument, thus avoiding having to run a standalone container for this one flow?

1 Like

:tada: Release v6.1.2

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Updates node-red to v1.0.4 (#473)
  • :arrow_up: Updates @node-red-contrib-themes/midnight-red to v1.1.1 (#474)
  • :arrow_up: Updates node-red-contrib-sunevents to v2.0.1 (#476)
  • :arrow_up: Updates node-red-contrib-home-assistant-websocket to v0.21.2 (#475)
  • :arrow_up: Updates node-red-contrib-bigtimer to v2.2.6 (#477)
  • :arrow_up: Updates node-red-contrib-sunevents to v2.0.2 (#479)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

:tada: Release v6.1.3

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Updates node-red-contrib-home-assistant-websocket to v0.21.3 (#480)
  • :hammer: Disable strict ssh host key checking

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

You should be able to set the environment variable in the settings.js, if you look at the readme around Timezone config, you can do the same thing, but set process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

Hi, i have installed nodered add-on on hassio and deploy 2 flows but after reboot server i have lost my 2 flows :frowning: is it normal ???

Paul, thanks I will modify the configuration as you stated

/DB

I have a structure like that - Synology -> Docker->Hassio->Add-on Node-Red. I have many node-red things on that and works well, But now I need move "moniotring system to my Hassio- Node-RED, I use for that exec node and inside command using the query snmpwalk -v 2c -c public 192.168.126.60 1
and when looking from LOG - then /bin/sh: snmpwalk: not found, when I use same command directly on synology root, then all works.
My question is - how I can add snmp packet to docker ? From node-red palette I added snmp node - that’s not helps.

Now I find - I can go to docker contaniner in synology - but apt-get /yum … don’t works - how can I add packet?

If anyone should wonder (like I did) it is possible to install a local package simple by adding (for instance)

npm_packages:
  - /share/nodered/node-red-contrib-example-lower-case

[edit]
And to load a specific branch use the hash;

npm_packages:
  - /share/nodered/node-red-contrib-example-lower-case#dev

where I must add this ? or run command or ? little help needed :wink: ?

Following discussion here and hope my topic is not “out of place”. I am new to alot of this and wonder if anyone has managed to send a api request from their pc to node-red ? I have home assistant- node-red addon , running om pi4 , and am trying to send a api request from my fibaro home center. Works in browser when i enter; 192.xxx.xx.xxx:1880/endpoint/lgtv/youtube - asks for user/password to node -red. Thanking in advance for any help or links,information, thanks

Hi!
where and/or how I must add this ?

I was hoping to get a snapshot from motioneye in the notification (HA app) when alarm is triggered. Im using the “snapshot url” in motioneye, in my nodered flow but I dont get any image (notification works). Am i missing something?

{
    "data": {
        "message": "Inbrott",
        "title": "Larm",
        "data": {
            "android": {
                "notification": {
                    "image": "https://xxxxxxx.duckdns.org/api/hassio_ingress/JUya7-K2hibB4fLkiiAvuLNZ4b3uOI-E-rbtuOdH15s/picture/3/current/"
                }
            }
        }
    }
}


On HA 0.107.1, click on Supervisor on side bar, go to Node-RED addon, scroll down to Config part, you will see the npm_packages settings. Something like this:

credential_secret: 
dark_mode: false
http_node:
  username: 
  password: 
http_static:
  username: 
  password: 
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: true
system_packages: []
npm_packages: []
init_commands: []

:tada: Release v6.1.4

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Updates node-red-contrib-sunevents to v2.0.3 (#489)
  • :arrow_up: Updates node-red-contrib-home-assistant-websocket to… (#498)
  • :arrow_up: Upgrades add-on base image to v7.0.3
  • :arrow_up: Updates @node-red-contrib-themes/midnight-red to v1.2… (#504)
  • :arrow_up: Updates node-red-contrib-cast to v0.2.15 (#506)
  • :arrow_up: Upgrades gcc to 9.2.0-r4
  • :arrow_up: Updates snyk to v1.301.0 (#507

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

Yes I find the place witch packet o rhow I must add to get snmpwalk to work ?

Hi there,
silly question, but I think I’m missing something.
The documentation states that we can use “!secret” in the configuration for the Addon.
But if I’m placing

password: !secret node_pw

I get Invalid YAML and I’m not able to save the configuration box.

If I’m wrapping this in quotes like
password: "!secret node_pw"
I get the following and am not able to save:

Failed to save addon configuration, not a valid value for dictionary value @ data['options']. Got {'credential_se..

What am I missing or is this a Bug?

Thanks in advance
Chris

@ChrisHaPunkt An easy mistake to make. Notice my TOP line of my Node Red config is:
credential_secret: ‘!secret red_secret’
dark_mode: true
http_node:
username: ‘’
password: ‘’
http_static:
username: ‘’
password: ‘’
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: false
system_packages: []
npm_packages: []
init_commands: []

doh,
xD single quotes for the win
Thank you

I thought this would be easy but maybe I’m going blind.

Where are the logs that I can see under Supervisor, Node-Red, log stored?

I have an issue that occurs occasionally, and I want to try to go back in time and see if there’s anything useful in them, but I only usually get a few minutes worth (primarily because of “Sun Stuff” which is chatty and I don’t see how to slow it down, but that’s a different matter).

I’ve hunted around in the docker image the hass.io images and even the containing linux VM in which I run HA and don’t see them. if they aren’t on disk, is there a simple way to put them on disk to persist?

Or better still, to put the debug pane on disk?

Yes, I try to catch this by leaving the node-red window open and debug pane up but the issue I have is intermittent, and Murphy is hanging around, and it never seems to fail when I prepare.