Change Running state via URL

Forum for questions and support relating to the 1.30.x releases only.
Locked
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Change Running state via URL

Post by marcolino7 »

Hi,
is it possible changing Running State by using a url, passing also username and password?
I mean like this to get video stream:

https://server/zm/cgi-bin/nph-zms?mode= ... s=pass1234

I would like to automate changing status from Stop to default.

Thanks in advance
Marco
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Re: Change Running state via URL

Post by alabamatoy »

The API supports this but not using username and PW, have to do auth using something like CURL. See https://zoneminder.readthedocs.io/en/st ... state-apis and https://zoneminder.readthedocs.io/en/st ... i-security
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Re: Change Running state via URL

Post by marcolino7 »

Many Thanks for reply.
Regards

Marco
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
Locked