Hi Phil,
I send http requests to a http / web server from the camera during events (optical motion detection).
The php script below dumps all the request parameters, be they get or post. Might help to determine the data that goes over the wire.
I use Apache with a cgi-bin curl script to strobe Philips Hues when a motion event in the camera triggers.
An openHAB incoming http binding probably could trigger arbitrary actions.
Playing live camera streams on openHAB works out of the box.
I am trying to retrieve edge storage video via http or rtsp.
Currently I fail using something like this in VLC:
Currently the only way to visualize these recordings is by Axis Camera Companion, but I really want to consolidate all house functionality in openHAB.
best regards
Klaus
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$referrer = $_POST['referrer'];
$content = "(start of message)\n";
$content .= "message\n";
$content .= "=======\n\n";
$content .= "all POST data\n";
$content .= "-------------\n";
$content .= var_export($_POST, true);
$content .= "\n\n";
$content .= "all GET data\n";
$content .= "------------\n";
$content .= var_export($_GET, true);
$content .= "\n\n";
$content .= "Anfrage\n";
$content .= "-------\n";
$content .= "IP: " . $ip . "\nreferrer: " . $referrer . "\n";
$content .= "(end of message)";
$header = "from:$email_from\n";
$header .= "cc:$email_cc\n";
mail($email_to, $email_subject, $content, $header);
?>