# General

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

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

**Page:** 629

---

## [Node-red project and github](https://discourse.nodered.org/t/node-red-project-and-github/1344)

<div class="topic-metadata">

**Author:** [@hary](https://discourse.nodered.org/u/hary)\
**Replies:** 8\
**Last updated:** [4 January 2021 17:28 UTC](https://discourse.nodered.org/t/node-red-project-and-github/1344 "2021-01-04T17:28:16Z")

</div>

Hi. I’m trying to use node-red project and I think I managed to fit it correctly locally despite I can’t find a .git file in my ~/.node-red folder. (If somebody can tell where is the .git file) But Now I would like to …

---

## [Node - Red stop running](https://discourse.nodered.org/t/node-red-stop-running/38511)

<div class="topic-metadata">

**Author:** [@fendle](https://discourse.nodered.org/u/fendle)\
**Replies:** 1\
**Last updated:** [4 January 2021 16:31 UTC](https://discourse.nodered.org/t/node-red-stop-running/38511 "2021-01-04T16:31:52Z")

</div>

Hi, maybe someone can help me to find out, why node-red is stopping. I see in the node-red log files, it shall be stopped, but I don't know why. My Node Red is running on Raspbian 4 Jan 08:00:08 - \[info\] \[yeelight-co…

---

## [Switch/inject button?](https://discourse.nodered.org/t/switch-inject-button/38341)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 3\
**Last updated:** [4 January 2021 15:01 UTC](https://discourse.nodered.org/t/switch-inject-button/38341 "2021-01-04T15:01:45Z")

</div>

I have a code that works when I press the inject button. My inject button will inject a true every 1 sec so my flow will continuously run. How do I do the same thing with a dashboard switch?

---

## [Sqlite pragma command](https://discourse.nodered.org/t/sqlite-pragma-command/38439)

<div class="topic-metadata">

**Author:** [@Petr](https://discourse.nodered.org/u/Petr)\
**Replies:** 20\
**Last updated:** [4 January 2021 11:54 UTC](https://discourse.nodered.org/t/sqlite-pragma-command/38439 "2021-01-04T11:54:13Z")

</div>

Is there a way to run pragma commands when the node-red-node-sqlite is creating a connection to the database? The purpose to do this is a performance tuning

---

## [Programation and Telegram Node](https://discourse.nodered.org/t/programation-and-telegram-node/38501)

<div class="topic-metadata">

**Author:** [@Roger](https://discourse.nodered.org/u/Roger)\
**Replies:** 17\
**Last updated:** [4 January 2021 11:50 UTC](https://discourse.nodered.org/t/programation-and-telegram-node/38501 "2021-01-04T11:50:59Z")

</div>

Hello, I'm trying to use telegram to advise a high temperature from my sensor and I have two doubts. Firstly I need to do a function to filter out temperatures up to 30. Secondly in Telegram I can't solve the problem ab…

---

## [Flow.get syntax](https://discourse.nodered.org/t/flow-get-syntax/38145)

<div class="topic-metadata">

**Author:** [@edstobi](https://discourse.nodered.org/u/edstobi)\
**Replies:** 12\
**Last updated:** [4 January 2021 11:22 UTC](https://discourse.nodered.org/t/flow-get-syntax/38145 "2021-01-04T11:22:44Z")

</div>

hello, can someone help me with the flow.get syntax. var shd = flow.get('schedule\_G2','groupID.G2.shd\_12.ontopic'); msg.payload=shd; return msg; I only want to read this one value and I am desperate because I always…

---

## [Reading I2C registers to access e.g. MPU-9250](https://discourse.nodered.org/t/reading-i2c-registers-to-access-e-g-mpu-9250/38240)

<div class="topic-metadata">

**Author:** [@SirReal-surreal](https://discourse.nodered.org/u/SirReal-surreal)\
**Replies:** 8\
**Last updated:** [4 January 2021 11:03 UTC](https://discourse.nodered.org/t/reading-i2c-registers-to-access-e-g-mpu-9250/38240 "2021-01-04T11:03:51Z")

</div>

Hi there! I want to access a MPU-9250 via Node-RED. Unfortunately the node-red-contrib-mpu9250 is not working anymore with newer node.js systems and up to now the git issue is pending but I need the data, so I decided t…

---

## [Forced initialisation](https://discourse.nodered.org/t/forced-initialisation/38314)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 3\
**Last updated:** [4 January 2021 08:34 UTC](https://discourse.nodered.org/t/forced-initialisation/38314 "2021-01-04T08:34:43Z")

</div>

Chaps Was wondering how to automatically force an initialisation of a flow after deployment. My flow won't function correctly until I enter information by moving a slider in the dashboard which then sends data to a func…

---

## [Using Node-Red with Water Level Monitoring from prior recipe](https://discourse.nodered.org/t/using-node-red-with-water-level-monitoring-from-prior-recipe/10861)

<div class="topic-metadata">

**Author:** [@phreshsprout](https://discourse.nodered.org/u/phreshsprout)\
**Replies:** 23\
**Last updated:** [4 January 2021 02:58 UTC](https://discourse.nodered.org/t/using-node-red-with-water-level-monitoring-from-prior-recipe/10861 "2021-01-04T02:58:56Z")

</div>

I'm attempting to follow this Water Level Monitoring recipe and it's my first experience with Node-Red: I've put together everything with the raspberry pi and am stuck at the following code that if I understand correc…

---

## [DSM Node - Operating Time - Scope of variables](https://discourse.nodered.org/t/dsm-node-operating-time-scope-of-variables/37866)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 14\
**Last updated:** [4 January 2021 00:33 UTC](https://discourse.nodered.org/t/dsm-node-operating-time-scope-of-variables/37866 "2021-01-04T00:33:34Z")

</div>

Hey Guys, I am using @cflurin DSM nodes and have implemented a pool pump run time in the system. Seems to do just what i want for a daily pump run timer - which i then display on a dashboard and then reset the runtime …

---

## [Switch SmartPlug according to Humidity](https://discourse.nodered.org/t/switch-smartplug-according-to-humidity/38481)

<div class="topic-metadata">

**Author:** [@Attila](https://discourse.nodered.org/u/Attila)\
**Replies:** 4\
**Last updated:** [3 January 2021 23:16 UTC](https://discourse.nodered.org/t/switch-smartplug-according-to-humidity/38481 "2021-01-03T23:16:53Z")

</div>

Hey guys, i´m really new in the Node-Red world and I need some help please. I have constructed a Weather Station from an ESP8226, wich is successfully delivering the data in Node-Red. I would like to switch my Smart …

---

## [Can't Change Project Encryption Key](https://discourse.nodered.org/t/cant-change-project-encryption-key/35957)

<div class="topic-metadata">

**Author:** [@Botched1](https://discourse.nodered.org/u/Botched1)\
**Replies:** 1\
**Last updated:** [3 January 2021 23:04 UTC](https://discourse.nodered.org/t/cant-change-project-encryption-key/35957 "2021-01-03T23:04:21Z")

</div>

Running v1.2.3 in a docker container with persistence for the /data folder. I was going to reset my project key, but can't (see below). Probably something stupid I'm doing wrong, but don't know what? My project file cu…

---

## [Unable to get temperature data from climate home assistant](https://discourse.nodered.org/t/unable-to-get-temperature-data-from-climate-home-assistant/38420)

<div class="topic-metadata">

**Author:** [@bkr1969](https://discourse.nodered.org/u/bkr1969)\
**Replies:** 13\
**Last updated:** [3 January 2021 22:16 UTC](https://discourse.nodered.org/t/unable-to-get-temperature-data-from-climate-home-assistant/38420 "2021-01-03T22:16:09Z")

</div>

I have a thermostat automation in Home Assistant that triggers when the thermostat is set above a certain temp. I cannot figure out how to read this value in Node Red. I have tried both polling and state change, but bo…

---

## [Kodi and logitech harmony flow](https://discourse.nodered.org/t/kodi-and-logitech-harmony-flow/38435)

<div class="topic-metadata">

**Author:** [@M4TVW](https://discourse.nodered.org/u/M4TVW)\
**Replies:** 7\
**Last updated:** [3 January 2021 20:38 UTC](https://discourse.nodered.org/t/kodi-and-logitech-harmony-flow/38435 "2021-01-03T20:38:08Z")

</div>

Hello all So my basic system currently is a Logitech harmony remote, Kodi and Fibaro HC2 platform. All of these 3 items are working fine in node red...however i want to do some advanced stuff and combine them I have a…

---

## [Node-red to redis server running on NON localhost](https://discourse.nodered.org/t/node-red-to-redis-server-running-on-non-localhost/38438)

<div class="topic-metadata">

**Author:** [@kingkong9001](https://discourse.nodered.org/u/kingkong9001)\
**Replies:** 3\
**Last updated:** [3 January 2021 20:23 UTC](https://discourse.nodered.org/t/node-red-to-redis-server-running-on-non-localhost/38438 "2021-01-03T20:23:16Z")

</div>

I'm looking for a way to send MQTT received data to a Redis database instance that isn't running on localhost. I have looked at the contrib nodes out there and don't see a solution. Does anyone have any luck doing this…

---

## [Math formula in Function node for Darkroom Timer Program](https://discourse.nodered.org/t/math-formula-in-function-node-for-darkroom-timer-program/38452)

<div class="topic-metadata">

**Author:** [@johnrt](https://discourse.nodered.org/u/johnrt)\
**Replies:** 4\
**Last updated:** [3 January 2021 13:22 UTC](https://discourse.nodered.org/t/math-formula-in-function-node-for-darkroom-timer-program/38452 "2021-01-03T13:22:03Z")

</div>

Hello, I am a newbie to the forums and Node Red too. I am using Node Red to control my darkroom equipment using 2 remote control sockets. The user inputs a time that triggers a counter, turns the light on and then when…

---

## [RaspberryPi NTP server messed by node red?](https://discourse.nodered.org/t/raspberrypi-ntp-server-messed-by-node-red/38436)

<div class="topic-metadata">

**Author:** [@sylvanoMTL](https://discourse.nodered.org/u/sylvanoMTL)\
**Replies:** 8\
**Last updated:** [3 January 2021 12:53 UTC](https://discourse.nodered.org/t/raspberrypi-ntp-server-messed-by-node-red/38436 "2021-01-03T12:53:14Z")

</div>

Here is the description of my system: I have an ESP32 which connect to a Raspberry Pi configured as an access point. On my raspberry pi i have a NTP server : I installed ntpd and i modify the ntpd.conf to add the line…

---

## [How to parse an output from exec node](https://discourse.nodered.org/t/how-to-parse-an-output-from-exec-node/38449)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [3 January 2021 11:59 UTC](https://discourse.nodered.org/t/how-to-parse-an-output-from-exec-node/38449 "2021-01-03T11:59:41Z")

</div>

I probably should know, but can't remember. This is the flow: \[{"id":"21311374.ebd54c","type":"inject","z":"703c61ac.837e1","name":"","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat":"","crontab":"","once":f…

---

## [JOIN two strings into one string](https://discourse.nodered.org/t/join-two-strings-into-one-string/38423)

<div class="topic-metadata">

**Author:** [@jarmoboy](https://discourse.nodered.org/u/jarmoboy)\
**Replies:** 3\
**Last updated:** [3 January 2021 10:29 UTC](https://discourse.nodered.org/t/join-two-strings-into-one-string/38423 "2021-01-03T10:29:48Z")

</div>

Hi, Iam trying to send url command to differnet ip. Command is always the same but IP differs. I have about 45 IP. So i dont want to have 45 injects to set ON and 45 to set OFF. My idea was "a list of IP" + command = sen…

---

## [Creating a JSON object?](https://discourse.nodered.org/t/creating-a-json-object/38426)

<div class="topic-metadata">

**Author:** [@trevor](https://discourse.nodered.org/u/trevor)\
**Replies:** 6\
**Last updated:** [3 January 2021 09:13 UTC](https://discourse.nodered.org/t/creating-a-json-object/38426 "2021-01-03T09:13:32Z")

</div>

I have two input nodes, one is a payload string (12:30) and the other is a payload number(19) Im trying to create a JSON object using the first nodes payload as the key and the second node payload as the value. i.e {"1…

---

## [Simple sequencing - best practice](https://discourse.nodered.org/t/simple-sequencing-best-practice/38432)

<div class="topic-metadata">

**Author:** [@johncohn](https://discourse.nodered.org/u/johncohn)\
**Replies:** 1\
**Last updated:** [3 January 2021 00:29 UTC](https://discourse.nodered.org/t/simple-sequencing-best-practice/38432 "2021-01-03T00:29:39Z")

</div>

Folks, Happy new year.. . I'm working on a 10m long keyboard project.. I need some general suggestions on a way to run a simple sequence of commands in order .. eg command 1: flash all keys in random order for 10 se…

---

## [Pulling global values and and merging other variables using json](https://discourse.nodered.org/t/pulling-global-values-and-and-merging-other-variables-using-json/38258)

<div class="topic-metadata">

**Author:** [@Zbrooklyn](https://discourse.nodered.org/u/Zbrooklyn)\
**Replies:** 17\
**Last updated:** [2 January 2021 23:34 UTC](https://discourse.nodered.org/t/pulling-global-values-and-and-merging-other-variables-using-json/38258 "2021-01-02T23:34:45Z")

</div>

I need to pull a global variable using JSON how do I do that I was able to pull the global value like this var ObtainedData = global.get("GlobalRoom"); msg.payload = ObtainedData; return msg; based on this video htt…

---

## [Palette "in use" no nodes to be found](https://discourse.nodered.org/t/palette-in-use-no-nodes-to-be-found/38434)

<div class="topic-metadata">

**Author:** [@Spackstor](https://discourse.nodered.org/u/Spackstor)\
**Replies:** 1\
**Last updated:** [2 January 2021 23:07 UTC](https://discourse.nodered.org/t/palette-in-use-no-nodes-to-be-found/38434 "2021-01-02T23:07:03Z")

</div>

I would like to remove node-red-contrib-alexa-home-skill but it shows as "in use", which I assume is telling me I have a node somewhere, but I cannot find any relevant nodes. When I remove that pallette my flows stop wor…

---

## [How to extract values from a json object](https://discourse.nodered.org/t/how-to-extract-values-from-a-json-object/38412)

<div class="topic-metadata">

**Author:** [@hary](https://discourse.nodered.org/u/hary)\
**Replies:** 2\
**Last updated:** [2 January 2021 20:28 UTC](https://discourse.nodered.org/t/how-to-extract-values-from-a-json-object/38412 "2021-01-02T20:28:40Z")

</div>

Hi. I have a json object that I want to extract some value from, but I cant' find the way to do it. I 'm able to see the entire object in the debug window, but I'm not able to extract what I need and then send it to di…

---

## [MQTT data send from BSB-LAN arduino program](https://discourse.nodered.org/t/mqtt-data-send-from-bsb-lan-arduino-program/38334)

<div class="topic-metadata">

**Author:** [@Smitex](https://discourse.nodered.org/u/Smitex)\
**Replies:** 20\
**Last updated:** [2 January 2021 19:33 UTC](https://discourse.nodered.org/t/mqtt-data-send-from-bsb-lan-arduino-program/38334 "2021-01-02T19:33:15Z")

</div>

Hi, I want to send data from an arduino program BSB-LAN that sends MQTT. I revieved them and made a program in rednode to send the data to Domoticz I see some data in domoticz but I want to send it to a specific IDX i…

---

## [Help. Killed my Node Red with update](https://discourse.nodered.org/t/help-killed-my-node-red-with-update/38394)

<div class="topic-metadata">

**Author:** [@Purclewan](https://discourse.nodered.org/u/Purclewan)\
**Replies:** 12\
**Last updated:** [2 January 2021 18:02 UTC](https://discourse.nodered.org/t/help-killed-my-node-red-with-update/38394 "2021-01-02T18:02:56Z")

</div>

Hi, I seem to have managed to screw up my Node Red Installation (Running Win7 on a stand alone machine). I had tried to run an update without realising that the latest versions of nodejs are no longer supporting Win 7. …

---

## [Sony Audio Help](https://discourse.nodered.org/t/sony-audio-help/38407)

<div class="topic-metadata">

**Author:** [@fogmajor](https://discourse.nodered.org/u/fogmajor)\
**Replies:** 0\
**Last updated:** [2 January 2021 17:01 UTC](https://discourse.nodered.org/t/sony-audio-help/38407 "2021-01-02T17:01:02Z")

</div>

Good Afternoon I wonder if someone might be able to please point me in the right direction. I have installed Jens-Uwe Rossbach's Sony-Audio palette version 1.6. I found the IP address of my Sony UBP-X700 bluray player…

---

## [How can I change property name in object array?](https://discourse.nodered.org/t/how-can-i-change-property-name-in-object-array/38398)

<div class="topic-metadata">

**Author:** [@kgalilio](https://discourse.nodered.org/u/kgalilio)\
**Replies:** 7\
**Last updated:** [2 January 2021 15:39 UTC](https://discourse.nodered.org/t/how-can-i-change-property-name-in-object-array/38398 "2021-01-02T15:39:47Z")

</div>

I need to change the property name from msg.annotations.class to msg.annotations.label in the following object: {"\_msgid":"ee4eb36c.5aa95","classes":\[{"bbox":\[18.903613090515137,158.94189834594727,47.1713924407959,77.05…

---

## [Node-red multi-server sync and/or deployment](https://discourse.nodered.org/t/node-red-multi-server-sync-and-or-deployment/38392)

<div class="topic-metadata">

**Author:** [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Replies:** 1\
**Last updated:** [2 January 2021 13:53 UTC](https://discourse.nodered.org/t/node-red-multi-server-sync-and-or-deployment/38392 "2021-01-02T13:53:29Z")

</div>

I have multiple servers running the same flow... Is there any good solutions to automating deployment or syncing and deploying changes from source server A, out to target servers B, C, D ... etc? Instead of manually Ex…

---

## [Send an Url to Chromium](https://discourse.nodered.org/t/send-an-url-to-chromium/38377)

<div class="topic-metadata">

**Author:** [@Zyan](https://discourse.nodered.org/u/Zyan)\
**Replies:** 1\
**Last updated:** [2 January 2021 10:04 UTC](https://discourse.nodered.org/t/send-an-url-to-chromium/38377 "2021-01-02T10:04:39Z")

</div>

Hey guys , is it Possible to send a Url From Node Red to Chromium Browser? I have an Raspberry Pi 3b+ and it just Displays a Dashboard in Kiosk Mode. And i would like to change the showed Website via Node Red, so when…

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

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