Are you connecting mains to it or 24V? Am I right to assume 24v AC?

As people may not know the details of an "R86..." it would help if you could provide details of a link, like this one:

http://www.rtelligent.net/R86.html