Email are sending correctly, but the http request is not working.
Get, Put, Post … nothing OK
Request should set/reset virtual input 1 of the camera.
Any suggestion ?
Thanks.
After lot of testing I can use http statements directly via browser input
Camera event is triggered via virtual input 1 from windows firefox and pri firefox
But above rules without success :0(
Also tested on received command with ON/OFF case
curl on RPI3 Raspbian
root@raspberrypi:/home/pi# curl http://192.168.100.9/axis-cgi/virtualinput/activate.cgi?schemaversion=1&port=1
root@raspberrypi:/home/pi#
Unauthorized
This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn’t understand how to supply
the credentials required
Also same if I put valid user:password before IP
Maybe a openhab script would be better. Can someone me help with script ?
Thanks for help.
This solves my CURL problem. No ’ single quotas and all spaces to @@ and --anyauth (avoid authorisation problem)
curl statement should be as a string without spaces and ’
Hi,
anybody knows how is possible to get info about motion detection status (not stream, picture) to set some flag and switch some rule with this flag (switch) ?