Hi,
Is there a way to change a camera mode directly from command line without the creation of a new state?
thank you for your help!
control camera modes independently from command line
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
wel i havnt checked the docs as i have never need to do this but i suppose you 'could' edit the db with a command, then restat zm with a command if you really have to
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Hi,
Ok thank you. There were some suggestions in previous postings long time ago that it was possible but maybe then it isnt.
I guess I have to look into changing the db from scripts or manually starting the zmc and zma daemons from scripts.
I have to control 10+ cameras independently and on irregular intervals so therefore I am looking for a solution to this.
-h
Ok thank you. There were some suggestions in previous postings long time ago that it was possible but maybe then it isnt.
I guess I have to look into changing the db from scripts or manually starting the zmc and zma daemons from scripts.
I have to control 10+ cameras independently and on irregular intervals so therefore I am looking for a solution to this.
-h
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
You could duplicate your cameras if needed if that helps
ie have 2 cam1 one as mocord one as record etc
ie have 2 cam1 one as mocord one as record etc
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Something like this
Code: Select all
echo "UPDATE Monitors SET Function='Modect' WHERE Id='1'" |mysql -u zmuser -pzmpass zm && zmpkg.pl restart
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: