Page 1 of 1

Camera Switch to None,Disabled alone

Posted: Thu May 06, 2021 7:20 pm
by mmaura66
Hello,
I use Zoneminder 1.34.26.

I have 4 cameras working since long time.

I added a camera, it works, but after a certain number of hours, between 24 and 48 the camera deactivates itself.

When activated everything works correctly including movement and motion detection.

I cannot find a corresponding error message and I do not understand what happens with this.

I couldn't find any information in the forum, do you have any idea what could be causing this behavior?

Thank you.

Image
Image

Re: Camera Switch to None,Disabled alone

Posted: Tue May 11, 2021 1:59 am
by dougmccrary
Weird. Do they all do this?
Perhaps a sick database disk? I'd try adding the camera(s) (clone it if you like) again and see what happens.

Re: Camera Switch to None,Disabled alone

Posted: Wed May 12, 2021 10:18 am
by swolsen
Could you have a script running via cron job that updates camera through api?
Check your Apache access log for POST /zm/api/monitors/x.json where x is the camera's id. around the time it changes.
Your LOG_LEVEL_WEBLOG would need to be set to INFO I believe for it to be logged.

Re: Camera Switch to None,Disabled alone

Posted: Wed May 12, 2021 12:30 pm
by mmaura66
Hello,

I cloned then deleted the camera, at first nothing, then again same status: None, Disabled.

Then it clicked in my head :shock:

I am using HomeAssistant to switch the global status from ZoneMinder to Modect, Monitor, Stop; but this status had not been saved for the new camera. Also at each change of global status, the camera switches to None, Disabled ...

Thank you for help :roll: .

Re: Camera Switch to None,Disabled alone

Posted: Wed May 12, 2021 1:16 pm
by iconnor
1.34.27 will contain a fix for this.

To apply the fix yourself look to recent commits to the release-1.34 branch.

https://github.com/ZoneMinder/zoneminde ... 774ddf37aa