Open iurycarlos opened 1 year ago
Hummm Actually it is working, but only for UI motion detection :(
I'm also having issues with no recordings. Here are some relevant logs:
[4/19/2023, 5:10:53 PM] [camera.ui] Driveway: Setting up camera, please be patient...
[4/19/2023, 5:10:53 PM] [camera.ui] Backyard: Setting up camera, please be patient...
[4/19/2023, 5:10:54 PM] [camera.ui] camera.ui v1.1.17 is listening on port 8081 (http)
[4/19/2023, 5:11:53 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":46.75318145751953,"sensitivity":54,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:13:11 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:13:11.393Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:13:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":12.562134742736816,"sensitivity":88,"dwell":60,"forceClose":3},{"zone":"region1","percent":16.87531852722168,"sensitivity":84,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:15:18 PM] [camera.ui] Backyard: Restart prebuffer session..
[4/19/2023, 5:16:09 PM] [camera.ui] Driveway: Restart prebuffer session..
[4/19/2023, 5:16:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:16:25.461Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:16:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":12.818323135375977,"sensitivity":88,"dwell":60,"forceClose":3},{"zone":"region1","percent":13.760814666748047,"sensitivity":87,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:19:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:19:54.449Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:20:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":57.02289962768555,"sensitivity":44,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:22:56 PM] [camera.ui] Driveway: Restart prebuffer session..
[4/19/2023, 5:22:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:22:56.482Z","event":"killed"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:22:56 PM] [camera.ui] WARNING System: Got SIGINT, shutting down camera.ui...
[4/19/2023, 5:26:01 PM] [camera.ui] Driveway: Setting up camera, please be patient...
[4/19/2023, 5:26:01 PM] [camera.ui] Backyard: Setting up camera, please be patient...
[4/19/2023, 5:26:01 PM] [camera.ui] Porch: Setting up camera, please be patient...
[4/19/2023, 5:26:06 PM] [camera.ui] camera.ui v1.1.17 is listening on port 8081 (http)
[4/19/2023, 5:26:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":33.47013854980469,"sensitivity":68,"dwell":60,"forceClose":3},{"zone":"region1","percent":69.3740463256836,"sensitivity":32,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:26:46 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":36.35331726074219,"sensitivity":65,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:27:53 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:27:53.373Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:27:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:27:56.103Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:31:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":43.25190734863281,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:32:39 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":25.99650764465332,"sensitivity":75,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:34:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:34:04.789Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:34:09 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":14.150245666503906,"sensitivity":87,"dwell":60,"forceClose":3},{"zone":"region1","percent":62.95674133300781,"sensitivity":38,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:35:39 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:35:39.335Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:36:28 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":70.51961517333984,"sensitivity":30,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:37:09 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:37:09.521Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:37:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":20.3612117767334,"sensitivity":81,"dwell":60,"forceClose":3},{"zone":"region1","percent":71.81170654296875,"sensitivity":29,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:39:28 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:39:28.835Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:39:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":43.30921173095703,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:40:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:40:41.658Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:41:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":38.95674133300781,"sensitivity":62,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:41:43 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:41:43.857Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:42:26 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":69.39305114746094,"sensitivity":32,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:42:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:42:56.611Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:43:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":18.31808090209961,"sensitivity":83,"dwell":60,"forceClose":3},{"zone":"region1","percent":22.768447875976562,"sensitivity":78,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:44:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:44:41.879Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:45:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:45:06.050Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:46:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":15.791348457336426,"sensitivity":85,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:47:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:47:25.264Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:48:26 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":45.63358688354492,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:48:42 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":48.5727653503418,"sensitivity":52,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:50:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:50:16.104Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:50:27 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":20.300254821777344,"sensitivity":81,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:51:42 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:51:42.266Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:51:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":60.21645736694336,"sensitivity":41,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:52:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:52:41.089Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:52:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:52:48.755Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:53:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":29.684478759765625,"sensitivity":71,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:53:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":31.804628372192383,"sensitivity":69,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:56:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:56:04.597Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:56:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":45.45547103881836,"sensitivity":56,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:56:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:56:49.802Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:56:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":45.85989761352539,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:59:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:59:06.349Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:59:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":37.306583404541016,"sensitivity":64,"dwell":60,"forceClose":3},{"zone":"region1","percent":57.638675689697266,"sensitivity":43,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:59:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:59:59.778Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:00:08 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":35.32218933105469,"sensitivity":66,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:01:10 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:01:10.123Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:01:12 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":13.068702697753906,"sensitivity":88,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:03:08 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:03:08.808Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:03:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:03:34.032Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:04:24 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":32.78880310058594,"sensitivity":68,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:04:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":46.755035400390625,"sensitivity":54,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:05:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:05:34.086Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:05:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:05:34.297Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:06:07 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":28.381885528564453,"sensitivity":73,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:06:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":13.134860038757324,"sensitivity":88,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:09:07 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:09:07.436Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:09:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":39.406150817871094,"sensitivity":62,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:09:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:09:38.859Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:10:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":42.07410430908203,"sensitivity":59,"dwell":60,"forceClose":3},{"zone":"region1","percent":82.885498046875,"sensitivity":18,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:10:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:10:23.351Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:10:32 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":80.62815856933594,"sensitivity":20,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:11:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:11:41.247Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:11:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":46.00274658203125,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:13:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:13:16.015Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:13:20 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":76.37149810791016,"sensitivity":25,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:14:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:14:48.837Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:15:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:15:25.051Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:15:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":43.38968276977539,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
And here's my config:
{
"logLevel": "info",
"port": 8081,
"atHomeSwitch": false,
"options": {
"videoProcessor": "/usr/lib/node_modules/camera.ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
},
"ssl": {
"active": false
},
"http": {
"active": false,
"port": 7272,
"localhttp": false
},
"smtp": {
"active": false,
"port": 2727,
"space_replace": "+"
},
"ftp": {
"active": false,
"useFile": false,
"port": 5050
},
"mqtt": {
"active": false,
"tls": false,
"port": 1883
},
"cameras": [
{
"name": "Driveway",
"motionTimeout": 15,
"recordOnMovement": null,
"prebuffering": true,
"videoConfig": {
"source": "-i rtsp://admin:@192.168.2.5:554/h264Preview_01_main",
"stillImageSource": "-i rtsp://admin:@192.168.2.5:554/h264Preview_01_main",
"stimeout": 10,
"audio": null,
"debug": null,
"subSource": "-i rtsp://admin:@192.168.2.5:554/h264Preview_01_main",
"rtspTransport": null,
"vcodec": null,
"acodec": null
},
"mqtt": {},
"smtp": {
"email": "Driveway"
},
"videoanalysis": {
"active": true
},
"prebufferLength": 4
},
{
"name": "Backyard",
"motionTimeout": 15,
"recordOnMovement": null,
"prebuffering": true,
"videoConfig": {
"source": "-i rtsp://admin:@192.168.2.6:554/h264Preview_01_main",
"stillImageSource": "-i rtsp://admin:@192.168.2.6:554/h264Preview_01_main",
"stimeout": 10,
"audio": true,
"debug": null,
"subSource": "-i rtsp://admin:@192.168.2.6:554/h264Preview_01_main",
"rtspTransport": null,
"vcodec": null,
"acodec": null
},
"mqtt": {},
"smtp": {
"email": "Backyard"
},
"videoanalysis": {
"active": true
},
"prebufferLength": 4
},
{
"name": "Porch",
"motionTimeout": 15,
"recordOnMovement": null,
"prebuffering": true,
"videoConfig": {
"source": "-i rtsp://admin:@192.168.2.4:554/h264Preview_01_main",
"stillImageSource": "-i rtsp://admin:@192.168.2.4:554/h264Preview_01_main",
"stimeout": 10,
"audio": true,
"debug": null,
"subSource": "-i rtsp://admin:@192.168.2.4:554/h264Preview_01_main",
"rtspTransport": null,
"vcodec": null,
"acodec": null
},
"mqtt": {},
"smtp": {
"email": "Porch"
},
"videoanalysis": {
"active": true
},
"prebufferLength": 4
}
]
}
My recordings are working now. The issue is that you must select "Record on movement through UI".
The name and description of this are misleading, because in fact it has nothing to do with the UI. I'd recommend this be relabeled as something like "Record On Movement from Videoanalysis". Also the term "external controller" isn't easy to understand and seems undocumented.
In that scenario motion will be detected by Camera.UI, not coming from ONVIF events, right? I was looking for something to get ONVIF events...
I tryed so hard to make Camera.UI work for weeks. Unfortunately i couldn't. Had better results with ZoneMinder. Also, i was looking for a software that could give more flexibility accordingly the logged user. Like access by camera, etc...
I simply cant get it to record, not even with "Record on movement through UI".
To bad, seems like a potential great product...
UPDATE: Its woking, but sensitivity must be set to very high (and pixel rate to 50%) - so now its recording
Problem i have with it is that if the website is not active, it doesn't record :( There's something pretty strange.
I tried Zoneminder but it is absurdly slow and buggie... I don't consider myself a newbie in tech, and still, it is disappointing.
CameraUI seams to be fast, but it still doesn't recognize ONVIF motion detection (at least here) and it fails to record when you close the webpage... So, NVR with poor hardware and pretty expensive is winning :(
I hope this problem could be solved soon. I was looking for a NVR solution and this is the best option that I found. I am using it in a Debian server. Motion is detected, but nothing is recorded.
Describe the bug
Recording is not working on a windows installation.
To Reproduce Steps to reproduce the behavior
Installed camera.ui on Windows as described in docs. Configured cameras, and double checked cameras built in motion detection. Tried to use recording on 2 different paths (to make sure it wasn't a problem with the path name)
It simply doesn't start to record. Is there any specific step to make it work?
I also tried the UI motion detection, without success.
Expected behavior It should start recording with built in motion detection or at least with UI motion detection.
Logs If available, attach the log where the bug is vissible
Screenshots If applicable, add screenshots to help explain your problem.
Environment