💬 Building a Serial Gateway
-
Thanks for reply. Maybe I wasn't too clear, so here is more info.
Today I made a serial gw with a pro mini as the nrf24 attached to pi directly is suspected of problems with MyController.
In the wiring diagram on the build page it shows the IRQ from the nrf24 to the promini as connected. But this is not enabled by default in the MYSGW code.
So, to make the NRF24 IRQ work, I need to add #define MY_RX_MESSAGE_BUFFER_FEATURE and #define MY_RF24_IRQ_PIN.......Or is it #define MY_RX_MESSAGE_BUFFER_FEATURE(ENABLED) #define MY_RF24_IRQ_PIN(D2) ???
I just want to enable the irq from the nrf24 to help with message flow. -
@mntlvr you have now posted variants of the same questions in three places. This means efforts to help you will be split into three places. People will waste time helping you in one thread, not knowing the discissions in the other threads. This will waste people's time. Please only post your question in one place.
-
@mntlvr you have now posted variants of the same questions in three places. This means efforts to help you will be split into three places. People will waste time helping you in one thread, not knowing the discissions in the other threads. This will waste people's time. Please only post your question in one place.
@mfalkvidd
Well I thought since you wrote this you could answer the question
I have searched entire site for answer and can not find one and since you posted the build last year you would be the one who could answer it -
@mfalkvidd
Well I thought since you wrote this you could answer the question
I have searched entire site for answer and can not find one and since you posted the build last year you would be the one who could answer it -
Hi I'm new to MySensors, I've installed openHAB as my controller and installed the Add-on MySensors to it. But now that I have uploaded GatewaySerial.ino to a Nano with an nRF24L01+, I've noticed that there was no code to drive the setup and loop functions. And how do I verify that it is working? from the Karaf console?...
-
Hello,
im kind of lost, i need to install a distance sensor buried in a well of water, and will need a lot of tweaking and reprogramming until i get the desired correct measurements.
so i need OTA, extremely low power (battery powered, sleeps most of time), so i went to ultrasonic sensor HC04 which is even powered through GPIO of pro mini, and an nrf24l01+. the main problem is OTA. My concerns are:- should i burn MYSBOOTLOADER on sensor and Serial GW ?
- if bootlader burnt, any sketch can do the OTA?
- should I use only MySensors GW SW, or can i have my own sketch.
Any ideas are welcome.
Thanks a lot
-
Is there a way to make a serial2mqtt gateway (e.g. a NodeMCU is getting MySensor data on the serial interface and should just bridge that to MQTT)?
-
Is it possible to get a list of all attached nodes? I'd like to attach a TFT screen to the gateway that shows all the connected devices.
-
Is it possible to get a list of all attached nodes? I'd like to attach a TFT screen to the gateway that shows all the connected devices.
@alowhum there is no such thing as an attachment in a MySensors network.
Nodes send messages whenever they like. The nodes may go to sleep at any time, which would make them unavailable.
The gateway does not store information about when a node last communicated, nor about which child sensors have been presented.
-
@mfalkvidd Thanks. Would it be possible to generate that list somehow? Perhaps by listening to what nodes connect to it?
It doesn't matter if they are offline or not, it doesn't have to be perfect.
-
@mfalkvidd Thanks. Would it be possible to generate that list somehow? Perhaps by listening to what nodes connect to it?
It doesn't matter if they are offline or not, it doesn't have to be perfect.
-
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.