Search found 193 matches
- Thu Dec 16, 2021 10:16 am
- Forum: ZoneMinder 1.36.x
- Topic: Date Format differs
- Replies: 18
- Views: 15484
Re: Date Format differs
I wish I could get UK date formats here! Untitled-1.png 1.36.10 on CentOS. e2a: Turns out I can :) The clue was STRF_FMT_DATETIME_SHORTER above and the solution was to edit /usr/share/zoneminder/www/includes/lang.php and change the definition from '%m/%d %H:%M:%S' to '%d/%m %H:%M:%S' I guess this mi...
- Wed Dec 15, 2021 12:01 pm
- Forum: ZoneMinder 1.36.x
- Topic: noob: recording on raspberry
- Replies: 2
- Views: 2144
Re: noob: recording on raspberry
I don't know how things are set up there but you'll probably want to set the Video Writer to Camera Passthrough to avoid decoding/encoding the video stream and use a separate low-resolution stream for any detection or analysis, triggering a higher-resolution stream to record any events. Also check t...
- Sat Dec 04, 2021 1:46 am
- Forum: ZoneMinder 1.36.x
- Topic: Is zoneminder able to read files from an FTP server and display them?
- Replies: 1
- Views: 21338
Re: Is zoneminder able to read files from an FTP server and display them?
I'm very late to this but I think the answer is "sort of"... FFmpeg can read its input from FTP sources and you can enter ftp://... in ZM's Source Path box without any complaints, but it'll try to read and output the remote file as fast as it can if it doesn't have the -re parameter before...
- Fri Dec 03, 2021 8:11 pm
- Forum: Website Issues
- Topic: "Active Topics"
- Replies: 1
- Views: 12982
"Active Topics"
Is it possible to get some of the other forums included in the Active Topics search? I generally use that as my entry point but miss posts in Hardware Queries, the HCL, and Hints and Tips, and maybe Feature Requests, User Contribs, and Non-ZM Chat (but I'm not sure about the last three). e2a: And, a...
- Fri Dec 03, 2021 4:13 pm
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
Excellent news about the Zones :) Have you tried putting the control:filter command outside of the loop? I reckon you probably only need to send it once. And curious about the ws.recv() thing... Have you tried putting another print() in the loop, just to output "I'm alive" messages or some...
- Fri Dec 03, 2021 3:27 pm
- Forum: ZoneMinder Hints & Tips
- Topic: Replaying Events for Testing Zones / Using a video file as a Source
- Replies: 9
- Views: 61259
Re: Replaying Events for Testing Zones / Using a video file as a Source
Edit: Thinking on this again i thought maybe source type:file could be used for this. Well that doesn't work but ffmpeg source was able to watch a video file albeit the fps must be specified, otherwise it plays back at some hilarious 1000fps. Yeah, @haus tried that in the other thread but I think Z...
- Fri Dec 03, 2021 3:13 pm
- Forum: ZoneMinder Hints & Tips
- Topic: Replaying Events for Testing Zones / Using a video file as a Source
- Replies: 9
- Views: 61259
Re: Replaying Events for Testing Zones / Using a video file as a Source
I've updated the code in the first post and the Wiki article to work with event IDs, which is a lot easier than faffing around with file paths. You can still use file paths if you want to though.
- Fri Dec 03, 2021 3:08 am
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
Do I need a hook? Do I want a hook? I don't know - Do you? :unsure: I suspect you probably don't though, or at least at the moment anyway but maybe the time will come when you'll write something that pulls the information you want from the database and sends it as part of the notification? There ar...
- Fri Dec 03, 2021 12:12 am
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
Maybe the is ES firing off some sort of detection script or servicing a hook before it sends out the notification?
- Thu Dec 02, 2021 2:06 pm
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
ws.send(json.dumps({"event":"control","data":{"type":"filter","monlist":"4", "intlist":"30"}})) The above hangs The below fails ws.send(json.dumps({"event":"escontrol", "data":{&q...
- Thu Dec 02, 2021 3:41 am
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
@kitkat Interrupted by what I wonder? You pressing Ctrl+C ;) I'm kind of shooting in the dark here (not used ws or zme) but it looks in the first case like you're sending a command that doesn't elicit a response ("There is no response for this request.." is from the docs) and then calling...
- Wed Dec 01, 2021 9:08 pm
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
I just thought it might be waiting forever in result = ws.recv() after doing ws.send(json.dumps({"event":"control","data":{"type":"filter","monlist":"4","intlist":"0"}})) , and the traceback suggests it was in ...
- Wed Dec 01, 2021 11:42 am
- Forum: Mobile Apps and Event Server
- Topic: Zone alarms vs monitor alarms via websocket JSON output
- Replies: 31
- Views: 33468
Re: Zone alarms vs monitor alarms via websocket JSON output
Are you waiting for a reply that will never come?
"There is no response for this request, unless the payload did not have either monlist or intlist."
"There is no response for this request, unless the payload did not have either monlist or intlist."
- Tue Nov 30, 2021 11:14 pm
- Forum: ZoneMinder 1.36.x
- Topic: Testing zones against stored events?
- Replies: 8
- Views: 5178
- Tue Nov 30, 2021 11:13 pm
- Forum: ZoneMinder Hints & Tips
- Topic: Replaying Events for Testing Zones / Using a video file as a Source
- Replies: 9
- Views: 61259
Replaying Events for Testing Zones / Using a video file as a Source
There was a question a while ago asking whether it was possible to test zones against stored events, which interested me, and I I've cobbled together a fairly reliable method of doing it with PHP and FFMpeg. Create a file named replay-test.php in your server's web root (not the ZM root) and paste th...