getting somewhere, my Domoticz requires a username and password.
I have temporarily removed the username and password from Domoticz and it sort of works

my only issue is that when i open the contact I get an on, but when I close I dont get a close but that is just a hardware issue i believe...
Dont suppose you know how to include a username and password in the Json
cheers