Disable motion from web server

syndacate

n3wb
Joined
May 2, 2016
Messages
9
Reaction score
0
Hello everybody, I'd like to enable or disable the motion for a specific cam using http commands. Becasue there is not a specific command I thought to change profiles making some profiles with no motion for cams. Well...the problem is that if i configure the web server with no authentication and then call the url http://xxx.xxx.xxx.xxx:xxxx/admin?profile=2 nothing happens. If instead i set the authentication calling taht url a login form will prompt me and the the command works as I espected. How can i do?

The goal is to have a nfc tag that could call an url so I can disable or enable the motion for the camera without using any app. Thank you
 
Last edited by a moderator:

pozzello

Known around here
Joined
Oct 7, 2015
Messages
2,270
Reaction score
1,117
why disable auth? try url
http://<user>:<password>@xxx.xxx.xxx.xxx:xxxx/admin?profile=2
 

syndacate

n3wb
Joined
May 2, 2016
Messages
9
Reaction score
0
Ok removing secure only it works. Is there a way also to read the actual profile?
 
Top