# General

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

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

**Page:** 485

---

## [Frigate Image (URL) to Android TV Notification Home assistant call service](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142)

<div class="topic-metadata">

**Author:** [@ceaswaran](https://discourse.nodered.org/u/ceaswaran)\
**Replies:** 3\
**Last updated:** [13 October 2021 09:13 UTC](https://discourse.nodered.org/t/frigate-image-url-to-android-tv-notification-home-assistant-call-service/52142 "2021-10-13T09:13:29Z")

</div>

Hi, I want to get a notification with an image of a person standing near my front door on my android TV. Background: I get the url of the image from the Frigate clips folder thru MQTT (Eventid) & want to push the image…

---

## [How to Insert Value to PostgreSQL over Node Red](https://discourse.nodered.org/t/how-to-insert-value-to-postgresql-over-node-red/51994)

<div class="topic-metadata">

**Author:** [@nurmosfet](https://discourse.nodered.org/u/nurmosfet)\
**Replies:** 22\
**Last updated:** [12 October 2021 22:28 UTC](https://discourse.nodered.org/t/how-to-insert-value-to-postgresql-over-node-red/51994 "2021-10-12T22:28:55Z")

</div>

I'm a beginner with Node-Red, I try to insert data to PostgreSQL but the data is still not inserted on the table. I don't have any idea what the reason is? Perhaps someone could help me to solve it? thank you I attache…

---

## [Problem sending sensor data to Gsheet](https://discourse.nodered.org/t/problem-sending-sensor-data-to-gsheet/52024)

<div class="topic-metadata">

**Author:** [@CJsolanonavarro](https://discourse.nodered.org/u/CJsolanonavarro)\
**Replies:** 2\
**Last updated:** [12 October 2021 17:16 UTC](https://discourse.nodered.org/t/problem-sending-sensor-data-to-gsheet/52024 "2021-10-12T17:16:49Z")

</div>

Hi everyone, I am receiving data through the serial port as a string and I want it to write the values ​​in each column and what it does is write the whole chain of values ​​in a column. I am doing I pass it through a …

---

## [Filtering Array Data from 2 source and matching them?](https://discourse.nodered.org/t/filtering-array-data-from-2-source-and-matching-them/52127)

<div class="topic-metadata">

**Author:** [@fangfang94](https://discourse.nodered.org/u/fangfang94)\
**Replies:** 3\
**Last updated:** [12 October 2021 16:26 UTC](https://discourse.nodered.org/t/filtering-array-data-from-2-source-and-matching-them/52127 "2021-10-12T16:26:26Z")

</div>

sorry for my broken english and i will try to explain my question well this is one of my array. and here is the second one. my objective is to create a table to match both of these data. I am trying to match the…

---

## [Problem with WSC11 weather station](https://discourse.nodered.org/t/problem-with-wsc11-weather-station/52066)

<div class="topic-metadata">

**Author:** [@Tamar](https://discourse.nodered.org/u/Tamar)\
**Replies:** 3\
**Last updated:** [12 October 2021 15:19 UTC](https://discourse.nodered.org/t/problem-with-wsc11-weather-station/52066 "2021-10-12T15:19:28Z")

</div>

Hi, I have struggled with the WSC11 weather station for quite some time now and I can't get any information out from there by using Node-Red. Can someone help me to understand the first steps of what I have to do, to g…

---

## [I cannot install Windows build tools for Node-red instalation](https://discourse.nodered.org/t/i-cannot-install-windows-build-tools-for-node-red-instalation/52126)

<div class="topic-metadata">

**Author:** [@Aash9](https://discourse.nodered.org/u/Aash9)\
**Replies:** 3\
**Last updated:** [12 October 2021 10:58 UTC](https://discourse.nodered.org/t/i-cannot-install-windows-build-tools-for-node-red-instalation/52126 "2021-10-12T10:58:20Z")

</div>

\*\*\*Processing: 2021-10-12T09\_51\_15\_223Z-debug.log... EBUSY: resource busy or locked, rename 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node\_modules\\windows-build-tools' -\> 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\no…

---

## [Function node help](https://discourse.nodered.org/t/function-node-help/52122)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 6\
**Last updated:** [12 October 2021 09:55 UTC](https://discourse.nodered.org/t/function-node-help/52122 "2021-10-12T09:55:34Z")

</div>

Hi I must be missing something simple but i am trying to return from the below number to zero decimal places, nothing i try seems to work, any suggestion appreciated const numbers = \[bedroomtemp, bedroomventtemp, loung…

---

## [Agile Outgoing Octopus Help Needed](https://discourse.nodered.org/t/agile-outgoing-octopus-help-needed/50974)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 4\
**Last updated:** [12 October 2021 08:45 UTC](https://discourse.nodered.org/t/agile-outgoing-octopus-help-needed/50974 "2021-10-12T08:45:02Z")

</div>

Looking for some help on reading the Agile Outgoing Octopus Tariff rates, has anyone done this? thanks Dave

---

## [Search Array for name, SSID or MAC](https://discourse.nodered.org/t/search-array-for-name-ssid-or-mac/51560)

<div class="topic-metadata">

**Author:** [@droidblast](https://discourse.nodered.org/u/droidblast)\
**Replies:** 10\
**Last updated:** [12 October 2021 04:00 UTC](https://discourse.nodered.org/t/search-array-for-name-ssid-or-mac/51560 "2021-10-12T04:00:18Z")

</div>

How or where do I search a array? Using the Unifi Node looking for RogueAPs mac and signal strength.

---

## [Node-red machine learning(I need help)](https://discourse.nodered.org/t/node-red-machine-learning-i-need-help/52046)

<div class="topic-metadata">

**Author:** [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Replies:** 8\
**Last updated:** [12 October 2021 02:22 UTC](https://discourse.nodered.org/t/node-red-machine-learning-i-need-help/52046 "2021-10-12T02:22:48Z")

</div>

Hello dear friends, well actually im a newbie in node-red and still learning, however im getting a project which going to use node-red machine learning.. for now im kind of clueless but i would explain regarding my proje…

---

## [How to do \<CR\> in a \`template\` node](https://discourse.nodered.org/t/how-to-do-cr-in-a-template-node/52111)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [12 October 2021 00:34 UTC](https://discourse.nodered.org/t/how-to-do-cr-in-a-template-node/52111 "2021-10-12T00:34:29Z")

</div>

I've looked quickly but am not quite understanding it and/or I can't apply it to what I have. Example: \[{"id":"b0ec15c6f3951031","type":"inject","z":"65c9b63cb09879a0","name":"","props":\[{"p":"a","v":"This ","vt":"str"…

---

## [Node-Red will not connect to Mosquitto broker](https://discourse.nodered.org/t/node-red-will-not-connect-to-mosquitto-broker/52070)

<div class="topic-metadata">

**Author:** [@summitsurf](https://discourse.nodered.org/u/summitsurf)\
**Replies:** 15\
**Last updated:** [11 October 2021 20:51 UTC](https://discourse.nodered.org/t/node-red-will-not-connect-to-mosquitto-broker/52070 "2021-10-11T20:51:05Z")

</div>

Brand new install of Node-Red on a VM in a docker container. Same machine that is running the broker but Mosquitto is not in a docker container. From the mosquitto clients CLI I can connect from another VM to the broker …

---

## [Node-red-contrib-redplc-ntptime : ntptime](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089)

<div class="topic-metadata">

**Author:** [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Replies:** 3\
**Last updated:** [11 October 2021 19:46 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089 "2021-10-11T19:46:39Z")

</div>

Hello, i want to work with a NTP-Server and for that i use node-red-contrib-redplc-ntptime. Its giving me the time but not very stable. The inject-node injects the global var every 1 sec into the flow. What i dont und…

---

## [Function to convert b64 to hex?](https://discourse.nodered.org/t/function-to-convert-b64-to-hex/51035)

<div class="topic-metadata">

**Author:** [@Djamel-png](https://discourse.nodered.org/u/Djamel-png)\
**Replies:** 7\
**Last updated:** [11 October 2021 15:36 UTC](https://discourse.nodered.org/t/function-to-convert-b64-to-hex/51035 "2021-10-11T15:36:26Z")

</div>

Dear, I need to create a formula to convert b64 to hexa. Thanks in advances

---

## [How do I access property in nested object?](https://discourse.nodered.org/t/how-do-i-access-property-in-nested-object/52007)

<div class="topic-metadata">

**Author:** [@burton666](https://discourse.nodered.org/u/burton666)\
**Replies:** 18\
**Last updated:** [11 October 2021 15:11 UTC](https://discourse.nodered.org/t/how-do-i-access-property-in-nested-object/52007 "2021-10-11T15:11:19Z")

</div>

I am trying to understand how to access the boolean match:true in the object in the picture. I tried using: sensor.double\_take\_cliff.data.attributes.match.match = true in a events:state node but it does not seam to trig…

---

## [Value greater than X for Y seconds?](https://discourse.nodered.org/t/value-greater-than-x-for-y-seconds/52092)

<div class="topic-metadata">

**Author:** [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Replies:** 3\
**Last updated:** [11 October 2021 12:50 UTC](https://discourse.nodered.org/t/value-greater-than-x-for-y-seconds/52092 "2021-10-11T12:50:51Z")

</div>

I'm trying to do an automation based on power consumption. It's the common If consumption is greater than 4500W for 15 seconds, send me an alert. I've been searching how to do it but couldn't find anything. And I've been…

---

## [Template node javascript object evaluation - stringify](https://discourse.nodered.org/t/template-node-javascript-object-evaluation-stringify/52083)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 6\
**Last updated:** [11 October 2021 11:28 UTC](https://discourse.nodered.org/t/template-node-javascript-object-evaluation-stringify/52083 "2021-10-11T11:28:11Z")

</div>

I am trying to use a template node to setup a javascript object, eg.: I want to stringify it to make it available via a http endpoint. So I use a function node; msg.payload = JSON.stringify(msg.payload) return msg …

---

## [Open file where path to file = payload](https://discourse.nodered.org/t/open-file-where-path-to-file-payload/52088)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 2\
**Last updated:** [11 October 2021 11:13 UTC](https://discourse.nodered.org/t/open-file-where-path-to-file-payload/52088 "2021-10-11T11:13:22Z")

</div>

I open file like this but I want to open file from variable payload like this How to do that ?

---

## [How to REMOTE debug with VS code?](https://discourse.nodered.org/t/how-to-remote-debug-with-vs-code/52067)

<div class="topic-metadata">

**Author:** [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Replies:** 9\
**Last updated:** [11 October 2021 08:49 UTC](https://discourse.nodered.org/t/how-to-remote-debug-with-vs-code/52067 "2021-10-11T08:49:24Z")

</div>

Since I could not set up remote debugging with the big Visual Studio 2017: I've red all topics related here, took the advice and finally was able install VS code so it can see and edit the .js files on my Raspberry Pi. …

---

## [Is it possible to receive customized OPC UA A&C EventTypes over node-red-contrib-opcua?](https://discourse.nodered.org/t/is-it-possible-to-receive-customized-opc-ua-a-c-eventtypes-over-node-red-contrib-opcua/52080)

<div class="topic-metadata">

**Author:** [@Lena](https://discourse.nodered.org/u/Lena)\
**Replies:** 0\
**Last updated:** [11 October 2021 07:12 UTC](https://discourse.nodered.org/t/is-it-possible-to-receive-customized-opc-ua-a-c-eventtypes-over-node-red-contrib-opcua/52080 "2021-10-11T07:12:01Z")

</div>

Hey, I would like to create a OPC UA Client in Node-Red, which receive the Alarms from my Siemens PLC S7-1500. The alarm handling in the PLC is programmed with the program-alarm function. So the OPC UA Server sends the …

---

## [How to build a video surveillance system from scratch?](https://discourse.nodered.org/t/how-to-build-a-video-surveillance-system-from-scratch/51077)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 35\
**Last updated:** [11 October 2021 05:39 UTC](https://discourse.nodered.org/t/how-to-build-a-video-surveillance-system-from-scratch/51077 "2021-10-11T05:39:08Z")

</div>

Hi folks, It is time for me to build a new video surveillance system from scratch. I have bought an usb SSD disc for my Raspberry Pi 4, and I would like to build this system based on the nodes from @kevinGodell (who ha…

---

## [How to send a command like a real keyboard](https://discourse.nodered.org/t/how-to-send-a-command-like-a-real-keyboard/15788)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 11\
**Last updated:** [10 October 2021 03:32 UTC](https://discourse.nodered.org/t/how-to-send-a-command-like-a-real-keyboard/15788 "2021-10-10T03:32:47Z")

</div>

Hi, i searched the whole day in the web, but i cannot find what i need. could someone tell me how a commad (Raspberry pi with Rasbian) has to be that it simulate a real keybord input? In my case i created a display wi…

---

## [Expiring tokens](https://discourse.nodered.org/t/expiring-tokens/52050)

<div class="topic-metadata">

**Author:** [@humphrysr](https://discourse.nodered.org/u/humphrysr)\
**Replies:** 6\
**Last updated:** [10 October 2021 15:43 UTC](https://discourse.nodered.org/t/expiring-tokens/52050 "2021-10-10T15:43:19Z")

</div>

I have to use bearer tokens which expire after one hour. It is a requirement to make a new JWT and get a new access token. This is because of two claims and their relationship to the epoch. Can NR be configured to let …

---

## [Node to display fa-icon](https://discourse.nodered.org/t/node-to-display-fa-icon/52063)

<div class="topic-metadata">

**Author:** [@warnert](https://discourse.nodered.org/u/warnert)\
**Replies:** 1\
**Last updated:** [10 October 2021 14:46 UTC](https://discourse.nodered.org/t/node-to-display-fa-icon/52063 "2021-10-10T14:46:06Z")

</div>

Is there a node that only displays a fa-icon as a status e.g. an alarm is enabled or disabled but that is not clickable, so output-only? I have been searching the library but cannot find something. I now use node-red-co…

---

## [\[Solved\] How to get ObjectName (Object property) from array](https://discourse.nodered.org/t/solved-how-to-get-objectname-object-property-from-array/52064)

<div class="topic-metadata">

**Author:** [@fangfang94](https://discourse.nodered.org/u/fangfang94)\
**Replies:** 6\
**Last updated:** [10 October 2021 14:07 UTC](https://discourse.nodered.org/t/solved-how-to-get-objectname-object-property-from-array/52064 "2021-10-10T14:07:27Z")

</div>

I don't know is it called ObjectName anot, but I am trying to get all of the title. From this payload I want to get the name of the data"Union ID" "Player" etc and put it in a flow variable:

---

## [Logging an user's timestamp](https://discourse.nodered.org/t/logging-an-users-timestamp/52042)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 13\
**Last updated:** [10 October 2021 12:49 UTC](https://discourse.nodered.org/t/logging-an-users-timestamp/52042 "2021-10-10T12:49:37Z")

</div>

Hi, I'd like to log into my DB the user whenever he/she logs in. How do I go by? In other words, how can I capture the login of a user? I tried the "is-logged-in" node but I'm not sure it's what I need. The users are …

---

## [Run task before NR startup and when you click on the deploy button](https://discourse.nodered.org/t/run-task-before-nr-startup-and-when-you-click-on-the-deploy-button/51613)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 18\
**Last updated:** [9 October 2021 20:53 UTC](https://discourse.nodered.org/t/run-task-before-nr-startup-and-when-you-click-on-the-deploy-button/51613 "2021-10-09T20:53:39Z")

</div>

Hello, Do you think it is possible to: Run a private task before the nodered service is started ? Launch a script when using the Deploy button ? For the 1st case, we can obviously create a script that does the private…

---

## [Modbus: How to read 32 bit signed numbers](https://discourse.nodered.org/t/modbus-how-to-read-32-bit-signed-numbers/52021)

<div class="topic-metadata">

**Author:** [@krish7](https://discourse.nodered.org/u/krish7)\
**Replies:** 3\
**Last updated:** [9 October 2021 17:13 UTC](https://discourse.nodered.org/t/modbus-how-to-read-32-bit-signed-numbers/52021 "2021-10-09T17:13:50Z")

</div>

How to read 32 signed numbers over modbus ? I was using var msg1 = {payload:(msg.payload\[1\]\<\<16)+msg.payload\[0\]}; code to create 32 bit numbers and toFloat function to convert it to float. However it's not showing the…

---

## [How does modbus function work?](https://discourse.nodered.org/t/how-does-modbus-function-work/52040)

<div class="topic-metadata">

**Author:** [@denosore](https://discourse.nodered.org/u/denosore)\
**Replies:** 1\
**Last updated:** [9 October 2021 16:04 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040 "2021-10-09T16:04:38Z")

</div>

okay so hi, i want to ask something about how does modbus function work? i have a project in internship, we're using LUX sensor and it has 3 outputs; humidity, lux, and temp. for the first node red it was all messy becau…

---

## [How to play an voice-audio from Telegram in Raspberry using Node-Red](https://discourse.nodered.org/t/how-to-play-an-voice-audio-from-telegram-in-raspberry-using-node-red/50821)

<div class="topic-metadata">

**Author:** [@pQbas](https://discourse.nodered.org/u/pQbas)\
**Replies:** 0\
**Last updated:** [9 September 2021 14:29 UTC](https://discourse.nodered.org/t/how-to-play-an-voice-audio-from-telegram-in-raspberry-using-node-red/50821 "2021-09-09T14:29:26Z")

</div>

Hello. I'm new on Node-RED and I don't know how it works all nodes. I want to play an voice-audio recorded in Telegram on the Raspberry Pi using node-red. I'm not sure which nodes to use to do it, because I'm New on N…

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

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