Supla Button 4 direct links

arkomp
Posts: 10
Joined: Fri Feb 09, 2018 12:50 pm

Post

Flash size 1MByte
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

if you have 1 MB of flash you will probably have to use this connection:

1.1v_50.png


D_Link_Config_5_s_x8_DOUT_8Mbit.rar
You do not have the required permissions to view the files attached to this post.
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

Post

i am unable to perform action.
this is what came out of serial monitor.

.
.
closing connection
connecting to svrxx.supla.org
requesting URL:
request sent
headers received
failed
reply was:
==========
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.38 (Debian) Server at cloud.supla.org Port 443</address>
</body></html>
}
==========
closing connection
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

what software are you using?

It seems to connect but the content of the Link is incorrect.
the format must be:

Code: Select all

/direct/xx/xxxxxxxxx/toggle
When creating the link, the option only for devices must be turned off.
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

Post

i am using D_Link_Config_5_s_x4.rar and i tried it with for devices turned off aswell.
this is what came out of serial monitor.
.
.
request sent
headers received
failed
reply was:
==========
{"action_id":110,"action_name":"toggle","message":"directLinkExecutionFailureReason_forbiddenAction","messageText":"The requested action is not allowed for this direct link."}
==========
closing connection
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

Does the link work for you from the browser?

Do you have the functions activated in the direct link?
"on" "off" "toggle"
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

Post

this is what came out when i tried using link in browser.
Screenshot (1).png
You do not have the required permissions to view the files attached to this post.
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

Do you have the functions activated in the direct link?
"on" "off" "toggle"

Captura de pantalla (130)_LI.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

Post

yes i did activate on/off functionality for it, but by stupid brain didn't click on save changes. i am really sorry for this. :oops: :oops:
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

don't worry, they are things that happen. ;)
I'm glad that everything is fine now.

Return to “Ideas and concepts”