RF transmit from nano to nodemcu?

Is it possible to transmit RF from an arduino nano to an nodemcu?

I want to reasd the temperature (/humiduty) on an arduino nano (this works already) and transfer it over RF to a nodemcu.

But for the nano I use the radiohead library, and it transmits..
But for the nodemcu I cannot use the radiohead library, since it does not compile well. (Something with atomic.h not found)

Is it possible to send/receive between these devices. And what for libraries are then best used?

Thanks!

The NodeMCU uses WiFi.

What sort of wireless device is connected to your Nano? If it is not a WiFi device you will probably need to connect a matching device to the NodeMCU.

...R

My idea would be to register the temperature somewhere i don't have access to a power outlet, so my tak would be to power the nano with a battery (sleep mode ea..) and register/send the temperature at intervals to the nodemcu somewhere else.

The nodemcu on it part will send the registered data to a node-red installation.

@saidoze, you did not answer my question in Reply #1

Another thought. why not just use the NodeMCU in place of the Nano?

...R

Robin2:
@saidoze, you did not answer my question in Reply #1

Another thought. why not just use the NodeMCU in place of the Nano?

...R

Oh sorry, didn't really noticed that one.
The rf module is like this RF module

I use the nano because I want it to be able to work on batteries later on. And since a nodemcu uses lots of electricity (because of the wifi) i chose the nano.

saidoze:
The rf module is like this RF module

You will need a matching module attached to the NodeMCU. I have no experience either with those RF modules or with NodeMCUs

...R

I have had no problems using RadioHead on NodeMCU when connecting it to a LoRa module.

NodeMCU can go low power if you switch off the WiFi. You just switch that part on when you really need it.