The basics of MySensors?
-
I have a question regarding the API to access the sensor nRF24L01.
What happened to the function RF24_openReadingPipe?
It used to be part of the API.
Has it removed because it is obsolete.
What it is the right way to read data from a pipe? -
-
I connected my NodeMCU to a nRF24L01 as explained at
https://www.mysensors.org/build/esp8266_gatewayI don´t know how to listen to messages from a pipe.
The corresponding NR24 API for Arduino supports the function openReadingPipe:
https://www.mysensors.org/build/esp8266_gateway -
I connected my NodeMCU to a nRF24L01 as explained at
https://www.mysensors.org/build/esp8266_gatewayI don´t know how to listen to messages from a pipe.
The corresponding NR24 API for Arduino supports the function openReadingPipe:
https://www.mysensors.org/build/esp8266_gateway@marex Sending and receiving messages with MySensors is described at https://www.mysensors.org/download/sensor_api_20#sending-data and https://www.mysensors.org/download/sensor_api_20#handling-incoming-radio-messages
The low-level functions of the different transports are not part of MySensors. Why do you want to use them directly?
-
@marex Sending and receiving messages with MySensors is described at https://www.mysensors.org/download/sensor_api_20#sending-data and https://www.mysensors.org/download/sensor_api_20#handling-incoming-radio-messages
The low-level functions of the different transports are not part of MySensors. Why do you want to use them directly?
@mfalkvidd I´m just looking for an easy way of receiving temperature data transmitted by 3 Arduino Nano connected to a NRF24.
I´d like to use a NodeMCU connected to a NRF24 to receive the temperature data from the 3 Arduino Nano and make them available over WifI to my cell phone. Can I use the mysensor library to receive data transmitted using a different library (https://github.com/TMRh20/RF24/blob/master/RF24.h)? Can it work in principle? Or should the transmitter use the mysensor library too? -
@mfalkvidd I´m just looking for an easy way of receiving temperature data transmitted by 3 Arduino Nano connected to a NRF24.
I´d like to use a NodeMCU connected to a NRF24 to receive the temperature data from the 3 Arduino Nano and make them available over WifI to my cell phone. Can I use the mysensor library to receive data transmitted using a different library (https://github.com/TMRh20/RF24/blob/master/RF24.h)? Can it work in principle? Or should the transmitter use the mysensor library too?@marex you could probably build something that decodes MySensors if you want to, but that would essentially be re-implementing MySensors. It could be a fun challenge, if you are into that sort of thing.
But if you just want to get things working, load the ESP8266 gateway sketch on your ESP8266/NodeMCU and use the temperature example on your Nanos.
-
That would work for a local temperature sensor connected directly to the NodeMcu.
What I would like to achieve is different. I would like to use a NodeMcu as gateway.
It should be able to receive data from different sensors in my house.
For the radio communication I´d like to use an inexpensive NRF24 transceiver. -
That would work for a local temperature sensor connected directly to the NodeMcu.
What I would like to achieve is different. I would like to use a NodeMcu as gateway.
It should be able to receive data from different sensors in my house.
For the radio communication I´d like to use an inexpensive NRF24 transceiver. -
@mfalkvidd I actually use a different kind of temperature/humidity sensor. I will adjust the Arduino sketch and try. Thanks a lot.
-
Discussion continued at https://forum.mysensors.org/topic/5080/the-basics-of-mysensors-continued/ (couldn't figure out how to fork such a long discussion into just one topic, the forum software doesn't seem to handle that. Sorry.)
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