Supla Button 4 direct links

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

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

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

1.1v_50.png
1.1v_50.png (68.78 KiB) Viewed 4427 times


D_Link_Config_5_s_x8_DOUT_8Mbit.rar
(304.07 KiB) Downloaded 340 times
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

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

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

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

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

this is what came out when i tried using link in browser.
Screenshot (1).png
Screenshot (1).png (80.61 KiB) Viewed 4181 times
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

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

Captura de pantalla (130)_LI.jpg
Captura de pantalla (130)_LI.jpg (248.06 KiB) Viewed 4182 times
User avatar
ritual
Posts: 80
Joined: Mon Apr 20, 2020 11:47 am

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

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

Return to “Ideas and concepts”