I thought i was using the latest 1.5 version but it seems not.
Uploading all my sketches with fresh downloaded version fixed my pb.
Thx sundberg84
I thought i was using the latest 1.5 version but it seems not.
Uploading all my sketches with fresh downloaded version fixed my pb.
Thx sundberg84
Hi
I'm looking for a long range (2.5-3 meters) barrier sensor and I can't find something interesting
Maybe you can help me
I need to detect the car position in my garage and turn on a light to not bump the other car.
My idea is to install 3 or 4 sensors on ceiling to detect which car is the first and with a little of intelligence turns on first or second light.
It's not a problem to install reflector on the ground.
The idea is similar to parking build but it can't be applied in my configuration.
Thanks for your help
Hi torehc
vcc (3.04v)-----arduino RAW pin
gnd------arduino GND
NRF vcc-----arduino VCC (regulated 3.3 in my case)
If you have problem with route i suppose it is a problem with your power supply. NRF seems to be really erratic.
Also you must add a capacitor on nrf too.
Hourra I found my problem !
I connected directly the NRF to RAW pin instead of regulated one (VCC).
Now everything is working fine
Thank you guys for your help
I forced the parent id as vil1driver suggested and I saw on my controller id request (give id 3) with no error
2015-Sep-01 22:16:47.793938 [DEBUG] => RECEIVING: 255/255;INTERNAL;0;I_ID_REQUEST;
2015-Sep-01 22:16:47.794094 [DEBUG] Free id found: 3
2015-Sep-01 22:16:47.794176 [DEBUG] => SENDINGv15: 255;255;3;0;4;3<NL>
2015-Sep-01 22:16:47.830373 [DEBUG] => RECEIVING: 0/0;INTERNAL;0;I_LOG_MESSAGE;send: 0-0-2-255 s=255,c=3,t=4,pt=0,l=1,sg=0,st=ok:3
But my sensor seems to have problem receiving the response
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
sensor started, id=255, parent=2, distance=1
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
req id
255-255-2-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:0
So do you think my problem is a circuit issue?
Is it possible to send successfully all packets and have problem receiving them?
No way to make it find a new route after 4 days.
I decided to clear eeprom and the sensor is still in bad state.
It always display
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
on my gateway i receive:
0/0;INTERNAL;0;I_LOG_MESSAGE;read: 2-2-255 s=255,c=3,t=8,pt=1,l=1,sg=0:1
0/0;INTERNAL;0;I_LOG_MESSAGE;read: 2-2-255 s=255,c=3,t=8,pt=1,l=1,sg=0:1
0/0;INTERNAL;0;I_LOG_MESSAGE;read: 2-2-255 s=255,c=3,t=8,pt=1,l=1,sg=0:1
0/0;INTERNAL;0;I_LOG_MESSAGE;read: 2-2-255 s=255,c=3,t=8,pt=1,l=1,sg=0:1
I tried with 2 differents NRF (with 4.7ยตf cap)
Before clearing eeprom, the sensors successfully sends its data directly to gateway (without passing though repeater) but gateway failed still failed to send command to sensor
Gateway and repeater have NFR with external antenna.
I don't know exactly where is the problem:
Near my new sensor (2 meters) i have an another sensor that is working fine but it's not an actuator.
I have another actuator that is out of gateway sensor and connected to repeater #2.
To sum up my configuration:
#111 (actuator) -> #2 (repeater) -> gateway ==> no pb (report state and receive command successfully)
#1(power sensor) -> #2 (repeater) -> gateway => no pb
#110 (temp sensor) -> #2 (repeater) -> gateway => no pb
Is someone have some clue to investigate?
I created a new sensor today and tested it near my gateway.
The sensor is supposed to be out of my gateway range (behind 3 thick walls), but installed in the place it was built for (open/close my garage door) it manages to send sometimes some messages :S
To handle my range problem a repeater is installed just behind the first wall and is repeating messages from 3 others sensors.
Seeing gateway messages, I saw messages from my new sensor are not using the repeater.
What is the event that forces sensor to change its route? And is there a way to force it manually (without clearing eeprom) ?
Thanks
@bjacobse said:
@Tang Perfect,
Let me know if I can do some testing/verification for you
I commited my stuff. You can make a try and tell me all bugs you found
Please use irc now. Thx
I thought i was using the latest 1.5 version but it seems not.
Uploading all my sketches with fresh downloaded version fixed my pb.
Thx sundberg84
I investigated more and found my actuator message seems to be lost by repeater:
2 is my repeater node
and 111 is my actuator sensor
<actuator started>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-111-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
111;255;0;0;18;1.5
0;0;3;0;9;read: 111-111-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
111;255;3;0;6;0
0;0;3;0;9;read: 111-111-0 s=255,c=3,t=11,pt=0,l=14,sg=0:Relay & Butto
111;255;3;0;11;Relay & Button
0;0;3;0;9;read: 111-111-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
111;255;3;0;12;1.0
0;0;3;0;9;read: 111-111-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
111;1;0;0;3;
<actuator pressing button ok>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
111;1;1;0;2;1
<actuator pressing button ok>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
<actuator pressing button ok>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
111;1;1;0;2;1
<actuator pressing button failed>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
111;1;1;0;2;0
<actuator pressing button failed>
0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
111;1;1;0;2;0
<actuator pressing button failed>
0;0;3;0;9;read: 111-111-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;0;3;0;9;send: 0-0-111-111 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
<actuator restarted>
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-2-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
111;255;0;0;18;1.5
0;0;3;0;9;read: 111-2-0 s=255,c=3,t=6,pt=1,l=1,sg=0:2
111;255;3;0;6;2
0;0;3;0;9;read: 111-2-0 s=255,c=3,t=11,pt=0,l=14,sg=0:Relay & Button
111;255;3;0;11;Relay & Button
0;0;3;0;9;read: 111-2-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
111;255;3;0;12;1.0
0;0;3;0;9;read: 111-2-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
111;1;0;0;3;
0;0;3;0;9;read: 1-2-0 s=1,c=1,t=39,pt=1,l=1,sg=0:2
1;1;1;0;39;2
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
111;1;1;0;2;0
My gateway is on my office that have thick walls. For this reason i'm using a repeater with NRF with antenna (like my gateway)
So most of my sensors outside the office need to connect to repeater to access gateway.
In the sample below, the actuator succeed to connect to gateway at the beginning but after some button press, it doesn't handle to send its value. When i restarted the actuator, it connects to repeater and nothing works.
Gateway and actuator sketches are those i found on mysensors library examples, repeater node is based on library example but have a led that blinks periodically and each 10 minutes, repeater send its sketch name.
@bjacobse yes i'm working on it
I just need to fix some stuff on actuator and it should be good