💬 Building a Serial Gateway
-
But could the gateway itself do it too? If so, do you have any suggestions on where I should start? How can I "hook into" the gateway to find out what devices are communicating with it? Is there example code of this?
-
But could the gateway itself do it too? If so, do you have any suggestions on where I should start? How can I "hook into" the gateway to find out what devices are communicating with it? Is there example code of this?
-
-
Thanks!!
-
After 3 years of using RADIO_RF24 i replaced my all sensors with espeasy. It was just big battle with lost transmissions, disconnections, every day problems. Now for many days silence...Everything works.I still use mysensors in diferrent setup but NRF Radio is asking for trouble.
-
I tried building a serial gateway using an Arduino Nano, but it never worked (both gateway and node start, but node keeps saying NO REPLY). I used the same NRF24 module directly on the Raspberry Pi, and built a Raspberry Pi gateway, it worked perfectly. Any idea on what might be going on? Thanks!
-
I tried building a serial gateway using an Arduino Nano, but it never worked (both gateway and node start, but node keeps saying NO REPLY). I used the same NRF24 module directly on the Raspberry Pi, and built a Raspberry Pi gateway, it worked perfectly. Any idea on what might be going on? Thanks!
-
Can serial gateway be build on Atmel 168 chip instead of 328 in terms of memory? It compiles fine, but leaves little extra memory for variables.
-
Sketch uses 13634 bytes (95%) of program storage space. Maximum is 14336 bytes. Global variables use 731 bytes (71%) of dynamic memory, leaving 293 bytes for local variables. Maximum is 1024 bytes.
I noticed parsing error in my controller log and switched to 328P. I bought 168P by mistake and wondering how I can use it. Does simple mySensors node require less ROM/RAM than gateway?
-
Sketch uses 13634 bytes (95%) of program storage space. Maximum is 14336 bytes. Global variables use 731 bytes (71%) of dynamic memory, leaving 293 bytes for local variables. Maximum is 1024 bytes.
I noticed parsing error in my controller log and switched to 328P. I bought 168P by mistake and wondering how I can use it. Does simple mySensors node require less ROM/RAM than gateway?
@APL2017 a very simple node, yes. But a node using a sensor library can often need more flash and ram than a gateway. I have tried to fit things into the atmega168 (I also bought wrong devices) but gave up. Unless you think it is a fun and interesting challenge, it will not be worth the time.
-
@APL2017 a very simple node, yes. But a node using a sensor library can often need more flash and ram than a gateway. I have tried to fit things into the atmega168 (I also bought wrong devices) but gave up. Unless you think it is a fun and interesting challenge, it will not be worth the time.
@mfalkvidd Thank you, I will donate 168P to some other Arduino enthusiast.
-
Why would the gateway send a NACK to any node? The node only received one OK and then just NACK
17764 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
22773 !TSM:FPAR:NO REPLY
22775 TSM:FPAR
29779 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=NACK:
34789 !TSM:FPAR:NO REPLY
34791 TSM:FPAR