# General

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

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

**Page:** 422

---

## [Question about Buffer Parser and Hex](https://discourse.nodered.org/t/question-about-buffer-parser-and-hex/58403)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 1\
**Last updated:** [15 February 2022 16:33 UTC](https://discourse.nodered.org/t/question-about-buffer-parser-and-hex/58403 "2022-02-15T16:33:05Z")

</div>

Hi, I have a question about the offset "20": \[ { "id": "e4b93f8b54e1a48d", "type": "inject", "z": "4726af68.c62a98", "name": "", "props": \[ { "p":…

---

## [Philips Hue eventstream and huemagic](https://discourse.nodered.org/t/philips-hue-eventstream-and-huemagic/58398)

<div class="topic-metadata">

**Author:** [@luaksz050](https://discourse.nodered.org/u/luaksz050)\
**Replies:** 0\
**Last updated:** [15 February 2022 15:10 UTC](https://discourse.nodered.org/t/philips-hue-eventstream-and-huemagic/58398 "2022-02-15T15:10:58Z")

</div>

Hi im new Node red user. I noticed that most of you are using node-red-contrib-huemagic to automate Hue, my question is does this use API version 2.0 ? I am talking mainly about a function added in the new api / eventst…

---

## [Convert a buffer received via TCP](https://discourse.nodered.org/t/convert-a-buffer-received-via-tcp/58390)

<div class="topic-metadata">

**Author:** [@ChristianLoacker](https://discourse.nodered.org/u/ChristianLoacker)\
**Replies:** 1\
**Last updated:** [15 February 2022 14:23 UTC](https://discourse.nodered.org/t/convert-a-buffer-received-via-tcp/58390 "2022-02-15T14:23:58Z")

</div>

Hi there, I am quite new to Node-RED but very excited! Based on this forum I have been able to send a HEX command over TCP to my Husqvarna Automower - and received an answer as a buffer. So far so good. However - now I …

---

## [Error with node-red-contrib-syslog-input 1.0.1](https://discourse.nodered.org/t/error-with-node-red-contrib-syslog-input-1-0-1/17967)

<div class="topic-metadata">

**Author:** [@heyhogan](https://discourse.nodered.org/u/heyhogan)\
**Replies:** 1\
**Last updated:** [15 February 2022 13:56 UTC](https://discourse.nodered.org/t/error-with-node-red-contrib-syslog-input-1-0-1/17967 "2022-02-15T13:56:20Z")

</div>

I have an application for this node but am running into some issues. I am successfully getting SYSLOG data to hit the input node, but the input node is not happy with the message. It is giving me this error: Invalid …

---

## [MQTT switch on/off](https://discourse.nodered.org/t/mqtt-switch-on-off/58384)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 1\
**Last updated:** [15 February 2022 13:46 UTC](https://discourse.nodered.org/t/mqtt-switch-on-off/58384 "2022-02-15T13:46:55Z")

</div>

Hi, I am reading some data out of the MQTT server, but now I want to switch a smart device with node-red. How can I do that? Which nodes do we need?

---

## [Update home assist node-network does not work modbus tcp nodes](https://discourse.nodered.org/t/update-home-assist-node-network-does-not-work-modbus-tcp-nodes/58385)

<div class="topic-metadata">

**Author:** [@Whastie](https://discourse.nodered.org/u/Whastie)\
**Replies:** 1\
**Last updated:** [15 February 2022 13:41 UTC](https://discourse.nodered.org/t/update-home-assist-node-network-does-not-work-modbus-tcp-nodes/58385 "2022-02-15T13:41:17Z")

</div>

In the latest home assistant update, nodered has updated the modbus modules and there seems to be a problem and they have been disabled and I cannot reinstall or enable them. you can help us. thank you

---

## [General understanding of the 'current state' node](https://discourse.nodered.org/t/general-understanding-of-the-current-state-node/58372)

<div class="topic-metadata">

**Author:** [@TomDK](https://discourse.nodered.org/u/TomDK)\
**Replies:** 2\
**Last updated:** [15 February 2022 10:20 UTC](https://discourse.nodered.org/t/general-understanding-of-the-current-state-node/58372 "2022-02-15T10:20:58Z")

</div>

I have a problem understanding the 'current state' node. Set to check if the light level of a sensor is equal or less than 100, and a state type set to boolean I get two outputs channels: 'if true' and 'if false'. I wou…

---

## [Deleting flows.json e.g. exchange with another one](https://discourse.nodered.org/t/deleting-flows-json-e-g-exchange-with-another-one/57646)

<div class="topic-metadata">

**Author:** [@Bannsaenger](https://discourse.nodered.org/u/Bannsaenger)\
**Replies:** 6\
**Last updated:** [15 February 2022 09:22 UTC](https://discourse.nodered.org/t/deleting-flows-json-e-g-exchange-with-another-one/57646 "2022-02-15T09:22:37Z")

</div>

Hi, I'm running node-red (Version 1.3.7) along with iobroker (Adapter Version 2.4.1). I try to exchange the flows.json with another file which was prepared on another system. After every restart of the node-red the o…

---

## [Has anyone manages to configure viber listener in chatbot node](https://discourse.nodered.org/t/has-anyone-manages-to-configure-viber-listener-in-chatbot-node/58369)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 0\
**Last updated:** [15 February 2022 08:32 UTC](https://discourse.nodered.org/t/has-anyone-manages-to-configure-viber-listener-in-chatbot-node/58369 "2022-02-15T08:32:01Z")

</div>

Dear all, I find Chatbot very useful in theory. I installed it, I wanted to configure Viber listener, based on the instructions, but I got lost. Has anyone managed to configure it? Regards,

---

## [Type already registered when updating](https://discourse.nodered.org/t/type-already-registered-when-updating/58347)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 6\
**Last updated:** [15 February 2022 08:08 UTC](https://discourse.nodered.org/t/type-already-registered-when-updating/58347 "2022-02-15T08:08:47Z")

</div>

I am trying to update node-red-contrib-alexa-remote2-applestrudel, but it shows "Type already registered" in the palette. I believe the reason is related to a conflict with node-red-contrib-alexa-remote2, which I cannot…

---

## [How to link node red to Adlink USB-2405](https://discourse.nodered.org/t/how-to-link-node-red-to-adlink-usb-2405/58072)

<div class="topic-metadata">

**Author:** [@LimSmoKe91](https://discourse.nodered.org/u/LimSmoKe91)\
**Replies:** 2\
**Last updated:** [15 February 2022 05:51 UTC](https://discourse.nodered.org/t/how-to-link-node-red-to-adlink-usb-2405/58072 "2022-02-15T05:51:46Z")

</div>

I have a ubuntu with node-red and a ADlink usb2405 DAQ with acoustic sensor , Would like to know how to configure them and how to have the node red talk with the ADlink USB-2405 device so i could detect sound waves and c…

---

## [Simple pulse generator](https://discourse.nodered.org/t/simple-pulse-generator/58271)

<div class="topic-metadata">

**Author:** [@stevegroom](https://discourse.nodered.org/u/stevegroom)\
**Replies:** 7\
**Last updated:** [15 February 2022 04:33 UTC](https://discourse.nodered.org/t/simple-pulse-generator/58271 "2022-02-15T04:33:27Z")

</div>

Hello, I'm learning how to control loops in NR, but can't seem to debug this simple loop. \[{"id":"43361163d49b32dc","type":"inject","z":"82bb81a69c76160e","name":"Interval 5s","props":\[{"p":"payload.time","v":"","vt…

---

## ["npm does not support Node.js v10.19.0" - Ubuntu](https://discourse.nodered.org/t/npm-does-not-support-node-js-v10-19-0-ubuntu/58350)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 8\
**Last updated:** [15 February 2022 02:28 UTC](https://discourse.nodered.org/t/npm-does-not-support-node-js-v10-19-0-ubuntu/58350 "2022-02-15T02:28:07Z")

</div>

Hi, Appear to have iteratively broken my Node-RED installation, can someone give me a hand getting back on track? First I tried to update node-red-contrib-virtual-smart-home via palette manager, but received an error…

---

## [Comment node (NR v2.1.6) not fitting text - was fine in v2.1.4](https://discourse.nodered.org/t/comment-node-nr-v2-1-6-not-fitting-text-was-fine-in-v2-1-4/58023)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 4\
**Last updated:** [15 February 2022 00:33 UTC](https://discourse.nodered.org/t/comment-node-nr-v2-1-6-not-fitting-text-was-fine-in-v2-1-4/58023 "2022-02-15T00:33:28Z")

</div>

Sinde a picture is worth a thousand words, I'll save two thousand: NR v2.1.4 NR v2.1.6

---

## [Asking about anyones experience with connecting node-red MQTT to AWS Iot Core](https://discourse.nodered.org/t/asking-about-anyones-experience-with-connecting-node-red-mqtt-to-aws-iot-core/57739)

<div class="topic-metadata">

**Author:** [@mellerbeck](https://discourse.nodered.org/u/mellerbeck)\
**Replies:** 4\
**Last updated:** [14 February 2022 22:34 UTC](https://discourse.nodered.org/t/asking-about-anyones-experience-with-connecting-node-red-mqtt-to-aws-iot-core/57739 "2022-02-14T22:34:03Z")

</div>

Looking for folks that have this setup :slight\_smile: I'm curious about the 'use clean session' We have nodes that are publishing and subscribing Based on this post I think we want to uncheck use clean sessions Pers…

---

## [Nr update node.js failed](https://discourse.nodered.org/t/nr-update-node-js-failed/58332)

<div class="topic-metadata">

**Author:** [@edje11](https://discourse.nodered.org/u/edje11)\
**Replies:** 3\
**Last updated:** [14 February 2022 22:04 UTC](https://discourse.nodered.org/t/nr-update-node-js-failed/58332 "2022-02-14T22:04:40Z")

</div>

I'm trying to update my NR setup for a couple of days now with the help of the raspberry bash script. NR update to v2.2.0 is no problem, however node.js will not update to v16, it's still v12 This despite the --node16 o…

---

## [Help for Code revue // scripting settings.js file](https://discourse.nodered.org/t/help-for-code-revue-scripting-settings-js-file/58321)

<div class="topic-metadata">

**Author:** [@bigman](https://discourse.nodered.org/u/bigman)\
**Replies:** 4\
**Last updated:** [14 February 2022 20:56 UTC](https://discourse.nodered.org/t/help-for-code-revue-scripting-settings-js-file/58321 "2022-02-14T20:56:26Z")

</div>

Hi, I dev. some node to recreate my settings.js file on a new machine Warning : If you have specifics settings.js or low NR experience don't try this node I use sublflow $env variable to modify this scripting (i turn …

---

## [How do save JSON values that I'm receiving for MQTT protocol?](https://discourse.nodered.org/t/how-do-save-json-values-that-im-receiving-for-mqtt-protocol/58337)

<div class="topic-metadata">

**Author:** [@Dk\_89](https://discourse.nodered.org/u/Dk_89)\
**Replies:** 4\
**Last updated:** [14 February 2022 20:45 UTC](https://discourse.nodered.org/t/how-do-save-json-values-that-im-receiving-for-mqtt-protocol/58337 "2022-02-14T20:45:01Z")

</div>

I am having trouble saving a value within a specific condition, I get several JSON reads, but I only want to store the value that my variable "YUAUB" returns. Can someone help me? -- msg.payload : Object object varia…

---

## [Different action day/night](https://discourse.nodered.org/t/different-action-day-night/58335)

<div class="topic-metadata">

**Author:** [@maceddy](https://discourse.nodered.org/u/maceddy)\
**Replies:** 2\
**Last updated:** [14 February 2022 20:43 UTC](https://discourse.nodered.org/t/different-action-day-night/58335 "2022-02-14T20:43:48Z")

</div>

I am playing around with weather icons linked to a weather API and the wi icons library. However, I want to split some of the icons in day and night (for example, Clear Sky). I build a function with a switch/case. When…

---

## [Default value in Change node, if there is no value](https://discourse.nodered.org/t/default-value-in-change-node-if-there-is-no-value/58340)

<div class="topic-metadata">

**Author:** [@rhjensen79](https://discourse.nodered.org/u/rhjensen79)\
**Replies:** 3\
**Last updated:** [14 February 2022 19:57 UTC](https://discourse.nodered.org/t/default-value-in-change-node-if-there-is-no-value/58340 "2022-02-14T19:57:45Z")

</div>

Is there a way to set a default value, in case there is no existing value, in a change node ? I can only find examples in function nodes. Thanks :slight\_smile: /Robert

---

## [Change Node does not change payload when using variables](https://discourse.nodered.org/t/change-node-does-not-change-payload-when-using-variables/58287)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 12\
**Last updated:** [14 February 2022 19:11 UTC](https://discourse.nodered.org/t/change-node-does-not-change-payload-when-using-variables/58287 "2022-02-14T19:11:42Z")

</div>

Hope I'm not repeating a question, couldn't find an appropriate existing thread. I'm trying to make a flow that uses flow context variables, rather than static values set throughout different nodes within the flow. So …

---

## [Problem with uninstalling modules](https://discourse.nodered.org/t/problem-with-uninstalling-modules/58298)

<div class="topic-metadata">

**Author:** [@demokedes](https://discourse.nodered.org/u/demokedes)\
**Replies:** 43\
**Last updated:** [14 February 2022 19:04 UTC](https://discourse.nodered.org/t/problem-with-uninstalling-modules/58298 "2022-02-14T19:04:56Z")

</div>

Dear all, Yesterday I tried to install chatbot node through UI----pallete. It started installing...but nothing happened. Most probably I interrupted somewhere. It resulted in very strange behaviour of the server. I man…

---

## [Reading from CSV file](https://discourse.nodered.org/t/reading-from-csv-file/58326)

<div class="topic-metadata">

**Author:** [@Kalo](https://discourse.nodered.org/u/Kalo)\
**Replies:** 5\
**Last updated:** [14 February 2022 18:38 UTC](https://discourse.nodered.org/t/reading-from-csv-file/58326 "2022-02-14T18:38:44Z")

</div>

Hello, I'm new to using NodeRed. I'm reading data from a CSV file. The file I'm reading from has 300+ records. In the debugger, it only shows the LAST 30 records as output. How can I show all the records and start from …

---

## ["node-red-start" command not found](https://discourse.nodered.org/t/node-red-start-command-not-found/58325)

<div class="topic-metadata">

**Author:** [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Replies:** 1\
**Last updated:** [14 February 2022 17:39 UTC](https://discourse.nodered.org/t/node-red-start-command-not-found/58325 "2022-02-14T17:39:02Z")

</div>

I have raspberry pi with Raspbian. When I entered bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) then it is showing the node-red is already installed. …

---

## [Raspberry pi stops sending data to influxdb when ethernet cable is disconnected](https://discourse.nodered.org/t/raspberry-pi-stops-sending-data-to-influxdb-when-ethernet-cable-is-disconnected/58275)

<div class="topic-metadata">

**Author:** [@Mufika](https://discourse.nodered.org/u/Mufika)\
**Replies:** 11\
**Last updated:** [14 February 2022 17:09 UTC](https://discourse.nodered.org/t/raspberry-pi-stops-sending-data-to-influxdb-when-ethernet-cable-is-disconnected/58275 "2022-02-14T17:09:57Z")

</div>

I have a sensor mounted on my raspberry pi (rpi) \[64bit OS\] and I use node red to collect data from the rpi serial port and send it to influxdb database installed on the rpi through a docker container. I've noticed that …

---

## [Home usage, solarproduction, math and with if else then..? need some help](https://discourse.nodered.org/t/home-usage-solarproduction-math-and-with-if-else-then-need-some-help/58254)

<div class="topic-metadata">

**Author:** [@syma33](https://discourse.nodered.org/u/syma33)\
**Replies:** 6\
**Last updated:** [14 February 2022 16:44 UTC](https://discourse.nodered.org/t/home-usage-solarproduction-math-and-with-if-else-then-need-some-help/58254 "2022-02-14T16:44:30Z")

</div>

I suceeded to create a visualisation of power usage at home, it looks like this.... sql table tags includes 1 or 0, picked by the gui, where 1 enable color-arrows and 0 to hide them, the tags in table looks like this.…

---

## [Elfin ew11 mqtt integration nodered](https://discourse.nodered.org/t/elfin-ew11-mqtt-integration-nodered/58250)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 4\
**Last updated:** [14 February 2022 16:32 UTC](https://discourse.nodered.org/t/elfin-ew11-mqtt-integration-nodered/58250 "2022-02-14T16:32:52Z")

</div>

Anybody played with elfin ew11 modbus rtu to wifi/rj45 converter in nodered through its mqtt protocol ? I am looking for a function create the right packages for it read/write holding registers, and decode the response …

---

## [Filename in Exec node](https://discourse.nodered.org/t/filename-in-exec-node/58310)

<div class="topic-metadata">

**Author:** [@Lance99](https://discourse.nodered.org/u/Lance99)\
**Replies:** 11\
**Last updated:** [14 February 2022 13:57 UTC](https://discourse.nodered.org/t/filename-in-exec-node/58310 "2022-02-14T13:57:49Z")

</div>

When a take a picture a function returns time/date. . The function return this output msg.filename : string\[42\] "/home/pi/Pictures/cam3\_20220214-130253.jpg". In the Exec node, I currently have this settings -w 800 -h 600…

---

## [Modbus TCP registers from one server](https://discourse.nodered.org/t/modbus-tcp-registers-from-one-server/58313)

<div class="topic-metadata">

**Author:** [@Milanovic](https://discourse.nodered.org/u/Milanovic)\
**Replies:** 6\
**Last updated:** [14 February 2022 13:29 UTC](https://discourse.nodered.org/t/modbus-tcp-registers-from-one-server/58313 "2022-02-14T13:29:28Z")

</div>

Hi, I am trying to read some Modbus registers with Node-RED, but I have a problem with the registers. The voltage registers are from adress 0 to 46 and the current registers from 128 to 236. When I set the 'Quantity' …

---

## [Scribbletune & Tone.js integration](https://discourse.nodered.org/t/scribbletune-tone-js-integration/58311)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 7\
**Last updated:** [14 February 2022 13:24 UTC](https://discourse.nodered.org/t/scribbletune-tone-js-integration/58311 "2022-02-14T13:24:35Z")

</div>

I'm trying to generate audio using Scribbletune & Tone.js through node-red and have it play on a webpage via Tone... I found this tutorial but not sure how can I integrate webpack, and import scribbletune/browser and to…

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

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