php-toggle code snippet can be used for PHP based servers to toggle output using cURL change URLs and credentials of your PowerCable device, place it to your webserver and call it from your browser