Can't get RFM69 working
Development
27
Posts
5
Posters
10.0k
Views
3
Watching
-
Its working now!
Gateway doesn't work on the pro mini, but your sensor sketch is working :D
now the next thing, i get a lot of fails:
send: 10-10-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:GHAS sensor send: 10-10-0-0 s=255,c=3,t=12,pt=0,l=5,sg=0,st=fail:1.1.5 send: 10-10-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,st=fail: find parent send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 10-10-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,st=fail: send: 10-10-0-0 s=2,c=0,t=16,pt=0,l=0,sg=0,st=fail: send: 10-10-0-0 s=3,c=0,t=30,pt=0,l=0,sg=0,st=fail: [Setup duration: 7385 ms] send: 10-10-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=fail:0.0 send: 10-10-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=fail:0.0 send: 10-10-0-0 s=2,c=1,t=37,pt=2,l=2,sg=0,st=fail:9 find parent send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 10-10-0-0 s=3,c=1,t=38,pt=7,l=5,sg=0,st=fail:3.30 send: 10-10-0-0 s=255,c=3,t=0,pt=1,l=1,sg=0,st=fail:100 0.0 degC 0.0 % 9 lx 3.30 v [4851 ms]but the gateway receives everything fine?
22:13:05.403 [pimatic-mysensors] debug: <- Presented Node [ '10', '0', '0', '0', '7', '' ] 22:13:05.451 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.497 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.538 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:05.980 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:06.115 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:06.246 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:07.594 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.594 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.635 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.639 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.680 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 22:13:07.680 [pimatic-mysensors] debug: <- Presented Node [ '10', '1', '0', '0', '6', '' ] 22:13:07.729 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.729 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.774 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.775 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.815 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0: 22:13:07.816 [pimatic-mysensors] debug: <- Presented Node [ '10', '2', '0', '0', '16', '' ] 22:13:07.864 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.865 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:07.909 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.909 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:07.950 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0: 22:13:07.954 [pimatic-mysensors] debug: <- Presented Node [ '10', '3', '0', '0', '30', '' ] 22:13:10.060 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.105 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.150 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0 22:13:10.244 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0 22:13:10.289 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0 22:13:10.342 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.383 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.428 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9 22:13:10.477 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.522 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.563 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 22:13:10.903 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:11.038 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:11.174 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0 22:13:12.583 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.628 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.673 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30 22:13:12.722 [pimatic-mysensors] debug: <- I_LOG_MESSAGE 0;0;3;0;9;read: 10-10-0 s=255,c=3,t=0,pt=1,l=1,sg=0:100 -
It's perhaps due to the signing feature ...
May be you should disable it for the moment.
Disable the feature in MyConfig.h and replace the gateway constructor by:
MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN); -
I'm trying to create my gateway with a arduino nano. Attached everything and on the serial output I get:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete.But nothing happens when i try to send something.
When I try to send something with a sensor it gets fail:
send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.1 send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0 sensor started, id=1, parent=0, distance=0 send: 1-1-0-0 s=1,c=1,t=16,pt=2,l=2,sg=0,st=fail:1On a arduino uno it works fine. But the gateway won't work on a pro mini or a nano?