# UDP input two times

**URL:** <https://discourse.nodered.org/t/udp-input-two-times/62795>\
**Category:** General\
**Tags:** function-node\
**Created:** [18 May 2022 09:07 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795 "2022-05-18T09:07:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BWTH](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Post date:** [18 May 2022 09:07 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/1 "2022-05-18T09:07:31Z")

</div>

hi  
from my player i get an udp message. when i grap the massage with an udp receiver from pc it works. the string comes once in, but when i do the same with node red on raspberry, the string comes in two times. so is this a problem of node red? if so, how can i make it that it only gets in once

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 May 2022 09:16 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/2 "2022-05-18T09:16:44Z")

</div>

Let's look at it a different way.

You have node-red running (machine unknown).

You send a udp message from your _player_ (type unknown) and things are fine.

But if you send a message (the same type I guess) from your RasPi, you get two message received.

What happens if the player is not connected to the network? (Short of turning it off)

What is this udp message? (I don't know)

You may need to share more information.

---

<div class="post-metadata">

**Author:** ![BWTH](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Post date:** [18 May 2022 09:37 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/3 "2022-05-18T09:37:53Z")

</div>

node red runs on raspberry 4  
the player is an brightsign xd1034 and things are fine  
when the player is disconnected, nothing happens  
the udp message is "on"

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 May 2022 09:39 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/4 "2022-05-18T09:39:50Z")

</div>

But what happens if you send the message from .... _where ever_ and the player is not connected?

Do you still get two messages?

---

<div class="post-metadata">

**Author:** ![BWTH](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@BWTH](https://discourse.nodered.org/u/BWTH)\
**Post date:** [18 May 2022 13:28 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/5 "2022-05-18T13:28:53Z")

</div>

no from hercules tool i get only one message in node red  
if i send message from brightsign player to herculess i get only one message  
if i send from brightsign to node red i get two messages

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 July 2022 13:29 UTC](https://discourse.nodered.org/t/udp-input-two-times/62795/6 "2022-07-17T13:29:51Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
