Hey @ATha1, I'm sorry for reviving this old topic but I'm currently struggling with getting RS485 and RF24 to work together. I can't find any other threads mentioning this so I'm really wondering if you did manage to make them work together and how.
@kacper_zet Try moving this code from receive to void loop and add a check to see if the status has changed from it's last state. Maybe then it will work for you.
// Store state in eeprom
// Write some debug info
Serial.print("Incoming change for sensor:");
Serial.print(", New status: ");
If not then it might be HA relsted and I can't help with that.
@Yveaux Agreed, but the nodes poll the gateway using the isMetric() function to determine what units to report. The gateway supposedly gets this info from the controller.
In my case, either my controller (HomeAssistant) isn't properly reporting that it is using imperial units or the gateways (two in use on 2.2 and 2.3.2 codebase) aren't correctly passing that information along to the nodes.