# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=642

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 643

---

## [Problems with node-red-contrib-i2c after 0.7.4 update](https://discourse.nodered.org/t/problems-with-node-red-contrib-i2c-after-0-7-4-update/37051)

<div class="topic-metadata">

**Author:** [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Replies:** 1\
**Last updated:** [5 December 2020 17:39 UTC](https://discourse.nodered.org/t/problems-with-node-red-contrib-i2c-after-0-7-4-update/37051 "2020-12-05T17:39:20Z")

</div>

Having issues with i2c nodes since yesterday following the application of the node-red-contrib-i2c 0.7.4 update. bus addresses are invalid. I haven't changed anything with the bus address in any of the nodes (they re…

---

## [Node-red-contribi2c (SHT31)](https://discourse.nodered.org/t/node-red-contribi2c-sht31/37056)

<div class="topic-metadata">

**Author:** [@JEAN-MICHEL](https://discourse.nodered.org/u/JEAN-MICHEL)\
**Replies:** 9\
**Last updated:** [5 December 2020 17:19 UTC](https://discourse.nodered.org/t/node-red-contribi2c-sht31/37056 "2020-12-05T17:19:37Z")

</div>

Hi! I have a problem with i2C-scan with node-red. My Flow just uses i2c Scan and node debug. A SHT31 (temperature and humidity) is connected on Raspberry pi 4. It is detected with the console and the command i2cdetect …

---

## [Reset counter issue](https://discourse.nodered.org/t/reset-counter-issue/37040)

<div class="topic-metadata">

**Author:** [@unknown00088](https://discourse.nodered.org/u/unknown00088)\
**Replies:** 7\
**Last updated:** [5 December 2020 17:03 UTC](https://discourse.nodered.org/t/reset-counter-issue/37040 "2020-12-05T17:03:10Z")

</div>

Hello, I'm new with node red and programing so please do not destroy me for stupid questions. In sweat, tears and blo0d I created this: var count=context.get('count') || 0; count +=1; msg.payload=count; context.set('co…

---

## [Bash command not found](https://discourse.nodered.org/t/bash-command-not-found/37048)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 3\
**Last updated:** [5 December 2020 16:11 UTC](https://discourse.nodered.org/t/bash-command-not-found/37048 "2020-12-05T16:11:43Z")

</div>

hello i have found this flow, which scan a network, the output is just empty so i added a second msg.payload where i got a error /bin/bash: sudo: command not found my node Red is in a Containers on my pi itself it wou…

---

## [Trigger node question](https://discourse.nodered.org/t/trigger-node-question/37045)

<div class="topic-metadata">

**Author:** [@Dave](https://discourse.nodered.org/u/Dave)\
**Replies:** 2\
**Last updated:** [5 December 2020 12:28 UTC](https://discourse.nodered.org/t/trigger-node-question/37045 "2020-12-05T12:28:22Z")

</div>

I see in the trigger node properties flow. and global. what are they for ? I searched but cannot seam to find any example. Can I use something like flow. get('foo') in that field, (I tried that but it syntax appears…

---

## [Node-red-log to dashboard](https://discourse.nodered.org/t/node-red-log-to-dashboard/37034)

<div class="topic-metadata">

**Author:** [@AungKL](https://discourse.nodered.org/u/AungKL)\
**Replies:** 4\
**Last updated:** [5 December 2020 12:05 UTC](https://discourse.nodered.org/t/node-red-log-to-dashboard/37034 "2020-12-05T12:05:56Z")

</div>

Hi Dude, I'd like to display Node Red Log in dashboard. I've tried to write some here from this Reference. But it's not successful. \[{"id":"ba032ebd.36c98","type":"tab","label":"Flow 1","disabled":false,"info":""},{"i…

---

## [Identifying nodes in the NR metrics log?](https://discourse.nodered.org/t/identifying-nodes-in-the-nr-metrics-log/36980)

<div class="topic-metadata">

**Author:** [@shimbone](https://discourse.nodered.org/u/shimbone)\
**Replies:** 2\
**Last updated:** [5 December 2020 08:50 UTC](https://discourse.nodered.org/t/identifying-nodes-in-the-nr-metrics-log/36980 "2020-12-05T08:50:05Z")

</div>

I need to understand what is driving the load on my NR server. The metrics log (set metrics = true in the logging section of settings.js) seems to contain the data that I need-- essentially which nodes are being run, wh…

---

## [Change node: add / Delete property in json](https://discourse.nodered.org/t/change-node-add-delete-property-in-json/37027)

<div class="topic-metadata">

**Author:** [@ej3359](https://discourse.nodered.org/u/ej3359)\
**Replies:** 3\
**Last updated:** [5 December 2020 06:34 UTC](https://discourse.nodered.org/t/change-node-add-delete-property-in-json/37027 "2020-12-05T06:34:48Z")

</div>

Hello, i have a json like this: \[ { "externalDeviceId": "b827ebe81d30.2", "deviceCookie": { "updatedcookie": "old or new value" }, "friendlyName": "Z2 Perron\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\…

---

## [Is Today() Between Two Dates?](https://discourse.nodered.org/t/is-today-between-two-dates/37012)

<div class="topic-metadata">

**Author:** [@rcblackwell](https://discourse.nodered.org/u/rcblackwell)\
**Replies:** 5\
**Last updated:** [4 December 2020 20:25 UTC](https://discourse.nodered.org/t/is-today-between-two-dates/37012 "2020-12-04T20:25:03Z")

</div>

I'm new to Node-Red; struggling to learn code that may be applied in a (Function) node. I've written the following which tests to see if todays date falls between November 15th of the current year and January 31 of the f…

---

## [Is it possible to develop decision logic on Node-RED?](https://discourse.nodered.org/t/is-it-possible-to-develop-decision-logic-on-node-red/36875)

<div class="topic-metadata">

**Author:** [@dirkaka](https://discourse.nodered.org/u/dirkaka)\
**Replies:** 5\
**Last updated:** [4 December 2020 18:44 UTC](https://discourse.nodered.org/t/is-it-possible-to-develop-decision-logic-on-node-red/36875 "2020-12-04T18:44:20Z")

</div>

Hey everyone, I'm new to Node-RED, my aim is to develop decisions logics on node-red. Is this possible on node-RED platform? If yes, how and where do i start? Thank you all

---

## [Unable to start node-red in Windows 10](https://discourse.nodered.org/t/unable-to-start-node-red-in-windows-10/37007)

<div class="topic-metadata">

**Author:** [@hsiehkctaiwan](https://discourse.nodered.org/u/hsiehkctaiwan)\
**Replies:** 1\
**Last updated:** [4 December 2020 17:49 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-in-windows-10/37007 "2020-12-04T17:49:29Z")

</div>

I got issue on node-red in windows 10. It just exited without starting web portal. Any clue? C:\\Users\\hsieh\>node -v v14.15.1 C:\\Users\\hsieh\>npm -v 6.14.8 C:\\Users\\hsieh\>node-red 4 Dec 22:57:29 - \[info\] Welcome to…

---

## [Collect data from multiple PLCs on different networks](https://discourse.nodered.org/t/collect-data-from-multiple-plcs-on-different-networks/36996)

<div class="topic-metadata">

**Author:** [@vasco123](https://discourse.nodered.org/u/vasco123)\
**Replies:** 2\
**Last updated:** [4 December 2020 14:47 UTC](https://discourse.nodered.org/t/collect-data-from-multiple-plcs-on-different-networks/36996 "2020-12-04T14:47:01Z")

</div>

I'm working on a project which the purpose is to collect data from a steering unit similar to a PLC. This unit is steering a fountain and i am using Node-RED to collect data from it. I can receive data from it if Node-RE…

---

## [Unable to start node red (windows 10)](https://discourse.nodered.org/t/unable-to-start-node-red-windows-10/14109)

<div class="topic-metadata">

**Author:** [@hbranum](https://discourse.nodered.org/u/hbranum)\
**Replies:** 8\
**Last updated:** [4 December 2020 13:54 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-windows-10/14109 "2020-12-04T13:54:43Z")

</div>

Hello, I am new to node-red and cannot seem to get it to launch. Here are the steps I have taken: install Node.js executed command "npm install -g --unsafe-perm node-red" in cmd executed command "npm install --global -…

---

## [Websocket ETIMEOUT errors](https://discourse.nodered.org/t/websocket-etimeout-errors/36916)

<div class="topic-metadata">

**Author:** [@ScottJ2505](https://discourse.nodered.org/u/ScottJ2505)\
**Replies:** 2\
**Last updated:** [4 December 2020 13:24 UTC](https://discourse.nodered.org/t/websocket-etimeout-errors/36916 "2020-12-04T13:24:17Z")

</div>

Hello, I am hoping someone can assist me in resolving the following connect errors being thrown in the Node-Red console. Dec 15:34:19 - \[warn\] \[deconz-server:zigbee-temp-sensor\] WebSocket error: Error: connect ETIMEDOU…

---

## [Serial port in LoRa config](https://discourse.nodered.org/t/serial-port-in-lora-config/36999)

<div class="topic-metadata">

**Author:** [@m.zendedel75](https://discourse.nodered.org/u/m.zendedel75)\
**Replies:** 0\
**Last updated:** [4 December 2020 13:18 UTC](https://discourse.nodered.org/t/serial-port-in-lora-config/36999 "2020-12-04T13:18:44Z")

</div>

Hi every body, in LoRa TX and RX config window, what things must enter at serial port field ...? after deploy flow, display error Error ocurred, see console for details. \[error\] \[lorawan-rx:d586764b.ba50d8\] Error ocur…

---

## [Missing node type sqlitedb](https://discourse.nodered.org/t/missing-node-type-sqlitedb/36984)

<div class="topic-metadata">

**Author:** [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Replies:** 9\
**Last updated:** [4 December 2020 12:14 UTC](https://discourse.nodered.org/t/missing-node-type-sqlitedb/36984 "2020-12-04T12:14:43Z")

</div>

Hello, I have installed in my Raspberry pi 4 node-red-node-sqlite from within Node-Red palette manager and I have the following error: When I check the palette, it shows: How can I solve it? Please advise. Thanks…

---

## [Issues with Watson Assistant V2 node not returning consistent msg objects](https://discourse.nodered.org/t/issues-with-watson-assistant-v2-node-not-returning-consistent-msg-objects/36989)

<div class="topic-metadata">

**Author:** [@Andy0692](https://discourse.nodered.org/u/Andy0692)\
**Replies:** 0\
**Last updated:** [4 December 2020 11:10 UTC](https://discourse.nodered.org/t/issues-with-watson-assistant-v2-node-not-returning-consistent-msg-objects/36989 "2020-12-04T11:10:41Z")

</div>

I am currently creating a recipe suggestion chatbot using Watson Assistant. I have the bot connected to Telegram, which then connects to the Assistant V2 node. The output of the Assistant is checked and either goes to a…

---

## [Node red contrib amazon echo - Can it know the on/off state?](https://discourse.nodered.org/t/node-red-contrib-amazon-echo-can-it-know-the-on-off-state/36985)

<div class="topic-metadata">

**Author:** [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Replies:** 0\
**Last updated:** [4 December 2020 10:36 UTC](https://discourse.nodered.org/t/node-red-contrib-amazon-echo-can-it-know-the-on-off-state/36985 "2020-12-04T10:36:09Z")

</div>

Is there any way of telling a Device Node what the state of the On/Off switch is? I've set it up so I can say "turn the heating on", or do it from the switch on the phone app. But since I can turn the heating on from th…

---

## [Cannot connect to DS18B20](https://discourse.nodered.org/t/cannot-connect-to-ds18b20/36852)

<div class="topic-metadata">

**Author:** [@Ki-va](https://discourse.nodered.org/u/Ki-va)\
**Replies:** 12\
**Last updated:** [4 December 2020 09:25 UTC](https://discourse.nodered.org/t/cannot-connect-to-ds18b20/36852 "2020-12-04T09:25:28Z")

</div>

hi, I've connected a DS18B20 sensor to my RPi 3. i made sure that the 1 wire is enabled on the Pi. I've tried the following nodes: node-red-contrib-ds18b20 ver. 0.0.3 node-red-contrib-ds18b20-sensor ver. 1.3.6 node…

---

## [2-dimensional arrays](https://discourse.nodered.org/t/2-dimensional-arrays/36973)

<div class="topic-metadata">

**Author:** [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Replies:** 3\
**Last updated:** [4 December 2020 07:42 UTC](https://discourse.nodered.org/t/2-dimensional-arrays/36973 "2020-12-04T07:42:59Z")

</div>

Hi, i try to generate a 2 dimensional arrya (10 rows, 20 columns) and initialize them with data within nested for loops. My problem is: i cannot find the correct syntax to get it working. www.w3schools.com has no examp…

---

## [Problem with environment variables in](https://discourse.nodered.org/t/problem-with-environment-variables-in/36977)

<div class="topic-metadata">

**Author:** [@splaza](https://discourse.nodered.org/u/splaza)\
**Replies:** 0\
**Last updated:** [4 December 2020 07:23 UTC](https://discourse.nodered.org/t/problem-with-environment-variables-in/36977 "2020-12-04T07:23:13Z")

</div>

Hi everyone, I am working on a subflow with an output influxdb node. The situation is the following, I generate an environment variable to configure different databases. I deploy and everything works, but if I deploy ag…

---

## [A "simple" CSS position issue?](https://discourse.nodered.org/t/a-simple-css-position-issue/36955)

<div class="topic-metadata">

**Author:** [@SmudgeMarxUK](https://discourse.nodered.org/u/SmudgeMarxUK)\
**Replies:** 3\
**Last updated:** [4 December 2020 04:11 UTC](https://discourse.nodered.org/t/a-simple-css-position-issue/36955 "2020-12-04T04:11:02Z")

</div>

Putting out an SOS on an frustrating issue i'm having with the UI Template & positioning my groups. Here's the flow: \[{"id":"3e588bb4.6427e4","type":"ui\_template","z":"37005b7e.7f759c","group":"a59619e6.127c48","name":…

---

## [\[ADVICE\] NR -100% memory use & lockup (reboot usually req'd)](https://discourse.nodered.org/t/advice-nr-100-memory-use-lockup-reboot-usually-reqd/36968)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 3\
**Last updated:** [3 December 2020 23:18 UTC](https://discourse.nodered.org/t/advice-nr-100-memory-use-lockup-reboot-usually-reqd/36968 "2020-12-03T23:18:05Z")

</div>

After numerous encounters with having Node Red freeze (or the appearance thereof) and having not the faintest idea as to why, yet spending hour upon hours trying to resolve it, I thought I'd write this up in the hopes th…

---

## [Node Red Raspberry Pi 4 eQ3 Bluetooth](https://discourse.nodered.org/t/node-red-raspberry-pi-4-eq3-bluetooth/36971)

<div class="topic-metadata">

**Author:** [@maciekelga](https://discourse.nodered.org/u/maciekelga)\
**Replies:** 0\
**Last updated:** [3 December 2020 22:02 UTC](https://discourse.nodered.org/t/node-red-raspberry-pi-4-eq3-bluetooth/36971 "2020-12-03T22:02:16Z")

</div>

Hi, I want to control my eQ3 bluetooth radiator valves. Is it a way to control them by Node Red? Maybe somebody have some example of flow? Maciej

---

## [Timer counts to a label](https://discourse.nodered.org/t/timer-counts-to-a-label/36921)

<div class="topic-metadata">

**Author:** [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Replies:** 12\
**Last updated:** [3 December 2020 20:56 UTC](https://discourse.nodered.org/t/timer-counts-to-a-label/36921 "2020-12-03T20:56:22Z")

</div>

Sounds simple but I'm struggling. I need to monitor an event that lasts ~ 20 seconds and output that to a label on the UI.There are literally dozens of "countdown" timer nodes that have set values, but nothing (apparent)…

---

## [Configure Node properties of a Subflow](https://discourse.nodered.org/t/configure-node-properties-of-a-subflow/36049)

<div class="topic-metadata">

**Author:** [@thewilli](https://discourse.nodered.org/u/thewilli)\
**Replies:** 3\
**Last updated:** [3 December 2020 20:05 UTC](https://discourse.nodered.org/t/configure-node-properties-of-a-subflow/36049 "2020-12-03T20:05:35Z")

</div>

Hi! I am using node-red-contrib-alexa-remote2 to control my Alexa Echo and connected Smart Home devices as a first useful way to explore Node-RED. It provices a Node (amongst others) to control a single Smart Home devic…

---

## [Simple API Post to update variable](https://discourse.nodered.org/t/simple-api-post-to-update-variable/36962)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 1\
**Last updated:** [3 December 2020 19:05 UTC](https://discourse.nodered.org/t/simple-api-post-to-update-variable/36962 "2020-12-03T19:05:20Z")

</div>

I want to update a flow context variable through an external API call. For this I used the Http In node configured as \[POST\] for /myapi/myvar. Then I launch a curl call like: curl http://myserver:1880/myapi/myvar -d "m…

---

## [Setting config node attribs from flow](https://discourse.nodered.org/t/setting-config-node-attribs-from-flow/35725)

<div class="topic-metadata">

**Author:** [@Mech](https://discourse.nodered.org/u/Mech)\
**Replies:** 1\
**Last updated:** [3 December 2020 15:42 UTC](https://discourse.nodered.org/t/setting-config-node-attribs-from-flow/35725 "2020-12-03T15:42:05Z")

</div>

Good morning everyone, I'm trying to use environmental variables to set variables in nodes included in a subflow. This works fine for the following flow: \[{"id":"7abc9241.f6146c","type":"subflow","name":"CSV to table"…

---

## [Using Credentials variables in subflows](https://discourse.nodered.org/t/using-credentials-variables-in-subflows/36637)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 1\
**Last updated:** [3 December 2020 15:25 UTC](https://discourse.nodered.org/t/using-credentials-variables-in-subflows/36637 "2020-12-03T15:25:11Z")

</div>

I am using an http request node in a subflow. It requires basic authorisation with an API key as the username. I have declared a subflow property of credentials type called APIKey and in the request node in the subflow…

---

## [Guidance on evaluating several inputs to one process](https://discourse.nodered.org/t/guidance-on-evaluating-several-inputs-to-one-process/36854)

<div class="topic-metadata">

**Author:** [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Replies:** 11\
**Last updated:** [3 December 2020 15:07 UTC](https://discourse.nodered.org/t/guidance-on-evaluating-several-inputs-to-one-process/36854 "2020-12-03T15:07:11Z")

</div>

Hi all, I'm looking for some guidance/best practice when evaluating several similar inputs. I have thee Luminance level inputs (2no Zigbee & 1 Wifi) lux meters. I use the Lux level to trigger or influence flows for suc…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=641)

[Next page](https://discourse.nodered.org/c/general/7.md?page=643)
