# Node-red-contrib-redplc-ntptime : ntptime

**URL:** <https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089>\
**Category:** General\
**Created:** [11 October 2021 11:39 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089 "2021-10-11T11:39:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rezcue](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Post date:** [11 October 2021 11:39 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089/1 "2021-10-11T11:39:40Z")

</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 understand is:  
Why is it working so inefficient? If you look at the Debuglog i think you will understand what i mean.  
It either not giving me the right time or when it does its delayed.

 ![asnt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/78a61d28425cbaddb1d6d17e36198f0a662807c0.png)

Thanks

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [11 October 2021 11:51 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089/2 "2021-10-11T11:51:16Z")

</div>

Why do you want to read NTP every second?  
Most of the time you use NTP ones or twices a day to update the system clock.

---

<div class="post-metadata">

**Author:** ![Rezcue](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@Rezcue](https://discourse.nodered.org/u/Rezcue)\
**Post date:** [11 October 2021 12:01 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089/3 "2021-10-11T12:01:27Z")

</div>

It was just an idea i wanted to try out.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [11 October 2021 19:46 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089/4 "2021-10-11T19:46:39Z")

</div>

Whoever owns that NTP server is going to get seriously annoyed with you. It could well look like a DOS attack.

I actually can't think of a single valid reason for needing to interact with an NTP server from Node-RED if I'm being honest. NTP is a very low-level OS thing and rarely needs to be messed with. Even on embedded systems, setting it up is trivial.

---

<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:** [10 December 2021 19:47 UTC](https://discourse.nodered.org/t/node-red-contrib-redplc-ntptime-ntptime/52089/5 "2021-12-10T19:47:10Z")

</div>

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