Checking the status
henits opened this issue · 4 comments
henits commented
I already had a script which had the output 0 or 1 depending on the state of the socket, but I can not find it anymore. Does anybody else have a php script for me?
tillepille commented
check webinterface/status.php
henits commented
But does it return the status of each single socket?
tillepille commented
The status.php works pretty similar to the other files.
You do a GET to yourserver/status/?sys=1&group=1010&switch=01 and the respond is a plain text "0" or "1" depending on the status, of course.
Thats the same what the index.php does for each socket to show you the right status.
Hope this helps...
henits commented
Thank you so much! Really appreciate it!