Thomas Quandalle
c1684bb743
add update config function - less strict linting
2022-08-22 22:48:41 +02:00
Thomas Quandalle
31b9f7022b
remove console print - broke build
2022-08-22 12:26:17 +02:00
Thomas Quandalle
6b9f25ef57
a few fixes for settings page + add sub rtsp url (WIP)
2022-08-22 10:50:10 +02:00
Thomas Quandalle
24c3b97629
remove double reading from channel
2022-08-21 20:34:15 +02:00
Cédric Verstraeten
03f7201540
Merge pull request #39 from olokos/develop
...
Save num of changes to filename, update a lot of dependencies and fix compiling develop branch
2022-08-18 10:21:49 +02:00
olokos
9ffd9700db
Revert channel size back to 1
...
Having the size of 2 gives no profits, but creates a side effect of 1kb recording files being saved, because of message channel being blocked awaiting for the other parameter, giving unexpected results
2022-08-17 23:33:20 +02:00
olokos
87f84e993a
Eslint: Fix Unexpected unnamed function func-names
...
This is the proper and correct new way of using anonymous functions.
Reference: https://stackoverflow.com/questions/52735032/warning-unexpected-unnamed-function-func-names-under-eslint-rule
2022-08-17 21:12:01 +02:00
olokos
23b357e669
Fix build after 3debf62975
...
Because of missing imports and some undefined variables the latest code wouldn't compile.
I have fixed it.
The only thing I am not sure about is dispatchConfig: PropTypes.bool.isRequired
Not sure if it's truly bool or if this is valid, but it works finally again, but with proper log timezone!
2022-08-17 20:27:26 +02:00
olokos
4021c0dada
No idea how those 2 got downgraded, but lets use the latest versions again
2022-08-17 11:50:02 +02:00
olokos
dac55e489a
Merge remote-tracking branch 'upstream/develop' into develop
2022-08-17 11:44:31 +02:00
Thomas Quandalle
14e1584ca7
add timezone for logging
2022-08-16 22:59:51 +02:00
Thomas Quandalle
3dd61eea6e
Merge branch 'master' into develop
2022-08-15 22:08:41 +02:00
Thomas Quandalle
3debf62975
update settings page
2022-08-15 22:08:08 +02:00
olokos
fb20aa3bf5
Split filename source line into multiple lines, improve logging message
2022-08-15 18:39:41 +02:00
olokos
e4ba5570a7
Use node 16 instead of 14 and use latest kerberos/base
2022-08-15 18:15:16 +02:00
olokos
592e03fc3b
Update most of go and javascript dependencies
...
There were some build issues, also eslint was preventing build because of too old react-scripts, that was in conflict with another requirement for more recent eslint, so I've updated react-scripts, so newer eslint isn't a problem anymore.
2022-08-15 18:11:40 +02:00
Cédric Verstraeten
0b1fd776f4
Merge pull request #36 from olokos/master
...
Implement changesTreshold parameter and config.json
2022-08-15 08:17:40 +02:00
olokos
098bf0b75f
Attempt to fix compilation
2022-08-15 02:52:04 +02:00
olokos
204359c6be
MotionData: Implement saving changed pixels into filename
...
Attempt to fix saving changes detected into filename
models/MotionData.go is meant to be a model containing all of the data in regards to currently recorded video
Since I currently mostly need pixel changed saved in the filename properly, I've created 2 structs:
Partial= Timestamp + Changes working
Full= Everything - Not yet used but prepared for fully implementing the rest of data into the filename
Currently filename only saves proper timestamp and the rest is hardcoded, this is one step forwards to have it fully save a dynamic filename.
2022-08-15 02:15:39 +02:00
olokos
d0d8531537
Change changeTreshhold parameter to pixelChangeThreshold
2022-08-14 01:23:43 +02:00
olokos
1b73f5857d
Implement changesTreshold parameter and config.json
...
In case there is no changesTreshold defined in config.json, then treshold will be 75, to stick with original hardcoded value.
2022-08-13 19:52:19 +02:00
Thomas Quandalle
5fbba44109
Merge branch 'develop'
2022-08-05 09:52:38 +02:00
Thomas Quandalle
99c68c220d
add update commit before installing packages
2022-08-05 09:18:53 +02:00
Thomas Quandalle
4d7baecb32
fix hub key for motion detection alert
2022-08-05 09:06:17 +02:00
Thomas Quandalle
1853e4e33d
Update main.go
2022-06-27 08:22:28 +02:00
Thomas Quandalle
eacd341cc7
refactor and rename to usbcamera-test
2022-06-27 07:59:15 +02:00
Thomas Quandalle
8b9d4f2eb6
disable window
2022-06-26 22:12:30 +02:00
Thomas Quandalle
fb8f7fc042
get rid of dependency
2022-06-26 21:36:11 +02:00
Thomas Quandalle
ae79b7c248
set x264 and fixed fps
2022-06-26 21:31:00 +02:00
Thomas Quandalle
00e62734c7
disable auto reconnect
2022-06-26 19:48:28 +02:00
Thomas Quandalle
a50f2e5435
add v4l-utils
2022-06-26 19:13:52 +02:00
Thomas Quandalle
3324ea8fa2
add user to video group
2022-06-26 18:08:09 +02:00
Thomas Quandalle
37f904c586
move it to a dedicated folder capture-test
2022-06-26 16:25:14 +02:00
Thomas Quandalle
4071bbfa98
add a webcam-test command to verify if a camera is working
2022-06-26 16:21:01 +02:00
Thomas Quandalle
2c577c4466
Bug: img might be null
v0.0.1-alpha
2022-06-24 08:05:45 +02:00
Thomas Quandalle
02caa1d12f
Fix: revert timings
2022-06-23 17:11:29 +02:00
Thomas Quandalle
5469f0bdea
FIX: waiting a second instead
2022-06-23 17:09:08 +02:00
Thomas Quandalle
2cb896b334
cleanup decoder
2022-06-23 16:58:03 +02:00
Thomas Quandalle
b06e53a15e
fix for restarting motion routing (wasnt cleaned up properly)
2022-06-23 16:57:01 +02:00
Thomas Quandalle
df442aa61e
add additional logging: some strange behaviour on motion based recordings
2022-06-23 15:56:41 +02:00
Thomas Quandalle
85393e8e4b
fix for updating older agents
2022-06-23 11:14:57 +02:00
Thomas Quandalle
bf72070d51
Merge branch 'develop'
2022-06-23 08:57:48 +02:00
Thomas Quandalle
ad0b07925d
MQTT: set auto reconnect - when restarting make sure to wait a bit before everything is properly closed
2022-06-23 08:51:24 +02:00
Thomas Quandalle
234b7aebee
BUG: revert environment check
2022-06-22 22:28:00 +02:00
Thomas Quandalle
5fe7ad36dc
Update docker-nightly.yml
2022-06-22 22:23:09 +02:00
Thomas Quandalle
6808d02601
Add legacy check, otherwise existing agents need to be recreated
2022-06-22 22:18:43 +02:00
Thomas Quandalle
3b81a74be0
add timeout for rtsp connection + blocking issue for configuration (select)
2022-06-22 22:07:01 +02:00
Thomas Quandalle
376a6e2d99
BUG: introduced a deadlock
2022-06-22 21:01:30 +02:00
Thomas Quandalle
ad60cccdad
BUG: adding a mutex for locking candidate reading and writing
2022-06-22 20:42:25 +02:00
Thomas Quandalle
d6fd5709b9
broke WebRTC candidates
2022-06-22 19:58:49 +02:00