Hello,
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?
Matthew
Hello,
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?
Matthew
Hi Matthew,
What type of report frequency are you looking for exactly?
Thank you,
Travis
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?
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
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.
Access the properties of the âWireless Deviceâ node by double-clicking on the node.
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.
Once you have done this, click on the âDoneâ button and then click on the âDeployâ button to save and apply the flow changes.
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.
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.
The configuration process will begin. Upon completion, you will see the results within the debug tab.
You should switch the âWireless Gatewayâ node back to Ready mode by pressing the button on the left side of the node again.
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.
Sorry to revive this thread but I was trying to use the node red on our Enterprise iiot gateway lite to adjust the sampling frequency of some custom light sensors. I set up the nodes the same way as I did with the old edge computer that I used in the past but I got a permission denied error when I tried deploying the flow. I checked the data coming from the light sensors and the frequency was not adjusted
Error: EACCES: permission denied, open â/root/certs/client-cert.pem.crtâ
Hi @matthewmcauliffe300
It looks like the error message comes from another node (not related with NCD Nodes). I can see you have a node âOnion_Gateway_Certsâ maybe in another flow. I have seen similar errors in MQTT nodes or similar.
If you click on âOnion_Gateway_Certsâ it will show you from where the node comes this error.
I think youâre using a double extension for your file, a typing error. I think it should be something like:
but Iâm just guessing.
let us know if you found the error and if you were able to configure your sensors correctly.
Thank you,
Eduardo M.
I clicked on the node part and this is what it showed. The dropdown for each individual flow was empty except the top one.
Hi @matthewmcauliffe300
This is a configuration node, and it is showing there are two nodes that are using this configuration node. If you click on the right box (number), it shows what nodes are using this configuration.
This configuration node looks like you are using MQTT communication and there are some errors related to your access permissions to access the certificate file.
If not, then you can double click on âOnion_Gateway_Certsâ node and click on âDeleteâ.
But this issue is not directly related to the NCD Enterprise Library. I mean this should not affect the NCD Library functionality.
Let us know if you have any question,
Thank you,
Eduardo M.
Is there a way of changing the delay for the custom light sensor using the modem and alpha station or xctu? I canât seem to get the delay to change using node red on the gateway lite.
We recommend use Node-RED for configuration sensors.
here is a command to set the interval to 4 sec
7E 00 17 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 02 00 00 01 00 00 00 04 F6
I am trying to configure the custom light sensor so I thought I donât need to put it in configure mode since it has OTF support. Did this change?
Also I remoted into a different location and attempted to change the frequency of a custom light sensor that I have successfully changed in the past and I got the same permissions error as Iâm getting with the new gateway.
Here is the flow I am using:
flows (1).json (14.9 KB)
I have âwait for network formationâ enabled.
That is correct, my bad, the Custom Light Sensor support OTF, you do not need to put it in configuration mode.
Try using the command to set the interval: