1) Give a description of the problem
I’m new to WebCore. Trying to send a GET request to a local device on my home network - a Web Power Switch. I have been using an ISY-994i to do this but I’m transitioning to ST. In ISY I used a GET command with these parameters:
GET /outlet?8=ON
Host: 192.168.1.30:366
Authorization: Basic YWRtaW46YWRtaW4=
I have tried a similar GET in webcore but its not working:
string call = ‘outlet?8=ON’
make a GET request to 192.168.1.30: 366 with query data {call}
2) What is the expected behaviour?
Authenticate at local address (192.168.1.30, port 366) using basic Authorization and send command (GET /outlet?8=ON)
3) What is happening/not happening?
Authentication reaches switch at local IP and port and authenticates.
Command (outlet?8=ON) is not received
4) Post a Green Snapshot of the piston![image|690x231] (upload://xK8WwMCzoDkDrcB1Jf27yjtZ9bq.png)
5) Attach logs after turning logging level to Full
6/9/2020, 9:55:32 AM +121ms
+0ms ╔Received event [Home].time = 1591721733602 with a delay of -1482ms
+60ms ║RunTime Analysis CS > 37ms > PS > 9ms > PE > 15ms > CE
+63ms ║Runtime (36696 bytes) successfully initialized in 9ms (v0.3.110.20191009) (61ms)
+65ms ║╔Execution stage started
+80ms ║╚Execution stage complete. (16ms)
+82ms ╚Event processed successfully (82ms)
6/9/2020, 9:55:13 AM +526ms
+1ms ╔Received event [Home].test = 1591721713526 with a delay of 0ms
+39ms ║RunTime Analysis CS > 21ms > PS > 7ms > PE > 10ms > CE
+41ms ║Runtime (36692 bytes) successfully initialized in 7ms (v0.3.110.20191009) (39ms)
+42ms ║╔Execution stage started
+47ms ║║Cancelling statement #1’s schedules…
+63ms ║║Sending internal web request to: 192.168.1.30:366
+74ms ║║Executed virtual command httpRequest (18ms)
+75ms ║║Requesting a wake up for Tue, Jun 9 2020 @ 9:55:33 AM PDT (in 20.0s)
+92ms ║╚Execution stage complete. (50ms)
+100ms ║Setting up scheduled job for Tue, Jun 9 2020 @ 9:55:33 AM PDT (in 19.977s)
+107ms ╚Event processed successfully (107ms)
Clear
Full