# General

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

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

**Page:** 427

---

## [I accidentally hid some Flows from my Editor and I dont know how to unhide them](https://discourse.nodered.org/t/i-accidentally-hid-some-flows-from-my-editor-and-i-dont-know-how-to-unhide-them/57728)

<div class="topic-metadata">

**Author:** [@nodenoob](https://discourse.nodered.org/u/nodenoob)\
**Replies:** 3\
**Last updated:** [7 February 2022 14:37 UTC](https://discourse.nodered.org/t/i-accidentally-hid-some-flows-from-my-editor-and-i-dont-know-how-to-unhide-them/57728 "2022-02-07T14:37:19Z")

</div>

Please tell me where I can unhide the flows. Thanks in advance

---

## [Correct syntax for Fritz DECT 301 Window Switch](https://discourse.nodered.org/t/correct-syntax-for-fritz-dect-301-window-switch/57898)

<div class="topic-metadata">

**Author:** [@luedi](https://discourse.nodered.org/u/luedi)\
**Replies:** 2\
**Last updated:** [7 February 2022 14:27 UTC](https://discourse.nodered.org/t/correct-syntax-for-fritz-dect-301-window-switch/57898 "2022-02-07T14:27:01Z")

</div>

Hi, Using Homebridge with NR and homebridge-fritz-platform (https://github.com/seydx/homebridge-fritz-platform) I can't seem to figure out the correct syntax to pass on the right command (on/off, true/false) for a win…

---

## [Get weather info (met.no) from Homeassistant into Node Red](https://discourse.nodered.org/t/get-weather-info-met-no-from-homeassistant-into-node-red/57712)

<div class="topic-metadata">

**Author:** [@Troedler77](https://discourse.nodered.org/u/Troedler77)\
**Replies:** 2\
**Last updated:** [7 February 2022 14:17 UTC](https://discourse.nodered.org/t/get-weather-info-met-no-from-homeassistant-into-node-red/57712 "2022-02-07T14:17:05Z")

</div>

Hello As an absolutly beginner I want to get weather Info from Homeassistant (met.no) into Node Red. Could someone help me to transfer the standard info from Homeassistant into Node Red ? Thanks in advance .... Cord

---

## [Problem with node-red-contrib-actionflows since upgrade to 2.2.0](https://discourse.nodered.org/t/problem-with-node-red-contrib-actionflows-since-upgrade-to-2-2-0/57368)

<div class="topic-metadata">

**Author:** [@Roland](https://discourse.nodered.org/u/Roland)\
**Replies:** 46\
**Last updated:** [7 February 2022 14:04 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-actionflows-since-upgrade-to-2-2-0/57368 "2022-02-07T14:04:05Z")

</div>

Since upgrade to 2.2.0, the "action in"-process isn't triggered anymore. Log-Entry RED.settings.functionGlobalContext.get is not a function /app/node\_modules/node-red-contrib-actionflows/actionflows/actionflows.js:270…

---

## [Kodi HA - get real time player position every minute in HA](https://discourse.nodered.org/t/kodi-ha-get-real-time-player-position-every-minute-in-ha/57666)

<div class="topic-metadata">

**Author:** [@flankoBlanko](https://discourse.nodered.org/u/flankoBlanko)\
**Replies:** 7\
**Last updated:** [7 February 2022 11:37 UTC](https://discourse.nodered.org/t/kodi-ha-get-real-time-player-position-every-minute-in-ha/57666 "2022-02-07T11:37:40Z")

</div>

Hi, i'm setting up a light to show when a movie is in the first half and when is in the second part in order to set up an intermission when watching a movie. i'm trying to get a node red to recognize when the movie pla…

---

## [Function with multiple outputs](https://discourse.nodered.org/t/function-with-multiple-outputs/57897)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 6\
**Last updated:** [7 February 2022 10:57 UTC](https://discourse.nodered.org/t/function-with-multiple-outputs/57897 "2022-02-07T10:57:43Z")

</div>

Hi, I use often function with multiple outputs; If I need to send payload = "ON" (only one value) I write this function .... var msg1 = {payload:"ON", topic:"light"} but when I need to send payload = {"state":"ON"} h…

---

## [Multiple motion sensors with multiple lamps](https://discourse.nodered.org/t/multiple-motion-sensors-with-multiple-lamps/57909)

<div class="topic-metadata">

**Author:** [@strip3z](https://discourse.nodered.org/u/strip3z)\
**Replies:** 1\
**Last updated:** [7 February 2022 10:06 UTC](https://discourse.nodered.org/t/multiple-motion-sensors-with-multiple-lamps/57909 "2022-02-07T10:06:03Z")

</div>

Node-RED v2.1.4 Hi all, I tried finding the answer to my problem on this form aswel as on Google, no luck. I'm very sorry if I missed something....here I go: I have 7 lamps and 3 motion sensors. Each sensor drives a di…

---

## [Extract data from payload](https://discourse.nodered.org/t/extract-data-from-payload/57860)

<div class="topic-metadata">

**Author:** [@Giulioa](https://discourse.nodered.org/u/Giulioa)\
**Replies:** 8\
**Last updated:** [7 February 2022 09:54 UTC](https://discourse.nodered.org/t/extract-data-from-payload/57860 "2022-02-07T09:54:08Z")

</div>

Hi everybodies, I am new in this field and tried to connect MQTT broker to the TTN network and extract the message. In the next step I want to put this data into an influx db and visualize data in grafana. The device …

---

## [Uibuilder and vue-bottom-navigation](https://discourse.nodered.org/t/uibuilder-and-vue-bottom-navigation/57822)

<div class="topic-metadata">

**Author:** [@pompopom](https://discourse.nodered.org/u/pompopom)\
**Replies:** 13\
**Last updated:** [7 February 2022 08:35 UTC](https://discourse.nodered.org/t/uibuilder-and-vue-bottom-navigation/57822 "2022-02-07T08:35:59Z")

</div>

Hi everyone, After my first experience with the dashboard I'm ready to move forward to the next level. So my eye dropped on the uibuilder. To be honest I already looked at it long time ago, but since I wasn't familiar a…

---

## [NodeRed 2.2 - Error 502](https://discourse.nodered.org/t/nodered-2-2-error-502/57609)

<div class="topic-metadata">

**Author:** [@nsoares](https://discourse.nodered.org/u/nsoares)\
**Replies:** 12\
**Last updated:** [7 February 2022 08:13 UTC](https://discourse.nodered.org/t/nodered-2-2-error-502/57609 "2022-02-07T08:13:32Z")

</div>

Hi good people. I've been running node-red without any issues with Home-Assistant. Today I've realized it was automatically updated to version 2.2, and while creating a simple flow, I notice an "error 502". All the flo…

---

## [Anlaysing NodeRED memory - problem "Referenceerror: process is not defined"](https://discourse.nodered.org/t/anlaysing-nodered-memory-problem-referenceerror-process-is-not-defined/57904)

<div class="topic-metadata">

**Author:** [@lostbits](https://discourse.nodered.org/u/lostbits)\
**Replies:** 0\
**Last updated:** [7 February 2022 07:43 UTC](https://discourse.nodered.org/t/anlaysing-nodered-memory-problem-referenceerror-process-is-not-defined/57904 "2022-02-07T07:43:31Z")

</div>

Hey there, I am using NodeRED 2.2.0 with nodeJS 16.3 on 2 machines using windows 10. On both machines I like to analyze the memory consumption, since I sometimes see a heap error like this: Since there is a pretty g…

---

## [Worldmap / Minimap Problem](https://discourse.nodered.org/t/worldmap-minimap-problem/57891)

<div class="topic-metadata">

**Author:** [@Lafayette](https://discourse.nodered.org/u/Lafayette)\
**Replies:** 0\
**Last updated:** [6 February 2022 23:53 UTC](https://discourse.nodered.org/t/worldmap-minimap-problem/57891 "2022-02-06T23:53:29Z")

</div>

Hi, I have a problem with the minimap. When I use OSM for the main map AND the minimap everything bugs. the display becomes erratic. Someone has the same pb ? Thx.

---

## [Node-red-contrib-sonos-plus - cannot find any media](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-cannot-find-any-media/57890)

<div class="topic-metadata">

**Author:** [@stevegroom](https://discourse.nodered.org/u/stevegroom)\
**Replies:** 0\
**Last updated:** [6 February 2022 22:23 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-cannot-find-any-media/57890 "2022-02-06T22:23:09Z")

</div>

Been creating some nodes with the nodered-contrib-sonos-plus. I've been successful in playing streaming stations - saved as favorites, but have had zero success in finding any playing any of my albums. I can use the Sono…

---

## [Help with parsing JSON](https://discourse.nodered.org/t/help-with-parsing-json/57856)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 9\
**Last updated:** [6 February 2022 20:52 UTC](https://discourse.nodered.org/t/help-with-parsing-json/57856 "2022-02-06T20:52:16Z")

</div>

Can someone help me to extract "originalDurationInMillis": 335000 from this JSON string? Thanks { "topic": "sensor.stephen\_next\_timer", "payload": "2022-02-05T23:39:36-05:00", "data": { "entity\_id": "s…

---

## [Awesome Node-RED](https://discourse.nodered.org/t/awesome-node-red/57852)

<div class="topic-metadata">

**Author:** [@mbonani](https://discourse.nodered.org/u/mbonani)\
**Replies:** 1\
**Last updated:** [6 February 2022 19:25 UTC](https://discourse.nodered.org/t/awesome-node-red/57852 "2022-02-06T19:25:39Z")

</div>

Today I found this post on Reddit about this awesome awesome list of useful resources for Node-RED. Thanks, @naimo84, for creating this list. Let's make this list even more awesome by sending lots of PRs with suggestio…

---

## [Compare numbers in switch node doesn't work](https://discourse.nodered.org/t/compare-numbers-in-switch-node-doesnt-work/57876)

<div class="topic-metadata">

**Author:** [@Moosbueffel](https://discourse.nodered.org/u/Moosbueffel)\
**Replies:** 6\
**Last updated:** [6 February 2022 16:57 UTC](https://discourse.nodered.org/t/compare-numbers-in-switch-node-doesnt-work/57876 "2022-02-06T16:57:52Z")

</div>

What's wrong comparing numbers with switch node? I don't get an error, so I think my code is correct: The true comes from this function node, where it works: let val = Date.now() / 1000 | 0; // timestamp in sec msg…

---

## [Is there any way to show the switch node labels?](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854)

<div class="topic-metadata">

**Author:** [@xxKeoxx](https://discourse.nodered.org/u/xxKeoxx)\
**Replies:** 7\
**Last updated:** [6 February 2022 16:56 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854 "2022-02-06T16:56:34Z")

</div>

I am trying to find a way to show a label for each output from a switch. Right now its tough to see the path of a flow through a switch without opening the switch node in edit mode. Any advice on how to do that?

---

## [How to detect that a device is offline (bulb not connected to electricity for instance)?](https://discourse.nodered.org/t/how-to-detect-that-a-device-is-offline-bulb-not-connected-to-electricity-for-instance/57873)

<div class="topic-metadata">

**Author:** [@rafaelherrera](https://discourse.nodered.org/u/rafaelherrera)\
**Replies:** 3\
**Last updated:** [6 February 2022 16:36 UTC](https://discourse.nodered.org/t/how-to-detect-that-a-device-is-offline-bulb-not-connected-to-electricity-for-instance/57873 "2022-02-06T16:36:37Z")

</div>

Hello, I wanted to control a light when the other one in the same room is not connected to my home assistant via zigbee2mqtt (because a physical switch diconnected the bulb from electricity). It is a simple case of set…

---

## [Wake on LAN (WOL) node not producing any packets](https://discourse.nodered.org/t/wake-on-lan-wol-node-not-producing-any-packets/57832)

<div class="topic-metadata">

**Author:** [@aa777888-2](https://discourse.nodered.org/u/aa777888-2)\
**Replies:** 8\
**Last updated:** [6 February 2022 13:01 UTC](https://discourse.nodered.org/t/wake-on-lan-wol-node-not-producing-any-packets/57832 "2022-02-06T13:01:51Z")

</div>

Node-RED version: v2.2.0 Node.js version: v16.13.2 Windows\_NT 10.0.19044 x64 LE I made the simplest flow imaginable, an inject node to trigger a WOL node, set up for manual trigger. Using Wireshark I see no WOL outp…

---

## [TCP Node - message splitting question](https://discourse.nodered.org/t/tcp-node-message-splitting-question/57573)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 10\
**Last updated:** [6 February 2022 11:57 UTC](https://discourse.nodered.org/t/tcp-node-message-splitting-question/57573 "2022-02-06T11:57:20Z")

</div>

I am sending 40,002 byte TCP packet from a microcontroller and reading it into Node-RED from the TCP node. I'm reading the contents of the buffer using the debug node. The TCP packet seems to end up as two messages in…

---

## [Including timestamp in a call service to Notify](https://discourse.nodered.org/t/including-timestamp-in-a-call-service-to-notify/57865)

<div class="topic-metadata">

**Author:** [@BerkshireBugsy](https://discourse.nodered.org/u/BerkshireBugsy)\
**Replies:** 4\
**Last updated:** [6 February 2022 11:46 UTC](https://discourse.nodered.org/t/including-timestamp-in-a-call-service-to-notify/57865 "2022-02-06T11:46:00Z")

</div>

First post here - I hope I get this right! I'm running Node Red v2.2.0 on Home Assistant and when certain events happen in NR I want to use the call service function to send a notification to my mobile. This bit I have …

---

## [Presence faker logic](https://discourse.nodered.org/t/presence-faker-logic/57855)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 1\
**Last updated:** [6 February 2022 06:42 UTC](https://discourse.nodered.org/t/presence-faker-logic/57855 "2022-02-06T06:42:59Z")

</div>

I have five lights set on a random schedule. Starting at dusk off at dawn works fine but.... Even though they are random there are times all are on or all are off. I have been thinking about logic to stop all off or all…

---

## [How get or red output from adc mcp3008 in node red](https://discourse.nodered.org/t/how-get-or-red-output-from-adc-mcp3008-in-node-red/56905)

<div class="topic-metadata">

**Author:** [@hasan\_s\_m](https://discourse.nodered.org/u/hasan_s_m)\
**Replies:** 15\
**Last updated:** [6 February 2022 02:20 UTC](https://discourse.nodered.org/t/how-get-or-red-output-from-adc-mcp3008-in-node-red/56905 "2022-02-06T02:20:25Z")

</div>

Hi everyone, Please help about mcp3008 node in node. How can get output for analog ph sensor using mcp3008 adc thanx

---

## [Getting JSON as string from web service](https://discourse.nodered.org/t/getting-json-as-string-from-web-service/57848)

<div class="topic-metadata">

**Author:** [@quarfie](https://discourse.nodered.org/u/quarfie)\
**Replies:** 1\
**Last updated:** [5 February 2022 21:46 UTC](https://discourse.nodered.org/t/getting-json-as-string-from-web-service/57848 "2022-02-05T21:46:09Z")

</div>

I am using HTTP Request node to make a call to a web service. The service returns JSON data and there is a content-type header with value application/json; charset=utf-8, but I have to add a JSON node after to convert it…

---

## [Cancel sending if msg not received in timeout](https://discourse.nodered.org/t/cancel-sending-if-msg-not-received-in-timeout/57824)

<div class="topic-metadata">

**Author:** [@ryan780](https://discourse.nodered.org/u/ryan780)\
**Replies:** 3\
**Last updated:** [5 February 2022 21:05 UTC](https://discourse.nodered.org/t/cancel-sending-if-msg-not-received-in-timeout/57824 "2022-02-05T21:05:22Z")

</div>

I feel that I have read how to do this but I can't seem to figure it out now. What I want to do is delay sending a message for a timeout and if another message is received throw it away and reset the timer continuing to…

---

## [After i modify something data was not uploading , it still show the old data last 30 minsh](https://discourse.nodered.org/t/after-i-modify-something-data-was-not-uploading-it-still-show-the-old-data-last-30-minsh/57841)

<div class="topic-metadata">

**Author:** [@thodsaeakt](https://discourse.nodered.org/u/thodsaeakt)\
**Replies:** 0\
**Last updated:** [5 February 2022 18:30 UTC](https://discourse.nodered.org/t/after-i-modify-something-data-was-not-uploading-it-still-show-the-old-data-last-30-minsh/57841 "2022-02-05T18:30:56Z")

</div>

I not sure what i have been done on update, but when I push the data it not show on the modbus response, it show last data and i don't know what i make mistake it was show 2/6/2022, 1:28:15 AMnode: c7ec503d.f23cfns=2;s…

---

## [Open app in Pushover](https://discourse.nodered.org/t/open-app-in-pushover/57716)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 2\
**Last updated:** [5 February 2022 16:36 UTC](https://discourse.nodered.org/t/open-app-in-pushover/57716 "2022-02-05T16:36:20Z")

</div>

How can I auto open a 3 part app on the Iphone when i click the notification from Pushover?? Is it possible???

---

## [When Excel report is generated both tag value not come in same row, I am very new and sorry for my bad english...please support](https://discourse.nodered.org/t/when-excel-report-is-generated-both-tag-value-not-come-in-same-row-i-am-very-new-and-sorry-for-my-bad-english-please-support/57819)

<div class="topic-metadata">

**Author:** [@jitesh](https://discourse.nodered.org/u/jitesh)\
**Replies:** 4\
**Last updated:** [5 February 2022 15:52 UTC](https://discourse.nodered.org/t/when-excel-report-is-generated-both-tag-value-not-come-in-same-row-i-am-very-new-and-sorry-for-my-bad-english-please-support/57819 "2022-02-05T15:52:22Z")

</div>

\[ { "id": "6565a887b9e27bb2", "type": "tab", "label": "Flow 3", "disabled": false, "info": "" }, { "id": "eea9b78c503b9a85", "type": "function", "z": "6565a887b9e27bb2", "name": "Filename generator", "func":…

---

## [How should I create an api using "OPTIONS" method with the "http in" node?](https://discourse.nodered.org/t/how-should-i-create-an-api-using-options-method-with-the-http-in-node/57780)

<div class="topic-metadata">

**Author:** [@zxsoft](https://discourse.nodered.org/u/zxsoft)\
**Replies:** 5\
**Last updated:** [5 February 2022 14:56 UTC](https://discourse.nodered.org/t/how-should-i-create-an-api-using-options-method-with-the-http-in-node/57780 "2022-02-05T14:56:34Z")

</div>

Please note that I'm talking about the "http in" node, not the "http request" node. I'm developing a http api using node-red, and need to be able to response to the OPTIONS method, but found that the built-in "http in" …

---

## [Splitting Payload Values](https://discourse.nodered.org/t/splitting-payload-values/57805)

<div class="topic-metadata">

**Author:** [@ryan780](https://discourse.nodered.org/u/ryan780)\
**Replies:** 6\
**Last updated:** [5 February 2022 11:33 UTC](https://discourse.nodered.org/t/splitting-payload-values/57805 "2022-02-05T11:33:28Z")

</div>

So, I know there must be an easier way to do this than using a function node, which is what I am doing currently. So, I have an incoming messages which as multiple values stored as JSON data within msg.payload. But the …

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

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