I have Zoneminder 1.28.100, and I have installed the API to remote control ZM function from an home automation software.
I use this command to switch from Modect to Monitor:
Code: Select all
curl -XPOST htetp://zoneminder/zm/api/monitors/1.json -d "Monitor[Function]=Monitor"
Only way to have it back to monitor is from web interface to set in Modect and then back to Monitor. In this way, motion detection really stop.
Any hekp would be appreciated.
Regards
Marco