Simple Serial Gateway and sensor does not work...
-
It looks like it's similar to this: https://forum.mysensors.org/topic/4296/unable-to-get-simple-gateway-button-sensor-to-work-together
I'm gonna try the debug for the NRF if it reveals any more...
-
It looks like it's similar to this: https://forum.mysensors.org/topic/4296/unable-to-get-simple-gateway-button-sensor-to-work-together
I'm gonna try the debug for the NRF if it reveals any more...
-
@SGi I suggest to put them even further away, I've had similar issues with the LNA PA RF24 version.
-
Here the same, a simple sketch sending a value every 2 seconds on Arduino Pro mini its working but on @scalz simple aa node with atmega328 1MHz bootloader i am getting this error
Starting sensor (RRNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=41) TSM:FPAR TSP:MSG:SEND 41-41-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 41-41-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 41-41-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 41-41-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDTAnd this on the gateway
0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=41) 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL) 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-41-41 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 41-41-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=41) 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL) 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-41-41 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 41-41-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=41) 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL) 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-41-41 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0I am using RFM69 radio
Here is the code link text
-
@kenci which aa node? I don't think this is my design ;)
About your issue,I have not digged yet so I don't know. On my side, the stParentUpdate is working I guess as I have not this problem. I'm using RFM69 too with a serial GW. But I'm still on end june temp 2.0b rev so I have not completely migrated to the new lib as I had some sketch to finish. I will update and diffcheck tests device today. So I will see if I fall into this, and try to debug if I can replicate the problem ;)
Just in case, what is your GW? I have serial gw + esp mqtt on my side for testing.
-
https://forum.mysensors.org/topic/4316/version-2-0-isn-t-working this could be the fix... Have to try tomorrow night....
-
@kenci which aa node? I don't think this is my design ;)
About your issue,I have not digged yet so I don't know. On my side, the stParentUpdate is working I guess as I have not this problem. I'm using RFM69 too with a serial GW. But I'm still on end june temp 2.0b rev so I have not completely migrated to the new lib as I had some sketch to finish. I will update and diffcheck tests device today. So I will see if I fall into this, and try to debug if I can replicate the problem ;)
Just in case, what is your GW? I have serial gw + esp mqtt on my side for testing.
Sorry @scalz , it was another user who designed the board, user @m26872 was it. My gateway is an ESP8266 with MQTT. I will try to find out what the problem is. With the same sketch it's working on an Arduino Pro 328 3v3. But on @m26872's board with 1MHz it's not.
EDIT:
I found out that my Simple AA node is not receiving packets(ATMega328 1MHZ). So now i have to check why!EDIT 2:
OK, i found out if i connect DI0 of RFM69 to D2 it's working. But if i want to use D3(because D2 is in use for a switch) it's not working, even if i set#define MY_RF69_IRQ_PIN 3in my sketch! -
@kenci ok, I think I know where is your problem. Try to add this in your sketch (before mysensors include of course)
#define MY_RF69_IRQ_NUM 1That should work. I will do the change.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login