Hi all,
I am trying to setup a simple example. I use 2 Pro Mini with NRF24L01 to create simple binary sensor and serial gateway. I read the output from the serial gateway but the values read are not changing when the switch is toggled.
The sensor uses this simple code: http://www.mysensors.org/build/binary#binaryswitchsensor-example
And gateway is this: http://www.mysensors.org/build/serial_gateway No modifications to any of them. I do not use any controller, I was to de-serailize the output from the serial port myself on a PC for now.
I have the output from the serial monitor which is following for the sensor and serial gateway:
door sensor:
req id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
sensor started, id=255, parent=0, distance=1
req id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
req id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
req id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
req id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
serial gateway:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0
0;0;3;0;14;Gateway startup complete.
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
255;255;3;0;3;
I have searched this forum and is seems the issue might be the sensor trying to get the ID (as per the "req id" output). Any idea how to fix this?
Thanks!