Arduino Relay Node Sensor - Help

Observations

Have patience with the remote sensor, adjusting to the relying node. I read a message, I believe from Hek, about the magic 20 attempts before the HELP-ME route my message. In my case I turned down the pots on my motions sensor and tripped it 20 times, by watching the TX light on trip (1) and trip expire (0) messages. Around the 20th event I saw it send the HELP message TX light went on for an extended period of time. Then all started working, just like magic.

Great job guys with the new RF24 library, works great in my estimation.

I am currently running the 1.3b3 (18848a2) build with the new RF24 library.

One note the Parent node: GW never changes. Does not bother me know I know it is working.


Example debug messages from a running relying node

[size=8pt][font=courier]---------------------------
– Start Up –

Relay=0, distance=1
Radio id stored in EEPROM was: 2
Relaying message back to gateway.
Tx: fr=2,to=0,la=2,ne=0,ci=255,mt=0,ty=18,cr=113: 1.3b3 (18848a2)
Ack: received OK
Relaying message back to gateway.
Tx: fr=2,to=0,la=2,ne=0,ci=255,mt=4,ty=7,cr=14: 0
Ack: received OK
Relaying message back to gateway.
Tx: fr=2,to=0,la=2,ne=0,ci=255,mt=4,ty=14,cr=46: Relaying Node
Ack: received OK
Relaying message back to gateway.
Tx: fr=2,to=0,la=2,ne=0,ci=255,mt=4,ty=15,cr=133: 1.0
Ack: received OK


– VERA FETCH Button –

Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=2,la=0,ci=255,mt=4,t=12,cr=104(ok): F
Route command receivedSend child info to sensor gateway.
rt:0, 255
rt:1, 255
rt:2, 255
rt:3, 3
rt:4, 4
rt:5, 255
rt:6, 255
rt:7, 255
rt:8, 255
rt:9, 255


– VERA CLEAR Button –

Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=2,la=0,ci=255,mt=4,t=12,cr=138(ok): C
Route command receivedClear child routing data
Relaying message back to gateway.
Tx: fr=2,to=0,la=2,ne=0,ci=255,mt=4,ty=12,cr=40:
Ack: received OK


– VERA FETCH Button –

Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=2,la=0,ci=255,mt=4,t=12,cr=104(ok): F
Route command receivedSend child info to sensor gateway.
rt:0, 255
rt:1, 255
rt:2, 255
rt:3, 3
rt:4, 255
rt:5, 255
rt:6, 255
rt:7, 255
rt:8, 255
rt:9, 255


– Sensor sending temperature –

Note: This sensor has an external antenna and was reaching Gateway without
assistence. Looks like is now using the relying node shortest path.

Message available on pipe 1
Sent ack msg to 3
Rx: fr=3,to=0,la=3,ci=0,mt=1,t=0,cr=144(ok): 71.6
Routing message to relay.
Tx: fr=3,to=0,la=2,ne=0,ci=0,mt=1,ty=0,cr=233: 71.6
Ack: received OK


–Motion Sensor sending trips–

Message available on pipe 1
Sent ack msg to 4
Rx: fr=4,to=0,la=4,ci=0,mt=1,t=16,cr=51(ok): 1
Routing message to relay.
Tx: fr=4,to=0,la=2,ne=0,ci=0,mt=1,ty=16,cr=60: 1
Ack: received OK
Message available on pipe 1
Sent ack msg to 4
Rx: fr=4,to=0,la=4,ci=0,mt=1,t=16,cr=84(ok): 0
Routing message to relay.
Tx: fr=4,to=0,la=2,ne=0,ci=0,mt=1,ty=16,cr=91: 0
Ack: received OK
[/font][/size]

can someone assist me in updating the Lib Version. I updated the plugin but the update package on GitHub didn’t include the library?

Here is what I did for updated version 1.3b3 (18848a2)

zip up your original adruino project folder (so you have a backup)

Click download zip button
unzip Arduino-master.zip
Copy and replace everything in your \arduino\ folder

https://github.com/mysensors/RF24
Click download zip button
unzip RF24-master.zip
Copy everything into your \arduino\libaries\RF24\ folder

Click download zip button
unzip vera-master.zip
and upload the 10 luup files via the apps->Develop Apps->luup files section on the vera unit.

Update the EthernetGateway.ino with your local IP, ethernet card type and settings

Recompile and upload all the sensors.

[quote=“lininger, post:23, topic:180897”]Here is what I did for updated version 1.3b3 (18848a2)

zip up your original adruino project folder (so you have a backup)

Click download zip button
unzip Arduino-master.zip
Copy and replace everything in your \arduino\ folder

https://github.com/mysensors/RF24
Click download zip button
unzip RF24-master.zip
Copy everything into your \arduino\libaries\RF24\ folder

Click download zip button
unzip vera-master.zip
and upload the 10 luup files via the apps->Develop Apps->luup files section on the vera unit.

Update the EthernetGateway.ino with your local IP, ethernet card type and settings

Recompile and upload all the sensors.[/quote]

Thank you.

Successfully upgraded.

Best Regards!

[quote=“lininger, post:23, topic:180897”]https://github.com/mysensors/RF24
Click download zip button
unzip RF24-master.zip
Copy everything into your \arduino\libaries\RF24\ folder[/quote]

This link is broken. Are the new RF-24 files now in the 1.3b3 repository, are they somewhere else, or are they essentially part of the new 1.4 beta?

I am not sure of the final state of 1.3b3. I have been on the 1.4b1 for some time now and I know the RF24 has been moved under the Arduino / libraries / MySensors / utility / folder in the 1.4 development version.

1.4 Beta | MySensors Forum covers all the changes in 1.4b.

[quote=“kandlg, post:25, topic:180897”][quote=“lininger, post:23, topic:180897”]https://github.com/mysensors/RF24
Click download zip button
unzip RF24-master.zip
Copy everything into your \arduino\libaries\RF24\ folder[/quote]

This link is broken. Are the new RF-24 files now in the 1.3b3 repository, are they somewhere else, or are they essentially part of the new 1.4 beta?[/quote]

In 1.3 the RF24 library is included in the library folder.
https://github.com/henrikekblad/Arduino/tree/master/libraries/RF24

Thank you. I wasn’t sure because the file dates in that repository are dated March 26 which is actually before you had the discussion here. I have built a relay node and am waiting to see if an intermittent motion sensor will re-route.

I am having a difficult time converting a dallas temperature sensor node to a repeating sensor node. When I make the changes to the sketch shown here
http://www.mysensors.org/build/sensor_api#relaying-nodes
I cannot get it to send the temperature properly. It sends an initial value which is incorrect and then never updates. I am deleting the nodes and adding them again to vera. It is not the hardware because it will work fine as a temperature node only so it must be the sketch. Can someone post what the proper sketch should be?