Opinions on Arduino based cable connection

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Opinions on Arduino based cable connection

Post 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
febalci
Posts: 331
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Opinions on Arduino based cable connection

Post 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??
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Opinions on Arduino based cable connection (SOLVED)

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest