Increase the Sampling Rate of temp/pH and Custom Light Sensor


I am interested in increasing the frequency of measurements taken by a select few pH/temp sensors and custom light sensors. How do I do this?


Hi Matthew,

What type of report frequency are you looking for exactly?

Thank you,

Hey Travis,

1 reading per minute is the most frequent reading speed we would need. Ideally it would take 1 reading a minute for 40 mins (or some other specified time length) and then going back to 1 reading every 5-10 minutes.

Any updates about this?

You can set the interval using ndoe red. This device supports OTF.

Do I use the wireless device node for this? I see that I can select the custom light sensor and put in the MAC address for it. Do I need to change the delay from there?
Screenshot 2024-07-11 103349

Hi @matthewmcauliffe300 Yes, you need to activate the “Active: checkbox”, then set in text input box the delay value in seconds (on “Wireless Device” node) , then click on the “Done” button, and then “Deploy” . The next time the sensor sends data, it will automatically configure the new sensor parameters. Try this.

Let us know if you have any questions.

Thanks Eduardo, do I need to attach any other nodes to the wireless device node?

Hi @matthewmcauliffe300 Yes, as option you could connect a “Debug” node to “Wireless Device” output, in order to see the incoming data from this specific sensor.

Thank you,
Eduardo M.

Hey Eduardo, thanks for the help with the light sensor. I noticed that for a pH/temp sensor there is no OTF option, how do I go about increasing the sampling rate for that one?

Hi @matthewmcauliffe300 That’s right, unfortunately this sensor does not yet have the OTF function, but I can share the procedure for performing the adjustment.

  1. Access the properties of the “Wireless Device” node by double-clicking on the node.

  2. You will see the “Edit Wireless Device node” window. You should activate the “Auto Config” and “Wait for Network Formation” checkboxes. You should also activate the “Node ID and Delay” checkbox and enter the desired value in the text box.
    Note: Ensure the “Serial Device” and “Serial Device for Config” have the correct port and baud rate settings.

  3. Once you have done this, click on the ‘Done’ button and then click on the ‘Deploy’ button to save and apply the flow changes.

  4. Now you should press the button located on the left side of the ‘Wireless Gateway’ node to put the Modem/Gateway into configuration mode. Once you have done this, you will see the message ‘Configuring’ just below the ‘Wireless Device’ node.

  5. Once you’ve done this, you need to put the ‘pH Temperature’ sensor into configuration mode. To do this, you’ll need to access the inside of the sensor. Then, press and release the RESET button once (labeled as RST on the enclosure) and then immediately press and hold the configuration button (labeled as CFG on the enclosure) for 5-8 seconds. This will put the sensor into configuration mode. Once this is done, you should see the message ‘Config mode’ just below the ‘Wireless Device’ node in Node-RED.

  6. The configuration process will begin. Upon completion, you will see the results within the debug tab.

  7. You should switch the ‘Wireless Gateway’ node back to Ready mode by pressing the button on the left side of the node again.

  8. Finally, press the reset button on the sensor to return it to RUN/Running mode.

Here is a YouTube video that shows how to configure NCD Enterprise Sensor through Node-RED:

Please take a look and try, let us know if you have any question.
Thank you,
Eduardo M.