automatic turning on and off of devices over a period of time February 20, 2023 02:37PM |
Registered: 6 years ago Posts: 69 |
Re: automatic turning on and off of devices over a period of time February 20, 2023 03:17PM |
Registered: 6 years ago Posts: 41 |
Re: automatic turning on and off of devices over a period of time February 21, 2023 10:42AM |
Registered: 6 years ago Posts: 69 |
Re: automatic turning on and off of devices over a period of time February 28, 2023 02:21PM |
Registered: 6 years ago Posts: 69 |
Re: automatic turning on and off of devices over a period of time March 03, 2023 01:20PM |
Registered: 5 years ago Posts: 18 |
Re: automatic turning on and off of devices over a period of time March 03, 2023 04:10PM |
Registered: 6 years ago Posts: 300 |
Re: automatic turning on and off of devices over a period of time March 04, 2023 03:22PM |
Registered: 6 years ago Posts: 41 |
htt*://<ip>/cm?cmnd=Power%20TOGGLE htt*://<ip>/cm?cmnd=Power%20On htt*://<ip>/cm?cmnd=Power%20Off htt*://<ip>/cm?user=admin&password=joker&cmnd=Power%20Toggle
htt*://<ip>/cm?cmnd=PulseTime%203700
Re: automatic turning on and off of devices over a period of time March 04, 2023 03:48PM |
Registered: 5 years ago Posts: 18 |
Re: automatic turning on and off of devices over a period of time March 13, 2023 02:11PM |
Registered: 6 years ago Posts: 69 |
cWs_info is ANSI string = [ { "deviceid":"10d561b3c1c8", "data": { } } ] i is int = 1 maReq is a httpRequest myRep is a httpResponse vHttpVariant is a Variant EDT_Dets = "" // WLanguage code used to call it by passing the parameter maReq..URL = "[192.168.0.4]" maReq..ContentType = "application/json" //maReq..ContentType=typeMimeJSON maReq..Method = httpPost maReq..Content = cWs_info Trace(maReq..Content) Trace(maReq..ContentType) myRep = RESTSend(maReq) IF ErrorOccurred THEN Error(ErrorInfo(errFullDetails)) ELSE EDT_Dets = myRep.Content END
WL call: Process of 'Click BTN_NoName1' (WIN_Main.BTN_NoName1), line 31 'RESTSend' function, syntax 0 What happened? System error sending HTTP request. Error code: 100138 Level: non-fatal error Dump of the error of 'wd240com64.dll' module (24.0.56.1). Debugging information: Fonction (10,424) Additional Information: EIT_PILEWL : Click BTN_NoName1 (WIN_Main.BTN_NoName1), line 31 EIT_DATEHEURE : 13/03/2023 14:09:46 EIT_TYPE_WDFILE : <2> EIT_IDCODE : <18>
Re: automatic turning on and off of devices over a period of time March 14, 2023 02:09PM |
Registered: 5 years ago Posts: 18 |
Re: automatic turning on and off of devices over a period of time April 03, 2023 05:09PM |
Registered: 6 years ago Posts: 69 |
ws_info is ANSI string = [ { "deviceid":"4022D8FEB724", "data":{} } ] i is int = 1 maReq is a httpRequest myRep is a httpResponse HttpVariant is a Variant EDIT_Dets = "" // WLanguage code used to call it by passing the parameter maReq..URL = "192.168.1.102" maReq..ContentType = "application/json" maReq..Method = httpPost maReq..Content = ws_info myRep = RESTSend(maReq) IF ErrorOccurred THEN Error(ErrorInfo(errFullDetails)) ELSE EDIT_Dets = myRep.Content END
myRep = RESTSend(maReq)
Re: automatic turning on and off of devices over a period of time April 03, 2023 05:57PM |
Registered: 5 years ago Posts: 18 |
Re: automatic turning on and off of devices over a period of time April 03, 2023 06:21PM |
Registered: 6 years ago Posts: 300 |