I’ve edited a second pair of pistons which perform the same operation on another nas, and they worked.
I deleted the original pistons and re-imported them and theyre working now.
Does the called piston need to be there, before you import the piston calling it? I’m not sure of the order on the first import, but on the second I tried that way.
I’ve now noticed that the get to the nas’s up address doesn’t seem to be working. The hub & nas are on the same network?
I think the call is working, but $response is coming back as null
25/08/2022, 18:24:38 +94ms
+2ms ╔Received event [Home].wc_async_reply = httpRequest with a delay of 10ms, canQueue: false, calledMyself: true
+6ms ║RunTime initialize > 5 LockT > 0ms > r9T > 2ms > pistonT > 0ms (first state access 3 3 2)
+8ms ║Runtime (6155 bytes) initialized in 2ms (v0.3.114.20220822_HE)
+40ms ║╔Execution stage started
+48ms ║║Executed virtual command setVariable (1ms)
+52ms ║║Comparison (dynamic) null is_not (string) [:] = true (1ms)
+53ms ║║Condition #5 evaluated true (3ms)
+54ms ║║Condition group #4 evaluated true (condition did not change) (4ms)
+59ms ║║Skipped execution of physical command [Start NAS-314].on([]) because it would make no change to the device. (1ms)
+59ms ║║Executed [Start NAS-314].on (2ms)
+65ms ║║Executed virtual command [Start NAS-314].setVariable (1ms)
+69ms ║╚Execution stage complete. (29ms)
+72ms ╚Event processed successfully (70ms)
25/08/2022, 18:24:38 +84ms
+4ms ╔Received event [Home].wc_async_reply = httpRequest with a delay of 0ms, canQueue: true, calledMyself: false
+5ms ╚Event queued (2ms)
25/08/2022, 18:24:38 +1ms
+3ms ╔Received event [Home].execute = :7bc150e5a57d1ea8be13be7db6ab459b: with a delay of 17ms, canQueue: true, calledMyself: false
+12ms ║RunTime initialize > 11 LockT > 1ms > r9T > 2ms > pistonT > 0ms (first state access 8 4 7)
+17ms ║Runtime (6146 bytes) initialized in 2ms (v0.3.114.20220822_HE)
+19ms ║╔Execution stage started
+28ms ║║Sending asynchttpGet web request to: 192.168.0.7
+30ms ║║Executed virtual command httpRequest (3ms)
+33ms ║║Requesting wake up at Thu, Aug 25 2022 @ 6:25:02 PM BST (in 23999ms) for 1 (st:2)
+40ms ║╚Execution stage complete. (21ms)
+69ms ║Setting up scheduled job for Thu, Aug 25 2022 @ 6:25:02 PM BST (in 24019ms)
+72ms ╚Event processed successfully (69ms)