Feature request - SendtoHTTP authentication

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
theone
Normal user
Posts: 11
Joined: 15 May 2016, 20:44

Feature request - SendtoHTTP authentication

#1 Post by theone » 24 Jun 2016, 11:33

Is it possible to add username and password to the SendtoHTTP command?

I would like my ESP to send ON/OFF/Toggle commands directly to my KMTronicC WEB relay board.
http://kmtronic.com/kmtronic-lan-ethern ... board.html
There is no option to remove the authentication from it.

I would like to do something like this to toggle relay 6:

Code: Select all

http://admin:admin@192.168.2.20/relays.cgi?relay=6

Mariete
Normal user
Posts: 13
Joined: 05 Nov 2015, 19:16

Re: Feature request - SendtoHTTP authentication

#2 Post by Mariete » 14 Feb 2017, 09:12

Did you manage to do the authenticated call?

I'm facing the same situation with SendToHTTP

groovy
Normal user
Posts: 39
Joined: 14 Oct 2016, 11:32
Location: Chemnitz, Germany

Re: Feature request - SendtoHTTP authentication

#3 Post by groovy » 14 Feb 2017, 09:34

Did you have a look here?

Mariete
Normal user
Posts: 13
Joined: 05 Nov 2015, 19:16

Re: Feature request - SendtoHTTP authentication

#4 Post by Mariete » 14 Feb 2017, 09:56

Thank you.

Looks like my _C008.ino is already modified but it still doesn't work.

I'm trying to use it in a rule.

sincze
Normal user
Posts: 28
Joined: 15 Jul 2016, 12:54

Re: Feature request - SendtoHTTP authentication

#5 Post by sincze » 20 Mar 2019, 11:14

In my rules I used to have commands like:

Code: Select all

SendToHTTP 192.168.*.*,8080,/json.htm?type=command&param=udevice&idx=88&nvalue=0&svalue=[Liters#Liters]
RULES make my life easy and I can do whatever I want without having to create DUMMY sensors in the ESP.

However since my Domoticz machine moved to a different vlan I now have to use AUTHENTICATION.
Would it be possible to implement this with SendToHTTP somehow??


Post Reply

Who is online

Users browsing this forum: Google [Bot] and 12 guests