NCD Wireless sensor raw commands

Hi,

I followed the below document and used XCTU tool for configuring sleep interval of environmental sensor.

ncd-io-wireless-sensor-raw-commands

I configured the sleep duration by setting data bytes 24, 25, and 26 as 0x00 0x00 and 0x03

Full frame: 7E 00 17 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 02 00 00 00 01 00 00 03 F7

In return when I read sleep duration this command is received payload 7C 01 18 00 1B 00 00 00 00 18 01 00 00 00 00 00

This doesn’t work. My expectation was to set sleep interval as 3 seconds, but it was set to 24 seconds. Can you help me find what may be the mistake?

Thanks in advance.

Hi,
are you working with environment sensors ?
If yes, then the minimum interval is around 30sec.

Thanks

1 Like

Thank you, but still I find difficulty in setting values above 30 seconds.

Example, I set value to be 2 minutes. So, it needs to be 120 seconds. I set the frame accordingly.

7E 00 17 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 02 00 00 00 01 00 00 78 82

When reading the sleep, I got response payload 7C 01 06 00 1B 00 00 00 00 90 01 00 00 00 00 00

I am not sure why 78 turned 90. Is there any mistake in my calculation? (It happens for other values as well. I am using environmental sensor.)

Got it. From document wireless-environmental-sensor-product-manual

The sensor accepts any delay value from the user in configuration mode but rounds it to nearest 24 second multiple.

Also Humidity, Gas resistance and IAQ seems to take a warm up time of around 30 minutes. Till that those values remain zero.

Thank you.

Correction: Only Internal Air Quality (IAQ) sensor needs warm up time.