Home Automation Project

OK, i have basic knowlage of C programming

To start:

I have a Raspberry PI with nRF24L01+ and OpenHUB and MQTT installed.

An Arduino Uno with nRF24L01+ and a switch and a relay

I need guidance setting up the Arduino and the OpenHAB files.

I need to be able to control a relay with the OpenHAB.

I implemented this project too

http://www.homeautomationforgeeks.com/project/rf24software.shtml

Changed to DHT11 wich is the one I have

but in the serial monitor shows:

Could not send message
Could not send message
Could not send message

Is it possible to use an RSA handshake in the comunication?

Is it better if use ESP8266-08 instead?

Thank You