Connecting Mosquitto Binding to Arduino

Hi all,

Summary of my project:

AIM: Create an automated Garage Door opener utilising an Arduino connected to OpenHab

Status: I have connected an Arduino to my 4 button garage remote with a 5v Relay in between. I have the basic programming working (I am a novice) but i can basically have the garage door open and then shut again using basic high and low variations.

What i want to know is how to connect to the OpenHab via the Mosquitto Binding? Not sure if this is the right forum but its a good starting place.

I use this library to talk to mosquitto (MQTT protocol). See the examples.