Search found 91 matches

by montagdude
Sun Oct 06, 2024 1:59 pm
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder API - one of my cameras started returning None for MonitorId
Replies: 3
Views: 1595

Re: ZoneMinder API - one of my cameras started returning None for MonitorId

Thanks, that solved it. It's been a while since I wrote this, and I'm not really sure why I used the Monitor_Status table in the first place. To clarify for anyone else who might search this, the fix was to use:

Code: Select all

monitor['id'] = int(item['Monitor']['Id'])
by montagdude
Fri Oct 04, 2024 7:37 pm
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder API - one of my cameras started returning None for MonitorId
Replies: 3
Views: 1595

Re: ZoneMinder API - one of my cameras started returning None for MonitorId

Just to add a bit more information, I have tried:
  • Restarting the server
  • Restarting ZoneMinder
  • Restarting the problematic camera
Also, the Id shows up fine in the web console. This seems to be an issue with the API only.
by montagdude
Fri Oct 04, 2024 7:27 pm
Forum: ZoneMinder 1.36.x
Topic: ZoneMinder API - one of my cameras started returning None for MonitorId
Replies: 3
Views: 1595

ZoneMinder API - one of my cameras started returning None for MonitorId

Hi, I use some python scripts to do object detection and send notifications via Pushover or email. The scripts access the ZoneMinder API via the requests python module. When setting up the monitors, I get the monitor ID as follows: # Send request for api_path/monitors.json prior to this and return ...
by montagdude
Mon Jul 03, 2023 1:41 am
Forum: ZoneMinder 1.36.x
Topic: Disk space incorrect
Replies: 1
Views: 619

Disk space incorrect

I just reinstalled Ubuntu and ZoneMinder on a fresh hard drive. I restored my old db and then ran a filter to delete all events, since I didn't bother saving any of the actual event data (videos, frames, etc.). Everything seems to be working fine, except that the DiskSpace used under Storage is ...
by montagdude
Fri May 12, 2023 3:02 am
Forum: User Contributions
Topic: Sync event videos to Google Drive
Replies: 2
Views: 14294

Re: Sync event videos to Google Drive

I added the capability to purge old files when exceeding a user-defined storage space limit, in MB. It works basically like ZoneMinder's PurgeWhenFull filter. This is useful if your Google Drive storage allocation is less than your ZoneMinder disk space, which it probably is for most people, as you ...
by montagdude
Tue Apr 18, 2023 12:35 pm
Forum: ZoneMinder 1.36.x
Topic: Motion Record Settings
Replies: 5
Views: 2820

Re: Motion Record Settings

Turn on analysis frames and set the sensitivity really high (low minimum alarmed pixels, filtered pixels, and blob area; no maximum). Remove preclusive zones, if you have any. You should then get recordings on even slight movements. Scroll through the stats for the alarm frames you get to see what ...
by montagdude
Thu Mar 30, 2023 8:29 pm
Forum: ZoneMinder 1.36.x
Topic: Default sort order for events in web display
Replies: 1
Views: 988

Re: Default sort order for events in web display

Never mind, I found it. WEB_EVENT_SORT_ORDER under web options.
by montagdude
Thu Mar 30, 2023 8:09 pm
Forum: ZoneMinder 1.36.x
Topic: Default sort order for events in web display
Replies: 1
Views: 988

Default sort order for events in web display

In the past, if I clicked on the list of events and then sorted them, for example, by start time in descending order (newest to oldest), ZoneMinder seemed to remember that and display it that way subsequently. However, it's not doing that for me anymore. Every time I click on any list of events ...
by montagdude
Sun Mar 26, 2023 2:45 am
Forum: ZoneMinder 1.36.x
Topic: Google Chrome on Android suddenly thinks my personal ZoneMinder page is a phishing site
Replies: 2
Views: 1084

Re: Google Chrome on Android suddenly thinks my personal ZoneMinder page is a phishing site

I clicked the link to submit a report that the warning was in error, and a few hours later the message stopped appearing. I don't know if that's because I submitted a report or if it just went away on its own, but I guess it's solved now.
by montagdude
Sat Mar 25, 2023 12:38 pm
Forum: ZoneMinder 1.36.x
Topic: Google Chrome on Android suddenly thinks my personal ZoneMinder page is a phishing site
Replies: 2
Views: 1084

Google Chrome on Android suddenly thinks my personal ZoneMinder page is a phishing site

I suddenly started getting this warning this morning on Google Chrome on Android when I try to visit my ZM site: Deceptive site ahead Attackers on [my site] may trick you into doing something dangerous like installing software or revealing your personal information (for example, passwords, phone ...
by montagdude
Thu Mar 23, 2023 2:29 pm
Forum: User Contributions
Topic: Sync event videos to Google Drive
Replies: 2
Views: 14294

Re: Sync event videos to Google Drive

I made a couple improvements to this script: Generic try/except instead of trying to catch specific errors. There are too many different ways the Google API calls can fail while trying to upload or delete a file, and it was too tedious and not really worthwhile to attempt to catch them all ...
by montagdude
Mon Jan 30, 2023 6:39 pm
Forum: User Contributions
Topic: Sync event videos to Google Drive
Replies: 2
Views: 14294

Sync event videos to Google Drive

I like that ZoneMinder saves videos in local storage, but lately I decided to also create a contingency plan for the potential situation where the ZoneMinder server is stolen during a break-in. This is a Python script using PyDrive that syncs your local videos with cloud storage on Google Drive. You ...
by montagdude
Sun Jan 22, 2023 3:09 am
Forum: User Contributions
Topic: zoneminder-controlcenter: console interface to set ZoneMinder run state
Replies: 6
Views: 14508

Re: zoneminder-controlcenter: console interface to set ZoneMinder run state

I finished my 3D printed wall mount today. It's a little big because of the size of the keypad I chose, but it gets the job done and looks pretty good.

Image
by montagdude
Sun Jan 22, 2023 2:39 am
Forum: User Contributions
Topic: zoneminder-controlcenter: console interface to set ZoneMinder run state
Replies: 6
Views: 14508

Re: zoneminder-controlcenter: console interface to set ZoneMinder run state

Magic919 wrote: Fri Jan 20, 2023 8:16 am You should stick this on the Slack channel.
Never used Slack before. How does it work? I assume I have to make an account and then request access to the Slack channel or something like that?