Search found 3 matches

by StevenK
Saturday 25 July 2020 15:01
Forum: Bash / PowerShell / Batch etc.
Topic: Action script only executing a few times
Replies: 4
Views: 1256

Re: Action script only executing a few times

Sorry, overlooked the rest of the code. After changing the code, I was able to switch 30 a couple of times, until I switched 31 once, after that it didn't work anymore. And that last one appeared to be part of the problem. 31 had a script attached that did a delay, but I just found a reference on ...
by StevenK
Saturday 25 July 2020 13:18
Forum: Bash / PowerShell / Batch etc.
Topic: Action script only executing a few times
Replies: 4
Views: 1256

Re: Action script only executing a few times

Thanks @waaren, debugging added. I've just been able to switch them a few times, but after that it failed again.

2020-07-25 13:10:41.106 Status: dzVents: Info: Handling events for: "SW Badkamer", value: "On"
2020-07-25 13:10:41.107 Status: dzVents: Info: toggler: ------ Start internal script ...
by StevenK
Saturday 25 July 2020 9:08
Forum: Bash / PowerShell / Batch etc.
Topic: Action script only executing a few times
Replies: 4
Views: 1256

Action script only executing a few times

I've got a number of devices which I usually control through either webinterface of app. Now I've got myself a few switches and want to use these switch lights on and of.
I've got a small php script:

#!/usr/bin/php
<?php
$id=$argv[1];
print "Id: $id";
$js=file_get_contents("http://192.168.11.119 ...