# General

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

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

**Page:** 937

---

## [Sudo in Exec node](https://discourse.nodered.org/t/sudo-in-exec-node/4762)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 1\
**Last updated:** [11 November 2018 08:25 UTC](https://discourse.nodered.org/t/sudo-in-exec-node/4762 "2018-11-11T08:25:36Z")

</div>

I'd like to run the following command when I press a button in the dashboard: sudo systemctl restart socat.service When I use the exec mode to do so, its output is this: sudo: no tty present and no askpass program spec…

---

## [How do you check HTML as multiple messages?](https://discourse.nodered.org/t/how-do-you-check-html-as-multiple-messages/4751)

<div class="topic-metadata">

**Author:** [@MichalNemecek](https://discourse.nodered.org/u/MichalNemecek)\
**Replies:** 12\
**Last updated:** [10 November 2018 20:41 UTC](https://discourse.nodered.org/t/how-do-you-check-html-as-multiple-messages/4751 "2018-11-10T20:41:40Z")

</div>

Hi, I am trying to process data from supremenewyork.com/shop. I have this chain so far. HTTP input \> HTTP request \> HTML \> HTML \> join \> HTTP response. the HTTP request gets the wanted site, the first HTML gets the HTML …

---

## [Node-Red uses UTC](https://discourse.nodered.org/t/node-red-uses-utc/4712)

<div class="topic-metadata">

**Author:** [@DerekG007](https://discourse.nodered.org/u/DerekG007)\
**Replies:** 3\
**Last updated:** [10 November 2018 00:36 UTC](https://discourse.nodered.org/t/node-red-uses-utc/4712 "2018-11-10T00:36:29Z")

</div>

Why does node-red convert time to utc. I have records in a mysql data that is stored in local time. When you execute the stored procedure from phpMyAdmin, the datetime field is correct, but for some reason the mysql co…

---

## [HTTP request node makes node-red freeze when waiting for response?](https://discourse.nodered.org/t/http-request-node-makes-node-red-freeze-when-waiting-for-response/4700)

<div class="topic-metadata">

**Author:** [@mmoole](https://discourse.nodered.org/u/mmoole)\
**Replies:** 2\
**Last updated:** [9 November 2018 23:05 UTC](https://discourse.nodered.org/t/http-request-node-makes-node-red-freeze-when-waiting-for-response/4700 "2018-11-09T23:05:58Z")

</div>

Hi, at first I thought I might have done something wrong so I set up my raspberry 1 again completely fresh with node-red. But after this I am running into the same problem again, so here it is: Node-red on a Raspberry …

---

## [Encoding 4 byte Float value](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727)

<div class="topic-metadata">

**Author:** [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Replies:** 2\
**Last updated:** [9 November 2018 21:56 UTC](https://discourse.nodered.org/t/encoding-4-byte-float-value/4727 "2018-11-09T21:56:07Z")

</div>

Hi, I am trying to convert 4 byte float value to decimal. Here you find the encoding steps : Thank you for help

---

## [SNMP Set - NoSuchName](https://discourse.nodered.org/t/snmp-set-nosuchname/4697)

<div class="topic-metadata">

**Author:** [@jch360](https://discourse.nodered.org/u/jch360)\
**Replies:** 20\
**Last updated:** [9 November 2018 21:49 UTC](https://discourse.nodered.org/t/snmp-set-nosuchname/4697 "2018-11-09T21:49:06Z")

</div>

I am trying to just pass a simple value across and seem to be encountering a problem. Any suggestions on this? I have confirmed the value being set is a Unsigned32 \[ { "oid": "1.3.6.1.4.1.29956.3.1.2.1.1.6.1", "type…

---

## [Sending msg.payload inside template function](https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669)

<div class="topic-metadata">

**Author:** [@BastianG](https://discourse.nodered.org/u/BastianG)\
**Replies:** 3\
**Last updated:** [9 November 2018 19:56 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669 "2018-11-09T19:56:30Z")

</div>

Hi All. I'm using a dashboard template to make some buttons. Each button fires an simple function inside the template. I have problems sending a msg.payload from the function. I can't use the predefined ng-click. Here…

---

## [Export Charts to Jpeg](https://discourse.nodered.org/t/export-charts-to-jpeg/4693)

<div class="topic-metadata">

**Author:** [@Jeremy](https://discourse.nodered.org/u/Jeremy)\
**Replies:** 5\
**Last updated:** [9 November 2018 17:26 UTC](https://discourse.nodered.org/t/export-charts-to-jpeg/4693 "2018-11-09T17:26:56Z")

</div>

Hello everyone, I have a question that I can not solve. My flow creates graphs of temperature, co2 etc. I would like the graphics to be saved automatically, at specific times for example, like jpg, to be able to reco…

---

## [A node-red-contrib-dsm question](https://discourse.nodered.org/t/a-node-red-contrib-dsm-question/4723)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [9 November 2018 16:54 UTC](https://discourse.nodered.org/t/a-node-red-contrib-dsm-question/4723 "2018-11-09T16:54:02Z")

</div>

I have a question about the dsm node. I am looking at the hysteresis example on the wiki \[1\] and I want to change it so that it only sends a message on the way down and does nothing on the way up. I tried "cro…

---

## [Telegram bot, inline keyboard](https://discourse.nodered.org/t/telegram-bot-inline-keyboard/4714)

<div class="topic-metadata">

**Author:** [@Folgore](https://discourse.nodered.org/u/Folgore)\
**Replies:** 3\
**Last updated:** [9 November 2018 13:44 UTC](https://discourse.nodered.org/t/telegram-bot-inline-keyboard/4714 "2018-11-09T13:44:39Z")

</div>

Hi, I have create a telegram bot. I have create my inline keybord. Now I want update the message and the button. The button texti !\[Screenshot\_20181109-101337\_\_01|281x500\](upload://8Usl61XozxE5ZSptbAxjTlUbtU2.j peg) s no…

---

## [Question from a noob: Connecting to sqlite 3](https://discourse.nodered.org/t/question-from-a-noob-connecting-to-sqlite-3/4675)

<div class="topic-metadata">

**Author:** [@Eclairee](https://discourse.nodered.org/u/Eclairee)\
**Replies:** 7\
**Last updated:** [9 November 2018 10:40 UTC](https://discourse.nodered.org/t/question-from-a-noob-connecting-to-sqlite-3/4675 "2018-11-09T10:40:45Z")

</div>

Hi!! I'm new using node - red. My project is basically this one So here my question: How can I get the values from ehall and gas in order to send to my DB? how can I get the 10 higher values from the bd? or can i …

---

## [Set deploy "modified node only" by default](https://discourse.nodered.org/t/set-deploy-modified-node-only-by-default/4689)

<div class="topic-metadata">

**Author:** [@sragneau](https://discourse.nodered.org/u/sragneau)\
**Replies:** 3\
**Last updated:** [9 November 2018 08:11 UTC](https://discourse.nodered.org/t/set-deploy-modified-node-only-by-default/4689 "2018-11-09T08:11:15Z")

</div>

Hi, Is there any file where we can inform the application to start with the option deploy : "modified node only" thx in advance.

---

## [Does node-red supports over the air (OTA) update?](https://discourse.nodered.org/t/does-node-red-supports-over-the-air-ota-update/4674)

<div class="topic-metadata">

**Author:** [@ahmad](https://discourse.nodered.org/u/ahmad)\
**Replies:** 10\
**Last updated:** [9 November 2018 02:34 UTC](https://discourse.nodered.org/t/does-node-red-supports-over-the-air-ota-update/4674 "2018-11-09T02:34:29Z")

</div>

I have to upgrade my Sonoff Tasmoda firmware through OTA using node-red platform. Please help me to achieve this. It would be highly appreciated. Best Regards: Ahmad

---

## [Error with neopixels](https://discourse.nodered.org/t/error-with-neopixels/3379)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 14\
**Last updated:** [9 November 2018 00:27 UTC](https://discourse.nodered.org/t/error-with-neopixels/3379 "2018-11-09T00:27:14Z")

</div>

Setup a new pi - installed Node-RED from script - added Blocky and Neopixel nodes using palette I'm getting this showing up in editor and this in the terminal window pi@27Jun18\_19Sep18:~/.node-red $ node-red 23 Sep …

---

## [Isolate a value](https://discourse.nodered.org/t/isolate-a-value/4661)

<div class="topic-metadata">

**Author:** [@rogier](https://discourse.nodered.org/u/rogier)\
**Replies:** 3\
**Last updated:** [8 November 2018 19:19 UTC](https://discourse.nodered.org/t/isolate-a-value/4661 "2018-11-08T19:19:37Z")

</div>

Hello, Iam looking for a solution to isolate a "value" with the Function Node. The Node have 2 outputs. The value is 0 or 1, If it is 0 a output must deploy a 1, the other output does nothing if de value is 1 the ot…

---

## [Raspberry Pi Modbus TCP, port 502 not listening](https://discourse.nodered.org/t/raspberry-pi-modbus-tcp-port-502-not-listening/4625)

<div class="topic-metadata">

**Author:** [@kfsoo01](https://discourse.nodered.org/u/kfsoo01)\
**Replies:** 13\
**Last updated:** [8 November 2018 17:54 UTC](https://discourse.nodered.org/t/raspberry-pi-modbus-tcp-port-502-not-listening/4625 "2018-11-08T17:54:31Z")

</div>

Hi, I installed node-red in my Raspberry Pi, and would like to apply with Modbus TCP; however, it is not listening on port 502. Please help.. pi@raspberrypi:~ $ netstat --tcp --listening Active Internet connections (o…

---

## [Get web html5 position](https://discourse.nodered.org/t/get-web-html5-position/4408)

<div class="topic-metadata">

**Author:** [@did](https://discourse.nodered.org/u/did)\
**Replies:** 2\
**Last updated:** [8 November 2018 15:12 UTC](https://discourse.nodered.org/t/get-web-html5-position/4408 "2018-11-08T15:12:23Z")

</div>

HI all, do you know how to get the web browser position (gps) from html5. I have found the code, but how implement it ??!!! Anyone can create a node for this please ?

---

## [Extract object name and put it in a flow variable (help needed)](https://discourse.nodered.org/t/extract-object-name-and-put-it-in-a-flow-variable-help-needed/4676)

<div class="topic-metadata">

**Author:** [@iridiu](https://discourse.nodered.org/u/iridiu)\
**Replies:** 3\
**Last updated:** [8 November 2018 13:36 UTC](https://discourse.nodered.org/t/extract-object-name-and-put-it-in-a-flow-variable-help-needed/4676 "2018-11-08T13:36:44Z")

</div>

I am trying to setup a router from Node-Red dashboard via JSON-RPC, payload response received from router is a JSON object: {"\_msgid":"124cf3d6.b47a9c","topic":"","payload":{"jsonrpc":"2.0","id":6,"result":\[0,{"values":…

---

## [XML node options](https://discourse.nodered.org/t/xml-node-options/4682)

<div class="topic-metadata">

**Author:** [@ziggemannen](https://discourse.nodered.org/u/ziggemannen)\
**Replies:** 0\
**Last updated:** [8 November 2018 13:04 UTC](https://discourse.nodered.org/t/xml-node-options/4682 "2018-11-08T13:04:34Z")

</div>

Hi. New to the Node-RED and are exploring it using various channels. I have however stumbled on a simple task that I can't get grips on. I have a http POST sending an XML, that i convert to JS object using a XML node.…

---

## [How to block a function in other Tabs](https://discourse.nodered.org/t/how-to-block-a-function-in-other-tabs/4678)

<div class="topic-metadata">

**Author:** [@BastianG](https://discourse.nodered.org/u/BastianG)\
**Replies:** 1\
**Last updated:** [8 November 2018 12:23 UTC](https://discourse.nodered.org/t/how-to-block-a-function-in-other-tabs/4678 "2018-11-08T12:23:28Z")

</div>

Hi All. I currently have 3 Tab nodes on my Dashboard. I'm using some inputs from my RPI to trigger a ui control. BUT It should only work in 1 of the 3 Tab Nodes. Is there a "Tab Node" property/id which I can use in my…

---

## [Open URL when Raspberry Pin was set by motion sensor](https://discourse.nodered.org/t/open-url-when-raspberry-pin-was-set-by-motion-sensor/4629)

<div class="topic-metadata">

**Author:** [@Tebee](https://discourse.nodered.org/u/Tebee)\
**Replies:** 3\
**Last updated:** [8 November 2018 10:24 UTC](https://discourse.nodered.org/t/open-url-when-raspberry-pin-was-set-by-motion-sensor/4629 "2018-11-08T10:24:44Z")

</div>

Hi, I have a little problem and also a solution but it doesn't work. I want to open a URL like www.google.com when a Raspberry Pin was set by a motion detector (for example). The GPIO Pin is connected to the function a…

---

## [Options for NR -\> NR comms across the internet](https://discourse.nodered.org/t/options-for-nr-nr-comms-across-the-internet/4645)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 15\
**Last updated:** [8 November 2018 09:00 UTC](https://discourse.nodered.org/t/options-for-nr-nr-comms-across-the-internet/4645 "2018-11-08T09:00:31Z")

</div>

I am looking options for communicating securely between two instances of node red across the internet. Open one of the NRs to the internet. I don't want to do this if at all possible. I am not happy that the s/w is …

---

## [Cannot install node-red on Ubuntu 18.04 - Even using source](https://discourse.nodered.org/t/cannot-install-node-red-on-ubuntu-18-04-even-using-source/4637)

<div class="topic-metadata">

**Author:** [@alucard001](https://discourse.nodered.org/u/alucard001)\
**Replies:** 5\
**Last updated:** [8 November 2018 08:55 UTC](https://discourse.nodered.org/t/cannot-install-node-red-on-ubuntu-18-04-even-using-source/4637 "2018-11-08T08:55:29Z")

</div>

Hi all Keep it short, here is the error I got: As you can see, I am using sudo npm install --production, but it still shows Permission denied. alucard@chatbot:/home/alucard/node-red/node-red-0.19.5$ sudo npm install -…

---

## ["TypeError: msg.payload.split is not a function"](https://discourse.nodered.org/t/typeerror-msg-payload-split-is-not-a-function/4656)

<div class="topic-metadata">

**Author:** [@AD3D](https://discourse.nodered.org/u/AD3D)\
**Replies:** 7\
**Last updated:** [8 November 2018 00:30 UTC](https://discourse.nodered.org/t/typeerror-msg-payload-split-is-not-a-function/4656 "2018-11-08T00:30:34Z")

</div>

I am trying to learn this, so was reading the info on this page: Redirecting…. Mainly because I would like to split this: Output is coming from a html node as a single message containing an array in msg.payload. (in…

---

## [MQTT Only Sends to Most Recent Subscribed Client](https://discourse.nodered.org/t/mqtt-only-sends-to-most-recent-subscribed-client/4626)

<div class="topic-metadata">

**Author:** [@Dustin](https://discourse.nodered.org/u/Dustin)\
**Replies:** 3\
**Last updated:** [7 November 2018 20:56 UTC](https://discourse.nodered.org/t/mqtt-only-sends-to-most-recent-subscribed-client/4626 "2018-11-07T20:56:03Z")

</div>

Using Node Red to control 12 machines via MQTT. Have Mosca MQTT Broker Node, and the MQTT Out node to send a message on topic "Movement". The machines use a Particle Photon connected via wifi to receive the commands se…

---

## [How to Disable Security Loging](https://discourse.nodered.org/t/how-to-disable-security-loging/4646)

<div class="topic-metadata">

**Author:** [@Wagner\_Amaral](https://discourse.nodered.org/u/Wagner_Amaral)\
**Replies:** 1\
**Last updated:** [7 November 2018 20:29 UTC](https://discourse.nodered.org/t/how-to-disable-security-loging/4646 "2018-11-07T20:29:33Z")

</div>

Hi all After configured the Security part as described in the node-red web site, I can't logging with my user and password. Now I'm need to disable this function, and this is not work. So, I need some help with this..…

---

## [Google Calendar - more than next even](https://discourse.nodered.org/t/google-calendar-more-than-next-even/4638)

<div class="topic-metadata">

**Author:** [@kristi5](https://discourse.nodered.org/u/kristi5)\
**Replies:** 1\
**Last updated:** [7 November 2018 16:23 UTC](https://discourse.nodered.org/t/google-calendar-more-than-next-even/4638 "2018-11-07T16:23:49Z")

</div>

I would like to have possibility to set number of next events or limit by time span. The node can generate single message with array of results or maybe multiple messages for each returned event. Are there any plans to …

---

## [Package vulnerabilities](https://discourse.nodered.org/t/package-vulnerabilities/4540)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 26\
**Last updated:** [7 November 2018 03:52 UTC](https://discourse.nodered.org/t/package-vulnerabilities/4540 "2018-11-07T03:52:33Z")

</div>

While updating my computers to the latest and fixing other problems I got this warning shown to me. pi@PortaPi:~/.node-red $ sudo npm uninstall node-red-node-rbe npm WARN node-red-project@0.0.1 No repository field. npm …

---

## [Uninstall custom node](https://discourse.nodered.org/t/uninstall-custom-node/4605)

<div class="topic-metadata">

**Author:** [@gabriel-delira](https://discourse.nodered.org/u/gabriel-delira)\
**Replies:** 5\
**Last updated:** [6 November 2018 20:30 UTC](https://discourse.nodered.org/t/uninstall-custom-node/4605 "2018-11-06T20:30:09Z")

</div>

Hi, i've created some customs nodes and linked with my local node-red server using: sudo npm link my-custom-node But now I want to remove 1 of them from my modules. I tried use sudo npm uninstall my-custom-node-to-rem…

---

## [Customizing deployment to send settings.json to other nodered Instance](https://discourse.nodered.org/t/customizing-deployment-to-send-settings-json-to-other-nodered-instance/4594)

<div class="topic-metadata">

**Author:** [@ErickWendel](https://discourse.nodered.org/u/ErickWendel)\
**Replies:** 4\
**Last updated:** [6 November 2018 12:34 UTC](https://discourse.nodered.org/t/customizing-deployment-to-send-settings-json-to-other-nodered-instance/4594 "2018-11-06T12:34:06Z")

</div>

Hi Guys. We are thinking to develop a distributed nodered cluster to make something like a Studio. My customers will draw your own flows but I want to customize the deploy button. When my customer clicks on the deploy bu…

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

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