@Eduardo_Mtz I am looking at the delay frame and want set it to 600 seconds. In your 10 sec delay command you provided I see F7 02 00 00 00 00 00 00 0A as the data portion of the frame, with the following breakdown:
But you stated that is for setting the delay for node ID 00. Is the node ID 00 the first 00 in the delay in seconds hex value as circled below or is that specified in a different position?
You also said the node ID is sent for each packet, but where in the packet frame is that located? For example with the PR52-33A I receive 3 frames on first transmission with the following RF data in each:
Oh, so Node ID is intended as a configurable identifier? I thought it was meant to map to a specific sensor model. Like PR52-33A might be ID 1, PR63-23A might be ID 2, etc. I assumed it was an identifier set from factory that was used by node-red to know the data structure of the sensor data coming from the device.
Yes, that is correct. The Node ID is a user-configurable identifier.
On the other hand, Node-RED uses the sensor type to determine the data structure coming from the device. For example this is a Type 1 - Temperature/Humidity Sensor:
After sending those frames the you provided, I get responses from every send except for the encryption key. Transmit request goes out, but no response is received.
After waiting approx. 10~ minutes I see what looks like a data packet coming from the device. So it appears that it is still transmitting on the default network ID (even though I got a response packet) and default encryption key (that never received a response). After waiting another 10 minutes, I see another packet coming to the default network ID with default encryption key.
I then pressed the reset button and saw data packets now going to the assigned network ID correctly (so that isn’t that big of a deal), however it is still using the default encryption key.
I have been using node-red for receiving device data, but have not used it for configuration. The Wireless Device configuration node does not have a parameter to set the encryption key.
That’s correct. The other commands appeared to be working. I took out the Xbee module and put it in one of the modem enclosures so I could communicate with it via USB connection to confirm that values like NH, power level, and network ID were being set correctly. This is the order of the commands I am running. Note that this list doesn’t include my actual encryption key as I don’t want to post it here publicly. I edited the frame you provided to use my real key.
Extend Config Mode:
7E 00 13 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 36 00 00 00 C7
Set Network ID:
7E 00 15 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 05 00 00 00 10 AA F9
Set sample rate to 120 sec and node ID to 00:
7E 00 17 10 01 00 00 00 00 00 00 FF FF FF FE 00 00 F7 02 00 00 00 00 00 00 78 82
Set Power to 2:
7E 00 14 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 04 00 00 00 02 F7
Set NH to 0A (I have changed the MAC address here, this is not the real mac):
7E 00 10 17 01 00 13 A2 00 42 32 AA AA FF FE 02 4E 48 0A CB
Write to Memory (I have changed the MAC address here, this is not the real mac):
7E 00 0F 17 01 00 13 A2 00 42 32 AA AA FF FE 02 57 52 C2
Write encrpytion key (I am replacing the key with my intended key here along with the proper calculated checksum as the last 2 hex values)
7E 00 23 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F2 03 00 00 00 01 02 03 04 05 06 FF FF FF FF FF FF FF FF FF FF F4