Code: Select all
sendtohttp,'http://192.168.1.81:80/win&T=1'

https://kno.wled.ge/interfaces/http-api/
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
sendtohttp,'http://192.168.1.81:80/win&T=1'
Code: Select all
SendToHTTP,192.168.1.81,80,/win&T=1
New format DOES work on the tools page.
Not yet. Will try to in a day or so. Wife has other things in mind for me.....
Code: Select all
sendtohttp,'http://192.168.1.81:80/win&T=1'
Code: Select all
420807: EVENT: Clock#Time=Wed,14:14
420919: ACT : sendtohttp,'http:
420923: SendToHTTP: Invalid port argument: 0 will use: 80
420928: HTTP : SendToHTTP GET... failed HTTP code: -1 connection failed
420936: EVENT: http#=-1
Code: Select all
SendToHTTP,192.168.1.81,80,/win&T=1
Code: Select all
On Clock#Time=all,14:25 Do
SendToHTTP,192.168.1.81,80,/win&T=1
Endon
Code: Select all
On Clock#Time=all,14:25 Do
sendtohttp,'http://192.168.1.81:80/win&T=1'
Endon
Code: Select all
On Clock#Time=all,14:25 Do
sendtohttp,'http://192.168.1.81/win&T=1'
Endon
No workie.Ath wrote: ↑15 Dec 2022, 07:36 Can you try while removing the ":80" port number from the URL, like this:
Code: Select all
On Clock#Time=all,14:25 Do sendtohttp,'http://192.168.1.81/win&T=1' Endon
Code: Select all
EVENT: Clock#Time=Thu,9:20
69180823: ACT : sendtohttp,'http:
69180827: SendToHTTP: Invalid port argument: 0 will use: 80
69180833: HTTP : SendToHTTP GET... failed HTTP code: -1 connection failed
69180840: EVENT: http#=-1
Users browsing this forum: No registered users and 24 guests