Page 2 of 2

Re: Opinions on Arduino based cable connection

Posted: Wednesday 13 March 2019 21:37
by alarm_guy1
Right....

getting somewhere, my Domoticz requires a username and password.

I have temporarily removed the username and password from Domoticz and it sort of works :-) 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

Re: Opinions on Arduino based cable connection

Posted: Thursday 14 March 2019 11:16
by febalci
If this works from chrome without a password:
http://192.168.2.137:8081/json.htm?type ... tchcmd=Off
then you should'nt need to use a username and password in .ino also.

Under Setup/Settings/System page, find "Website Protection". Use "Login Page" as Authentication there. Mine works this way and i do not need username and password on .ino, i use it only when logging in the domoticz page from chrome.

Lastly, i assume you use Digital Pin 1 on the Uno, not Analog 1, right??

Re: Opinions on Arduino based cable connection (SOLVED)

Posted: Wednesday 20 March 2019 7:44
by alarm_guy1
Many thanks for the reply,
sorry for the delay in gertting back tyo you.

I removed my username and password saved it rebooted,

the Uno works, my remote access works, went into check and my usename and password are back in there and all seems to be working fine

many thanks