-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is it possible to run the RF24 GATEWAY gateway in the background? #10
Comments
Hola, yup it is, preconfigure IF: You need screen for the following: Note: You can remove sudo from the above command if using the SPIDEV driver, which allows to run as non-root user. You can put the above into a script of course, to run on boot. Access the screen: |
Hi, I am going to test what you told me and I tell you how it turned out, however, I was thinking and wondering, that, if it is necessary to use NRF24GATEWAY for a network of nodes that communicate with NRF24L01 through the MQTT protocol ?, since This protocol is light and thought of in the IOT, which you can advise me in this case. Thank you |
Well, yes and no?
If you want a direct MQTT connection using nrf24 then yes.
If you use RF24Network or RF24Mesh you can send data to RPi, but need to write RPi code to pass data to/from the MQTT server and the nodes.
… On Apr 8, 2020, at 20:13, potier97 ***@***.***> wrote:
Hi, I am going to test what you told me and I tell you how it turned out, however, I was thinking and wondering, that, if it is necessary to use NRF24GATEWAY for a network of nodes that communicate with NRF24L01 through the MQTT protocol ?, since This protocol is light and thought of in the IOT, which you can advise me in this case.
Thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Just randomly thinking about this question, and I should probably add that there are a few other options, mainly if you have an esp8266, it would be easiest to have the esp as RF24Mesh or RF24Network master node, and act as a MQTT "bridge" for the sensor data using WiFi. Depending on what you want to do, you could also check out the MySensors system, which can use nrf24l01 radios. |
Hello again, I am looking at what you told me with the MySensors system, although it has things similar to yours, however, it is not so easy to understand at first, I am trying to connect and make a simple gateway and I have not yet done so achieved, but then would it be better to work with these libraries than with yours? |
Well it’s a matter of preference really. MySensors is more of a complete package, so less coding involved, where the RF24 stack requires users to write their own code, so is a bit more flexible.
… On Apr 9, 2020, at 14:12, potier97 ***@***.***> wrote:
Hello again, I am looking at what you told me with the MySensors system, although it has things similar to yours, however, it is not so easy to understand at first, I am trying to connect and make a simple gateway and I have not yet done so achieved, but then would it be better to work with these libraries than with yours?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I understand, since my purpose is to be able to send this data to the AWS cloud using nrf24 and the mqtt protocol, I see that Missensores has not yet managed to do this within their development, and they handle processes, I still do not understand why they are needed ? , but I am trying to do a little test to see if it is possible, I don't need a graphical interface to take my data to the cloud, but I can treat the data that is sent to the cloud so that it really sends useful information, and not junk data that fill a database and generate cost overruns What would you recommend for this solution? I'm still very new to these things |
As I mentioned before, I would suggest using the ESP8266 as the master node, running RF24Mesh for the RF24 nodes. The ESP8266 would collect the raw data, format it correctly, then send it out using MQTT over WiFi. |
I was thinking about your answer, I want to use a raspberri for my gateway solution, in addition to the requirements that I planted at the beginning is that I need to implement a sensor network where each node can communicate with mqtt, so the bridge could not be an option, test your mqtt example with RF24Gateway and it works perfect (although there are things that I still don't understand) in a test environment and low load, I would like to deploy it in a network of initially 9 nodes, and since I want the network to be more The gateway would become a bottleneck if I left it as a bridge, recently I saw node-red, to implement event programming, and it can meet my requirements to send data to the Amazon cloud, when the data changes according to the algorithm you build, could you make this possible with your ncurses example? |
I very much doubt that. RF24Ethernet has a very high overhead by comparison
No |
ok, i am going to keep trying to make this configuration to generate a more robust solution, likewise i would like to contribute with your project, since i quite like the idea of managing these devices. And that execution in the background works correctly for the Gateway. Thanks again |
Is it possible to run the RF24 GATEWAY gateway in the background?
Hello, again, I am using NRFGATEWAY for a raspberry pi 3, which works very well as a coordinating node, but I would like to know if it is possible to run it in the background, when we say the power goes out and the system restarts, I can start RF24GATEWAY again from the ncurses example, and passing it the ip address and netmask automatically, is this possible?
Thank you
The text was updated successfully, but these errors were encountered: