Camera Switch to None,Disabled alone

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
mmaura66
Posts: 3
Joined: Thu May 06, 2021 7:09 pm

Camera Switch to None,Disabled alone

Post 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
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Camera Switch to None,Disabled alone

Post 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.
User avatar
swolsen
Posts: 31
Joined: Sat Mar 20, 2021 9:39 pm
Location: Schenectady, NY, USA

Re: Camera Switch to None,Disabled alone

Post 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.
mmaura66
Posts: 3
Joined: Thu May 06, 2021 7:09 pm

Re: Camera Switch to None,Disabled alone

Post 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: .
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Camera Switch to None,Disabled alone

Post 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
Post Reply