# General

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

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

**Page:** 534

---

## [How to install python and other pre-requisites for node-red-contrib-machine-learning-v2 on a docker container](https://discourse.nodered.org/t/how-to-install-python-and-other-pre-requisites-for-node-red-contrib-machine-learning-v2-on-a-docker-container/47571)

<div class="topic-metadata">

**Author:** [@lei1](https://discourse.nodered.org/u/lei1)\
**Replies:** 8\
**Last updated:** [24 June 2021 09:51 UTC](https://discourse.nodered.org/t/how-to-install-python-and-other-pre-requisites-for-node-red-contrib-machine-learning-v2-on-a-docker-container/47571 "2021-06-24T09:51:14Z")

</div>

I need to install these dependencies in advance, I am using docker to install nodered, how to install these dependencies, is there an easy way. thanks！

---

## [Blue Square below Trigger Node](https://discourse.nodered.org/t/blue-square-below-trigger-node/47573)

<div class="topic-metadata">

**Author:** [@lizhong](https://discourse.nodered.org/u/lizhong)\
**Replies:** 1\
**Last updated:** [24 June 2021 09:18 UTC](https://discourse.nodered.org/t/blue-square-below-trigger-node/47573 "2021-06-24T09:18:42Z")

</div>

Hi all, am trying to debug a problem with my flow. Quick description of it: I am reading OPCUA values from a PLC server and am trying to write it into my influxdb. I have set a condition with my trigger node such that i…

---

## [Taking control of contrib nodes when not being maintained](https://discourse.nodered.org/t/taking-control-of-contrib-nodes-when-not-being-maintained/20344)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 34\
**Last updated:** [19 January 2020 09:01 UTC](https://discourse.nodered.org/t/taking-control-of-contrib-nodes-when-not-being-maintained/20344 "2020-01-19T09:01:15Z")

</div>

Just starting a discussion There are a number of useful contrib nodes that end up not being maintained How about copying them into the official Node-RED sphere? But obviously too much work for core devs so I thought, …

---

## [Compare 2 variable](https://discourse.nodered.org/t/compare-2-variable/47568)

<div class="topic-metadata">

**Author:** [@Hydci](https://discourse.nodered.org/u/Hydci)\
**Replies:** 4\
**Last updated:** [24 June 2021 07:43 UTC](https://discourse.nodered.org/t/compare-2-variable/47568 "2021-06-24T07:43:18Z")

</div>

Good morning all, I am brand new with node red, I managed to do several projects but I have a problem with this one I would like to compare 2 variables in IF if I put 2 == it does not work if I put 1 = it works but i ge…

---

## [Help with hhtp request of this string please](https://discourse.nodered.org/t/help-with-hhtp-request-of-this-string-please/47557)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 11\
**Last updated:** [24 June 2021 06:42 UTC](https://discourse.nodered.org/t/help-with-hhtp-request-of-this-string-please/47557 "2021-06-24T06:42:01Z")

</div>

Guys, My electricity provider is updating their system and now has an updated API for requests. Can someone tell me how to use the HTTP node to generate this request please ? curl -X 'GET' \\ 'https://api.amber.com.a…

---

## [NodeRed 1.0.3 docker now slow to start](https://discourse.nodered.org/t/nodered-1-0-3-docker-now-slow-to-start/19209)

<div class="topic-metadata">

**Author:** [@marcusone](https://discourse.nodered.org/u/marcusone)\
**Replies:** 5\
**Last updated:** [24 June 2021 01:52 UTC](https://discourse.nodered.org/t/nodered-1-0-3-docker-now-slow-to-start/19209 "2021-06-24T01:52:53Z")

</div>

Updated my docker to v1.0.3 and it now starts slowly, causing docker to set "unhealthy" Seems to work ok still. Hue groups weren't responding and I restarted, when I noted the "unhealthy" state. Nothing in the logs se…

---

## [When someone presses the doorbell, play sound or tts in speakers](https://discourse.nodered.org/t/when-someone-presses-the-doorbell-play-sound-or-tts-in-speakers/47556)

<div class="topic-metadata">

**Author:** [@seiken](https://discourse.nodered.org/u/seiken)\
**Replies:** 0\
**Last updated:** [24 June 2021 00:12 UTC](https://discourse.nodered.org/t/when-someone-presses-the-doorbell-play-sound-or-tts-in-speakers/47556 "2021-06-24T00:12:51Z")

</div>

Hi I am very new to nodred and hope someone can help me with the following. I run nodred on Homeassistant, on homeassistant I have integrated a Dahua vto doorbell with camera, I have also integrated my heos / denon spea…

---

## [Can myQ garage doors be partially (not fully) opened?](https://discourse.nodered.org/t/can-myq-garage-doors-be-partially-not-fully-opened/47555)

<div class="topic-metadata">

**Author:** [@reverendalc](https://discourse.nodered.org/u/reverendalc)\
**Replies:** 0\
**Last updated:** [24 June 2021 00:12 UTC](https://discourse.nodered.org/t/can-myq-garage-doors-be-partially-not-fully-opened/47555 "2021-06-24T00:12:15Z")

</div>

I would like to create an automation which opens my garage doors 12" when a certain temperature sensor reads a certain temperature. I am able to press the physical button and press it again after 4 seconds to halt openi…

---

## [Zigbee (Nodes node-red-contrib-zigbee) read Power from BlitzWolf Plug](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478)

<div class="topic-metadata">

**Author:** [@MisterD66](https://discourse.nodered.org/u/MisterD66)\
**Replies:** 4\
**Last updated:** [23 June 2021 23:50 UTC](https://discourse.nodered.org/t/zigbee-nodes-node-red-contrib-zigbee-read-power-from-blitzwolf-plug/47478 "2021-06-23T23:50:02Z")

</div>

Hello, I just bought some smartplugs to measure energy of different things. I paired them succesfull and i can switch them but i dont understand how to read the values described in the link above. Power (numeric) In…

---

## [Subflow context problems. Losing their values while active](https://discourse.nodered.org/t/subflow-context-problems-losing-their-values-while-active/45516)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [23 June 2021 22:05 UTC](https://discourse.nodered.org/t/subflow-context-problems-losing-their-values-while-active/45516 "2021-06-23T22:05:26Z")

</div>

(Machine rebooting just now) I got onto subflows after being haunted by having the same bit of code in multiple places for multiple machines and when I had to fix one, I had to fix a lot. So I made a subflow of it. A…

---

## [What would be good strategies for developing frontend with Vue inside a flow?](https://discourse.nodered.org/t/what-would-be-good-strategies-for-developing-frontend-with-vue-inside-a-flow/47511)

<div class="topic-metadata">

**Author:** [@raylight](https://discourse.nodered.org/u/raylight)\
**Replies:** 5\
**Last updated:** [23 June 2021 20:40 UTC](https://discourse.nodered.org/t/what-would-be-good-strategies-for-developing-frontend-with-vue-inside-a-flow/47511 "2021-06-23T20:40:58Z")

</div>

Usually, I create simple frontend pages on Node-RED with the following structure: This works fine for simple projects, but I'd like to start using a framework like Vue for building pages. The problem here is that peo…

---

## [Install python package on node red in synology docker](https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549)

<div class="topic-metadata">

**Author:** [@deejay](https://discourse.nodered.org/u/deejay)\
**Replies:** 0\
**Last updated:** [23 June 2021 20:24 UTC](https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549 "2021-06-23T20:24:56Z")

</div>

I run /nodered/node-red/ in docker on a Synology NAS. I can run the command 'python3 --version' using the 'exec' node that returns 'python 3.8.10'. When I try to run a python3 script with the command 'python3 \<path to …

---

## [Combine 2 Sensor outputs](https://discourse.nodered.org/t/combine-2-sensor-outputs/47456)

<div class="topic-metadata">

**Author:** [@GTiglio](https://discourse.nodered.org/u/GTiglio)\
**Replies:** 3\
**Last updated:** [23 June 2021 19:34 UTC](https://discourse.nodered.org/t/combine-2-sensor-outputs/47456 "2021-06-23T19:34:04Z")

</div>

Hi all, …this can‘t be that complicated… :-/ Ich have 2 messages coming via MQTT, one delivers true or false, the other one delivers a number, which I converted via a function-node also into a boolean. Now I want to co…

---

## [Need Cloudant Examples](https://discourse.nodered.org/t/need-cloudant-examples/47545)

<div class="topic-metadata">

**Author:** [@stav](https://discourse.nodered.org/u/stav)\
**Replies:** 0\
**Last updated:** [23 June 2021 18:19 UTC](https://discourse.nodered.org/t/need-cloudant-examples/47545 "2021-06-23T18:19:21Z")

</div>

Hi. I am looking for examples working with Cloudant in Node-Red, especially for reading and searching the database. Please share here if a helpful example comes to mind. Thank you :pray:

---

## [CSV files and to add the values](https://discourse.nodered.org/t/csv-files-and-to-add-the-values/47480)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 8\
**Last updated:** [23 June 2021 15:46 UTC](https://discourse.nodered.org/t/csv-files-and-to-add-the-values/47480 "2021-06-23T15:46:22Z")

</div>

Hello! Is it possible to search for the same values from CSV files and to add the values in the second column? Here is the CSV TRX1188-RED-LXL; 3 TRX1188-WHT-LXL; 2 TRX1188-WHT-LXL; 2 TRX1252; 2 TRX1252; 2 TRX136…

---

## [Write Modbus TCP strings](https://discourse.nodered.org/t/write-modbus-tcp-strings/47499)

<div class="topic-metadata">

**Author:** [@tovo\_o](https://discourse.nodered.org/u/tovo_o)\
**Replies:** 0\
**Last updated:** [22 June 2021 20:06 UTC](https://discourse.nodered.org/t/write-modbus-tcp-strings/47499 "2021-06-22T20:06:03Z")

</div>

Flow with modbus string writes that allow editing the string (deleting characters) \[{"id":"b9582923.cba97","type":"ui\_text\_input","z":"2a13cd58.b779ba","name":"","label":"Batch Name","tooltip":"","group":"948397c1.059f5…

---

## [Receiving input when clicking on a geojson object/layer on the map using the "worldmap in" node](https://discourse.nodered.org/t/receiving-input-when-clicking-on-a-geojson-object-layer-on-the-map-using-the-worldmap-in-node/45928)

<div class="topic-metadata">

**Author:** [@levi](https://discourse.nodered.org/u/levi)\
**Replies:** 5\
**Last updated:** [23 June 2021 13:17 UTC](https://discourse.nodered.org/t/receiving-input-when-clicking-on-a-geojson-object-layer-on-the-map-using-the-worldmap-in-node/45928 "2021-06-23T13:17:49Z")

</div>

Hello, I am working on a project on Node-RED using the worldmap module. I loaded a geojson file on the map and I want to receive click actions and the object's attributes when I click one. I am using the "worldmap in" n…

---

## [How to delete Group and Tab in node-red?](https://discourse.nodered.org/t/how-to-delete-group-and-tab-in-node-red/47521)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 3\
**Last updated:** [23 June 2021 11:26 UTC](https://discourse.nodered.org/t/how-to-delete-group-and-tab-in-node-red/47521 "2021-06-23T11:26:19Z")

</div>

Dear All : Like title, How to do? Thank u.

---

## [Showing connect/disconect status of nodered server to client website using PHP](https://discourse.nodered.org/t/showing-connect-disconect-status-of-nodered-server-to-client-website-using-php/47516)

<div class="topic-metadata">

**Author:** [@dragon2ball\_00](https://discourse.nodered.org/u/dragon2ball_00)\
**Replies:** 2\
**Last updated:** [23 June 2021 10:55 UTC](https://discourse.nodered.org/t/showing-connect-disconect-status-of-nodered-server-to-client-website-using-php/47516 "2021-06-23T10:55:25Z")

</div>

Hi, i'm a new to nodered i'm looking for a simplest way to show connect status of nodered server on a website i created using PHP, to show whether it is on power or not....( it kinda like messenger on facebook, if us…

---

## [How to convert json](https://discourse.nodered.org/t/how-to-convert-json/47515)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 2\
**Last updated:** [23 June 2021 10:08 UTC](https://discourse.nodered.org/t/how-to-convert-json/47515 "2021-06-23T10:08:19Z")

</div>

I'm use json and it give me json like this { "0": { "id": 1, "Address": 16401, "Name": "EE\_Time\_Cfg\_i\_TimeZoneOffset", "val": 0, "Default1": "60", "Unit": "min", …

---

## [Npm start error](https://discourse.nodered.org/t/npm-start-error/47518)

<div class="topic-metadata">

**Author:** [@stackxin](https://discourse.nodered.org/u/stackxin)\
**Replies:** 5\
**Last updated:** [23 June 2021 09:52 UTC](https://discourse.nodered.org/t/npm-start-error/47518 "2021-06-23T09:52:53Z")

</div>

$ npm start node-red@1.2.26 start E:\\git\\gitlab-hx\\node-red node packages/node\_modules/node-red/red.js 23 Jun 17:10:54 - \[info\] Welcome to Node-RED 23 Jun 17:10:54 - \[info\] Node-RED version: v1.2.10 23 Jun 17:10:5…

---

## [Same Serial Port Connected in Two Flow files Not working](https://discourse.nodered.org/t/same-serial-port-connected-in-two-flow-files-not-working/47274)

<div class="topic-metadata">

**Author:** [@avinash-choudhary](https://discourse.nodered.org/u/avinash-choudhary)\
**Replies:** 7\
**Last updated:** [23 June 2021 09:29 UTC](https://discourse.nodered.org/t/same-serial-port-connected-in-two-flow-files-not-working/47274 "2021-06-23T09:29:43Z")

</div>

Hi Team I am trying to add COM2 in two flow files Flow1 and Flow2. The data is displayed in both flows initially . But when we disable and enable Flow1 then the Flow2 serial port is not displaying the data though it di…

---

## [How to know how many node-red library has install?](https://discourse.nodered.org/t/how-to-know-how-many-node-red-library-has-install/47507)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 2\
**Last updated:** [23 June 2021 08:11 UTC](https://discourse.nodered.org/t/how-to-know-how-many-node-red-library-has-install/47507 "2021-06-23T08:11:55Z")

</div>

Daer Sir : Like Title, How to know(windows)? Thank u.

---

## [How node-red flow to code?](https://discourse.nodered.org/t/how-node-red-flow-to-code/47513)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 2\
**Last updated:** [23 June 2021 08:11 UTC](https://discourse.nodered.org/t/how-node-red-flow-to-code/47513 "2021-06-23T08:11:03Z")

</div>

Dear All : Like title, How to generated the code ? Thank u.

---

## [Msg.payload splitting](https://discourse.nodered.org/t/msg-payload-splitting/47504)

<div class="topic-metadata">

**Author:** [@sjmotew](https://discourse.nodered.org/u/sjmotew)\
**Replies:** 9\
**Last updated:** [23 June 2021 03:12 UTC](https://discourse.nodered.org/t/msg-payload-splitting/47504 "2021-06-23T03:12:17Z")

</div>

Hi! Many posts on this, still having problems with what should be "simple" Debug Output from node which collects an MQTT topic: {"topic":"BlueIris/LND/Status","payload":"{ \\"type\\": \\"MOTION\_A\\", \\"trigger\\": \\"ON\\" }…

---

## [Create array of objects in a change node?](https://discourse.nodered.org/t/create-array-of-objects-in-a-change-node/47497)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [22 June 2021 20:10 UTC](https://discourse.nodered.org/t/create-array-of-objects-in-a-change-node/47497 "2021-06-22T20:10:25Z")

</div>

Trying to create/populate an array of objects via a change node... to avoid creating a function node and line code to do same. I at times need to prime an array, say initialize array that is sent to a table, that is lat…

---

## [Implemento json](https://discourse.nodered.org/t/implemento-json/47492)

<div class="topic-metadata">

**Author:** [@emerson4594](https://discourse.nodered.org/u/emerson4594)\
**Replies:** 2\
**Last updated:** [22 June 2021 19:02 UTC](https://discourse.nodered.org/t/implemento-json/47492 "2021-06-22T19:02:27Z")

</div>

\[ { "series": \[ "X" \], "data": \[ \[ 100, 85, 60, 40 \] \], "lab…

---

## [How to control Z-Wave devices from another HA instance in Node-Red](https://discourse.nodered.org/t/how-to-control-z-wave-devices-from-another-ha-instance-in-node-red/47464)

<div class="topic-metadata">

**Author:** [@RonMa](https://discourse.nodered.org/u/RonMa)\
**Replies:** 10\
**Last updated:** [22 June 2021 16:32 UTC](https://discourse.nodered.org/t/how-to-control-z-wave-devices-from-another-ha-instance-in-node-red/47464 "2021-06-22T16:32:06Z")

</div>

Hi there, today I finally managed to install my Z-Wave empowered roller shutter with the fuse only blowing two times :nerd\_face: Now that I hooked up the device to my Home Assistant system, I like to control the device …

---

## [Sending and Listening to TCP](https://discourse.nodered.org/t/sending-and-listening-to-tcp/47386)

<div class="topic-metadata">

**Author:** [@KidSquid](https://discourse.nodered.org/u/KidSquid)\
**Replies:** 7\
**Last updated:** [22 June 2021 14:27 UTC](https://discourse.nodered.org/t/sending-and-listening-to-tcp/47386 "2021-06-22T14:27:37Z")

</div>

Hello - I have a Vantage Qlink lighting system that has what they call an IP Enabler. Through this enabler a system can send and receive serial text commands to turn light on and off. I currently have OpenHab connecte…

---

## [TypeError: Cannot read property 'config' of null](https://discourse.nodered.org/t/typeerror-cannot-read-property-config-of-null/47446)

<div class="topic-metadata">

**Author:** [@Franco](https://discourse.nodered.org/u/Franco)\
**Replies:** 11\
**Last updated:** [22 June 2021 14:24 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-config-of-null/47446 "2021-06-22T14:24:01Z")

</div>

Hello, Each time I run the program that I have done, it works but node-red shows me the following error 3 times: TypeError: Cannot read property 'config' of null Do you know what can I do?

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

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