Moe
615f66bb1b
better port validation on monitor start
2020-06-05 15:25:02 -07:00
Moe
c8e054ce25
validate port chosen on monitor start
2020-06-04 12:59:46 -07:00
Moe
479efbf228
adjust counting methodology for tracking plugins
...
- tracking plugins are currently not available to public but you may still use the counting feature on a per-frame basis instead of tracked object
2020-05-24 22:10:31 -07:00
Moe
48e6483550
fix line 405 bug
2020-05-24 21:00:19 -07:00
Moe
664a30ee32
add Event Counting engine 0.1
2020-05-23 22:12:42 -07:00
Moe
447cce9b6f
Adjustment to Snapshot command
2020-05-13 17:39:00 -07:00
Moe
b0c3f38049
fix large image object detection
2020-05-13 15:10:08 -07:00
Moe
a993130f4b
Fix "Send Frames" for Object Detector
2020-05-13 14:30:50 -07:00
Moe
0fc140d3be
fix monitor process hang if ordered to do obj detection with no plugin
2020-05-11 15:57:40 -07:00
Moe
d72b61f592
Add Basic Object Counting mechanism
2020-05-05 08:02:23 -07:00
Moe
39b8337b1c
fix concatted detector event response
2020-04-10 08:59:48 -07:00
Moe
9cd9446800
move segment file creation to separate pipe
2020-04-05 16:00:32 -07:00
Moe
21b2de65fd
fix missing detector_motion_count array
2020-03-29 10:47:21 -07:00
Moe
ec1041c389
Add tree-kill fix for snap zombies
...
- fix found by dieseldude in the community chat
2020-03-28 16:26:01 -07:00
Moe
443b5565fe
add "events" to Traditional Recording insertCompletedVideo request
...
- this will allow these kinds of recordings to provide a notification to the Mobile App upon completion
2020-03-05 11:12:54 -08:00
Moe
6bd18faf1d
replace motion counter with holding list of events in memory
...
+ allow adding "events" to s.insertCompletedVideo
2020-03-03 07:14:32 -08:00
Moe
6282860b64
add windows taskkill in snapshot.js
2020-02-24 20:34:09 -08:00
Moe
ed4eab625a
add some windows specific kill and delete commands
...
+ add Shinobi Mobile mention
2020-02-23 10:09:54 -08:00
Moe
b281a34476
fix lingering "singleCamera.js" bug
2020-02-13 12:29:45 -08:00
Moe
b7f234a086
snapCmd path fix
2020-01-20 12:38:44 -08:00
Moe
2bb2f83af5
add force kill on pid for zombie cameraThread processes
2020-01-03 23:27:16 -08:00
Moe
81fe768e0c
remove old executor for icon grabber
2019-12-23 12:33:04 -08:00
Moe
ebf3189c31
snapshot run from camera thread instead of main daemon
2019-12-22 08:19:09 +06:00
Moe
ae24fc5651
Retry Connection counter resets after 1 minute of success
...
+ light cleanup
+ Retry Connection now default is 10
2019-12-12 18:07:01 +06:00
Moe
fe67fbbc37
Merge branch 'multi-thread-alpha' into 'dev'
...
Multi Threading
See merge request Shinobi-Systems/Shinobi!135
2019-12-12 05:42:08 +00:00
Moe
3320f7b958
comment out logger used for debug
2019-12-11 15:39:40 +06:00
Moe
26df5e3470
Fix monitor black on Save
2019-12-11 15:37:53 +06:00
Moe
712c2a0419
light cleanup, still broken
...
still blacks on monitor restart with pipe 3 enabeld
2019-12-11 13:23:01 +06:00
Moe
0637e32d38
add more logging to thread handling
...
+minor cleanup
2019-12-08 21:49:27 +06:00
Moe
891294281d
Monitor black on start fix
2019-12-08 14:00:56 +06:00
Moe
332f6185ff
show threaded process logs in UI log stream
2019-12-08 11:53:17 +06:00
Moe
59d0635680
no reference on launchMonitorProcess
...
+deglobalize cameraDestroy
2019-12-07 10:24:10 +06:00
Moe
5c5fbcaf4a
fix broken stream on restart
2019-12-07 10:20:05 +06:00
Moe
2e03111043
Fix Steam Handler Memory Leak
...
+ minor function name cleanup, remove some globals
2019-12-07 10:09:09 +06:00
Moe
577190c657
disable loggers in added threads, need better solution
2019-12-05 18:38:52 +06:00
Moe
f18a4ed4fc
put snapshot/icon creation in separate thread
2019-12-05 18:23:46 +06:00
Moe
da53108ba9
Multi Threaded Camera Spawn (Alpha)
2019-12-05 13:25:13 +06:00
Moe
19ca1d00b9
update monitor queue action to allow 3 at a time
2019-11-14 12:46:49 -08:00
Moe
ed76347b25
Add Webhook and Command to No Motion Detector
2019-10-31 22:02:14 -07:00
Moe
115752820d
Update No Motion Detector; Add Discord Notification
2019-10-31 17:26:52 -07:00
Moe
38287ae784
add missing icon rules
2019-10-03 08:15:07 -07:00
Moe
cf1fd47745
reset activeMonitor object on failure
...
+ fix syntax error with monitor.details
2019-10-03 08:03:36 -07:00
Moe
3a81da567c
cache side panel icon for faster loading and lower load on client open
2019-10-02 22:04:52 -07:00
Moe
2ad0dbcc4d
silence log for fail snapshot
2019-10-02 20:17:29 -07:00
Moe
34e06c4bc6
lightly clean output flag option for snapshot
2019-10-02 19:36:21 -07:00
Moe
e4ea376f48
fix snapshot : move rtsp_transport flag insertion
2019-10-02 14:45:11 -07:00
Moe
52aa04b2d7
fix snap time on detectorStream and HLS
2019-10-02 11:56:20 -07:00
Moe
ccf90f67f8
add RTSP Transport to monitorSnapShot command
2019-10-01 13:53:20 -07:00
Moe
7a1ff82b5b
delete all instances of monitor from other childNode servers on start
2019-09-26 12:18:44 -07:00
Moe
0db090c093
clear stale cameras from childNode activeCamera list
2019-09-25 15:33:03 -07:00
Moe
c777f85475
add !dead condition for childNode selector
...
+ make getChildNodes response cleaner
2019-09-24 20:45:43 -07:00
Moe
e5d8b9caa4
fix childNode camera count load balancer
2019-09-24 14:16:03 -07:00
Moe
1fe85465b4
fix childNode failure to restart processes after disconnect
2019-09-24 11:35:37 -07:00
Moe
7c275f3e6b
fix recording folder syntax
...
- wow big dumb
2019-09-10 12:23:56 -07:00
Moe
42dd6a5544
fix stream folder creation
2019-09-07 23:56:59 -07:00
Moe
5524b113e1
make dropInEvent server async functions onMonitorInit
...
+ make folder error handler a global function
2019-09-07 12:49:02 -07:00
Moe
4e8cdb4876
make camera folder creation sync functions as async
2019-09-06 20:41:09 -07:00
Moe
ef6ce2df7f
Ping Monitors every 1 minute, if failed then restart process++
2019-07-31 16:14:14 -07:00
Moe
a39e471a6e
Ping Monitors every 1 minute, if failed then restart process+
2019-07-31 09:47:36 -07:00
Moe
4bd2b06703
Ping Monitors every 1 minute, if failed then restart process
2019-07-31 09:45:14 -07:00
Moe
9d05ff8e59
Fix No Image Return for Snapshots++
2019-07-26 09:13:33 -07:00
Moe
88d513942d
Fix No Image Return for Snapshots+
2019-07-25 23:07:24 -07:00
Moe
695bc8c781
Fix No Image Return for Snapshots
...
- this fixes the icons on the left side and the snapshots provided in detection events.
+ remove extra debug log in scheduler.js
2019-07-25 22:43:34 -07:00
Moe
a55243222d
Fix broken image return for snapshot
...
+ light cleanup
2019-07-19 00:40:58 -07:00
Moe
6a19e12c83
Make Detector JPEG output modular
...
- CustomAutoLoad samples will have plugin variants provided in future
2019-07-16 21:13:12 -07:00
Moe
f2918cb09b
rename `.mon` and `.mon_conf`
...
- now labelled `.activeMonitors` and `.rawMonitorConfigurations`
2019-07-07 20:39:41 -07:00
Moe
1051291c87
Add async.queue to s.sqlQuery, fs.readFile and fs.stat+
2019-06-20 22:43:23 -07:00
Moe
d82b32a885
Merge branch 'dev' into 'dev'
...
Fix ONVIF Camera Zooming
See merge request Shinobi-Systems/Shinobi!59
2019-06-07 22:45:15 +00:00
Moe
8e9c130145
Add saving Timelapse Frames from Child Node
2019-06-07 09:52:07 -07:00
Moe
c8f38b0d2f
minor cleanup
2019-06-04 09:39:36 -07:00
Moe
a87c2e6acc
Compound Update
...
- Calculate Max Storage Amount for Videos and Timelapse Frames separately
- Split Max Storage Amount by percentage for Videos and Timelapse Frames
- Fix order of operations for on start monitor load and orphan check
- move some extender definitions to extenders.js
- Slim Power Video Viewer event bars
- Add hours to date range selector for Timelapse Jpeg
2019-05-05 13:30:07 -07:00
Moe
a1f33195ee
clear "over max" timelapse frames
2019-04-26 11:10:53 -07:00
Moe
3ebfc90906
Update monitor.js
2019-04-18 17:57:51 -07:00
Moe
ec8824985f
Packging, addStorage Max Amounts, Fix s3uploader and minor fixes
...
- Add ability to pacakge with `pkg`
- Add Max Storage Amount for each `addStorage` storage array per user
- Fix `uploaders/s3based.js` variable names
- Update Timelapse.jpeg video builder
- Allow rendering a separate page upon login for Sub-Accounts
2019-04-18 17:54:07 -07:00
TechplexEngineer
448c9f00d4
Fix zooming
2019-04-16 15:43:51 +00:00
Moe
3beab3313c
Fix Blank value insert for Monitor Settings
2019-04-02 22:26:37 -07:00
Moe
89a70b6438
Some Updates and Fixes
...
- Add Branding Engine
- Lock PM2 install to 3.0.0 (newer versions cannot catch `uncaughtException`.
- Update macOS installer
- Update OpenALPR (CPU) installer
- Add Portuguese Language
- Fix Language Selector
- Lay-In ability to create Matrix from Pam-Diff detection blob
- createEventBasedRecording called for Traditional Recording labelled 5 seconds before real time to capture event
- fix NaN for new user created in Superuser
- count space used for Timelapse Frames and Files tables (does not purge Timelapse data yet)
- Update TimelapseJpeg, lay-in MP4 builder, many fixes, additonal page
- add `impervious` to gitignore in `web/libs` for custom static files
- Fix delete button for quick video list
- Fix Super form appearance
2019-04-02 20:47:03 -07:00
Moe
cd72207acf
improve timelapse.jpeg appearance and performance++
2019-03-24 23:43:23 -07:00
Moe
00ab3046ff
Add JPEG-based Timelapse creation
...
- Currently can only retrieve data about Timelapse through API, GUI coming soon
+ Definition fixes
2019-03-21 14:30:50 -07:00
Moe
9c4b153ab4
Allow connecting multiple Detector Plugins
...
+ remove `frameToRam` method.
+ add extenders for onWebsocketConnect/Disconnect
2019-03-05 16:22:04 -08:00
Moe
cdf2e6f8c8
remove `videoTime` logging for events, use basic search method of power video
2019-03-03 09:52:23 -08:00
Moe
9aabfea193
Update Stale Purge Lock function set
...
- when "No space left on device" is detected a check to see if you are over your account storage max will be done, if so then it will force an unlock and create a purge request.
2019-02-28 14:07:14 -08:00
Moe
38e67d933a
Multi Trigger by Group
...
- In Global Detector Settings you can now find the option to trigger other cameras when a particular monitor has been triggered.
+ Remember monitor order in dashboard list
+ Allow sending frames to Plugin based detection with Primary Send Frames off.
+ minor clean up
2019-02-27 20:32:29 -08:00
Moe
97b341481e
Add dropInEvents module+
...
+ better filename parse for file insert
+ add missing RTMP server addition in camera.js
2019-02-22 23:04:52 -08:00
Moe
e129afd756
fix `onMonitorSave` event
...
+prettify config cron error
2019-02-22 19:24:21 -08:00
Moe
6a3daccb2f
Add Automatic SFTP Uploader
...
- SFTP Uploader is basic uploader. This method is not capable of managing space like other cloud back up methods.
+ Minor cleanup
2019-02-19 19:29:12 -08:00
Moe
bf7a5d2d83
Add "onMonitorDied" extender
2019-01-31 10:51:35 -08:00
Moe
75269f7d9f
Method to merge videos from Videos List
...
- button will appear as "Merge and Download" next to "Zip and Download"
2019-01-28 17:41:14 -08:00
Moe
f9450a58dd
Humanize configuring Notification Video Length
...
- Notification Video Length : The length of the video that gets sent to your Notification service, like Email or Discord.
- New option appears under Recording Timeout.
2019-01-28 12:25:43 -08:00
Moe
e87f031df0
fix onDetectorNoTriggerTimeoutExtensions bug
2019-01-27 08:53:12 -08:00
Moe
79e3632b88
Return of the coProcessor
...
- now is optional and can be enabled in the Input section.
+ add humanized log for "error while decoding", mention network performance issues
2019-01-22 20:09:20 -08:00
Moe
4857ce846e
Minor Cleanup+
2019-01-22 08:44:50 -08:00
Moe
9cd6a1d3d5
Minor Cleanup
2019-01-22 08:42:26 -08:00
Moe
1ccad1dcde
Update super.ejs and minor cleanup
...
- add notice for group key in /super if used more than once.
2019-01-12 10:57:21 -08:00
Moe
afdc0cf568
Audio Detector, Detect Object in Region, and API Methods for Scheduling System
...
- Audio Detector measures decibels (dB). Section can be found under Motion Detection.
- Regions can now be used with Object detection alone, find the option the Object Detection section.
- Scheduling System will allow automatically activating Monitor States based on time. GUI will be posted in the next commit.
+ Update Installers
+ Update framework.sql
+ `npm test` will run the test
+ Minor Bug Fixes
2018-12-29 11:32:12 -08:00
Moe
afdedbeea8
Add some Monitor event Extenders
2018-12-12 14:56:29 -08:00
Moe
a0ec9afc87
Allow Mass Config Changes by API (monitorStates) and more
...
- Unlike /configureMonitor/ this method, /monitorSates/, can take single veriables for a monitor edit.
+ clean /configureMonitor/'s addEdit portion and make it a separate function
+ add "raw" catch. if "raw" not found another database init will be requested
+ fix "undefined" monitor status for Disabled monitors on Shinobi start
+ fix color threshold save for region editor
+add fallback for snapBuffer failure
2018-11-10 19:59:02 -08:00
Moe
70339bd0d4
block framewrite to ram if detector is off
...
- applies only when using "connectionType":"ram" in plugin conf.json
2018-11-03 00:16:16 -07:00
Moe
f3d60ca674
Additions and Cleanup
...
+ Allow global designation for Backblaze B2, Amazon S3, and WebDAV
+ allow frame transfer to plugin by "File in RAM" (experimental and currently only works with yolo and dlib)
+ API method for account save/edit
+ Add C++ based Dlib plugin (face-recognition)
+ allow choosing tiny or regular weights for yolo
- remove old python-dlib plugin because it is just bad (yucky python)
2018-11-02 16:44:53 -07:00
Moe
74e8729cdc
simplify snapshot icon and remove extra logs
2018-10-31 16:21:13 -07:00
Moe
c87521ec0d
Fix ffmpeg "undefined" bug
...
+ silence freebsd error
2018-10-28 15:28:22 -07:00
Moe
f605c7adc7
Thumbnails for Video List
...
- client-side generated thumbnails.
+ light cleanup and bug fixes on childNode engine
2018-10-19 14:15:40 -07:00
Moe
5a3309a787
childNode database row save fix
...
+light cleanup
2018-10-18 13:41:20 -07:00
Moe
623e916d24
Bug fixes for childNodes
2018-10-17 21:42:32 -07:00
Moe
3159102d0c
add some new extenders for later
2018-10-15 19:40:26 -07:00
Moe
d43b0cf0d9
light cleanup and fixes
2018-10-11 17:36:27 -07:00
Moe
f2797cdb0b
s.orphanedVideoCheck added
...
- "config.cron.deleteOrphans" has been removed. It has been replace by a one-time-run at startup with "config.insertOrphans". As the variable name suggests, instead of deleting, it will insert videos found without a database row.
- By default "config.orphanedVideoCheckMax" will only check up to 20 video. You can raise this value to any number you choose but be careful as it will check that number of videos on every start.
- this function also runs if a camera exits unexpectedly.
2018-10-09 23:56:13 -07:00
Moe
3b05d011df
modify icon snapshot
...
- now using icon.jpg instead of s.jpg to avoid overriding other functions that need a realtime jpeg snapshot
+ remove emitter from purge on disk space
2018-10-09 17:48:15 -07:00
Moe
c178984084
Add CPU usage indicator (per monitor)
...
+ adjust purge videos on max space operation order
+ light cleanup with var names
2018-10-09 15:40:06 -07:00
Moe
7e0cc7bbff
Light performance boost
...
- snapshot will be created on first user entry and stored in temp directory if JPEG API is disabled
+ Fix "File Delete Error" caused by permission issue+++
2018-10-08 21:44:36 -07:00
Moe
69f7543c79
Return of sizePurgeQueue
...
- you can also say return of the Q (hehe)
2018-10-08 18:39:10 -07:00
Moe
b1c27f8359
Fix "File Delete Error" caused by permission issue++
2018-10-08 16:54:53 -07:00
Moe
dc9dd9ecb0
Fix "File Delete Error" caused by permission issue+
2018-10-08 15:15:31 -07:00
Moe
d9912bacdf
Fix "File Delete Error" caused by permission issue
...
- Temporary fix until approriate one is found
2018-10-08 14:43:31 -07:00
Moe
d6fb93c619
light cleanup and more humanizing
2018-10-08 00:23:39 -07:00
Moe
f219ff8fbc
add the ability to detect viewers without websocket more stream types
...
- viewer count detection added for : mjpeg, poseidon over http, flv over http, h265 over http, and raw h264
- with it you can detect when a stream is opened without the websocket connection
+ move web stream paths to their own file "webServerStreamPaths.js"
2018-10-07 23:01:27 -07:00
Moe
5a968edd5e
cleanup launchMonitorProcesses function
2018-10-07 17:16:57 -07:00
Moe
a427805eee
fix launchMonitorProcesses bug
2018-10-07 16:45:18 -07:00
Moe
da83df55dd
libs/monitor.js : split camera fatal error handler
2018-10-07 16:43:39 -07:00
Moe
5fcdd860e0
humanize some variable names
...
+ some minor adjustments
2018-10-07 11:45:38 -07:00
Moe
3d7ae2081a
fix Delete Motionless bug+
...
- fo' real this time
2018-10-05 15:49:44 -07:00
Moe
cd38c01649
minor cleanup
2018-10-05 14:19:48 -07:00
Moe
ce81c4672a
light houstkeeping
...
- moving some functions around and cleanup
2018-10-02 17:52:49 -07:00
Moe
9e11f6d810
move discord and email functions into libs/notification.js
...
+ add more event controllers for custom functions
2018-09-30 22:44:35 -07:00
Moe
9393c8caf7
Modularize camera.js+++++++
...
- clean up some more functions names to be more human readable.
2018-09-29 08:00:51 -07:00
Moe
3efbfae9bb
move ffmpeg functions
2018-09-28 19:09:14 -07:00
Moe
1740e3461d
break s.init into individual functions
2018-09-28 18:38:14 -07:00
Moe
af8fc608e7
Modularize camera.js
2018-09-27 22:37:08 -07:00