Stephan Wendel
4b2532d495
fix: fixes error patching moonraker.conf
...
Patching fails if file in /tmp exists
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-07-28 14:57:22 +02:00
Stephan Wendel
ffba10350b
feat: allow mjpeg as valid parameter
...
This allows to use mjpg or mjpeg in mode: section of config
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-07-23 10:24:12 +02:00
Stephan Wendel
420b77fe5a
Merge pull request #22 from lixxbox/docs-lightmode-logo
...
feat: switch logo according to light or dark mode
2022-06-29 19:27:44 +02:00
lixxbox
a5a5df8069
feat: switch logo according to light or dark mode
2022-06-29 14:37:39 +02:00
Stefan Dej
d8ef49226a
docs: rename webcam.conf to crowsnest.conf in readme.md ( #21 )
2022-06-28 22:26:38 +02:00
Robnex
5391f754b1
Readme config file name update
...
Update the old webcam.conf to crowsnest.conf
2022-06-28 18:02:21 +02:00
Stephan Wendel
5a9c24593a
fix(install): fixes error in removing webcamd
...
Fixes function to remove existing webcamd
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-26 02:32:20 +02:00
Stephan Wendel
3a5f65b018
fix: libjpeg62-turbo has no install target
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-25 00:24:56 +02:00
Stephan Wendel
7af4ee85d3
fix: used wrong condition
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-25 00:19:14 +02:00
Stephan Wendel
9d9f07b5f9
fix: fixes install error on ubuntu aarch64
...
This should fix #20
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-25 00:07:06 +02:00
Stephan Wendel
f726bda796
fix(make build): clone ustreamer if not present
...
Fixes error that leads to abort of make build.
Now it clones ustreamer is not present.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-24 23:57:14 +02:00
Stephan Wendel
1af5d9c46f
fix: fixes install error if config.txt missing
...
This should fix install error if used OS has no config.txt,
like Raspberry PiOS has.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-20 21:52:54 +02:00
Stephan Wendel
3c4e4f8098
fix(uninstall): fixes error service not disabled.
...
This fixes error that target has leftover from enabled service.
Disable Service, before removing.
Thanks to Nestor-WW from Discord for mentioning.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-20 21:36:43 +02:00
Stephan Wendel
fac3667b0f
chore(docs): update discord url
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-16 10:43:30 +02:00
Stephan Wendel
b6055cecff
fix(logging): fixes error in log output of host information
...
This fixes error thet leads to unwanted multiple output of
lines of used model if raspberry sbc.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-16 10:40:39 +02:00
Stephan Wendel
c52cf40a96
chore(docs): updates readme to latest changes.
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-16 10:39:36 +02:00
Stephan Wendel
e42799bac6
fix(v4l2ctl): fixes error in broken_focus detection
...
This should fix #18
Error in detection leads to exiting crowsnest script.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-12 19:31:12 +02:00
Stephan Wendel
687be54de1
feat(logging): display host information in log file
...
Adds Information Distribution,Release,Kernel,Host model,Cpu Count,
Total Ram and Diskusage to log, if not set to log_level: quiet
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-12 18:55:51 +02:00
Stephan Wendel
5b8c072db3
refactor(logging): strips out comments in func print_cfg
...
This strips out any comments in crowsnest.conf
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-12 16:41:35 +02:00
Stephan Wendel
104536cd21
refactor!: renaming webcamd to crowsnest
...
BREAKING CHANGE: This will require a reinstall of crowsnest
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-12 15:42:28 +02:00
Stephan Wendel
11172878eb
chore(rtsp): update rtsp config template
...
According to Version update rtsp config hast to be updated
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-12 11:07:02 +02:00
Stephan Wendel
18ab214d49
chore(rtsp): update rtsp-simple-server to latest release
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-06-11 19:13:39 +02:00
Stephan Wendel
6071c6fc76
refactor(installl): refactor install chain
...
This commit should cover the following:
Missing insatllation candidate of libjpeg8-dev in bullseye images,
fixes #16 and #15
Refactores installation of ustreamer.
This should cover #12
Dropped ustreamer as submodule and clone it via install script.
For buster based images it reset the repo to last commit of v4.13 (omx support)
All other will get master branch (latest commit at insatllation)
This enables posibility to write an app updater.
Fixes custompios module according to changes.
2022-06-11 18:59:19 +02:00
Stephan Wendel
dc710d0abe
chore(install): remove backup if unattended
...
This will remove the moonraker.conf.backup if running unattended
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-28 10:51:41 +02:00
Stephan Wendel
fab3772e10
fix(install): fixes error that leads to unusable moonraker.conf
...
This should fix #14
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-25 21:31:24 +02:00
Stephan Wendel
ee6598c292
refactor: refactor installer and custompios module
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-21 15:16:43 +02:00
Stephan Wendel
3a48d47f5a
fix(install): fix error using custopizer unattended
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-05 21:36:27 +02:00
Stephan Wendel
dcb55816d3
refactor(install): improve install if unattended
...
Output should be mor verbose if unattended to help debugging
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-05 20:10:20 +02:00
Stephan Wendel
36893bf9d4
refactor: improve detection of chroot jail
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-04 19:23:37 +02:00
Stephan Wendel
c4d4795089
feat(install): add unattended mode to installer
...
Unattended ignores to enable the service and
adds Crowsnest to moonraker.conf (update manager)
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-04 19:06:32 +02:00
Stephan Wendel
b8a7046db8
fix: fixes uncomplete log if using bullseye
...
Due libcamera and extended output ouf vcgencmd,
output must be filtered.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-05-01 12:57:35 +02:00
Stephan Wendel
3c52447822
chore: enabled inherited ERR Trap
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-10 14:54:58 +02:00
Stephan Wendel
6f17019fb8
feat: added feature versioncontrol
...
If log_level is set at least to verbose it will
display versions of used 3rd Party tools like
ustreamer, rtsp-simple-server and ffmpeg
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-10 14:20:03 +02:00
Stephan Wendel
3692b310a5
fix: fixes logging empty value if not set or available
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-08 21:23:26 +02:00
Stephan Wendel
7c5188a7e0
refactor: refactored logging.sh
...
The design till now was slow and time consuming.
Now it exports the log destination once instead
in every call of 'log_msg'
Should be provide better start performance.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-08 20:27:46 +02:00
Stephan Wendel
3bfea5ad19
fix: fixes focus_absolute not correct after streamer started
...
Some devices tend to lose focus_absolut value
after the Streamer starts.
This will check for 'brokenfocus' devices and
set focus_absolute again after the stream services has started.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-08 20:25:21 +02:00
Stephan Wendel
2e3cf93568
feat: add debug logging for v4l2_control
...
If log_level: debug it logs settings after its done.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-08 20:25:21 +02:00
Stephan Wendel
acf9516058
refactor!: moved v4l2ctrls logging to log_level verbose
...
BREAKING CHANGE: option log_v4l2ctrls is obsolete!
Moved logging of capabilties to log_level: verbose
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-03 11:29:16 +02:00
Stephan Wendel
03d03f851e
feat: log available v4l2 controls
...
Needs new option in config file
log_v4l2ctrls: true
This spits out the equvivalent to v4l2-ctl -L in log.
See README for details.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-02 15:20:01 +02:00
Stephan Wendel
664d9b539b
feat: enable detection of csi adaptors
...
Added func detect_avail_csi.
refactored logging.sh accordingly.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-26 20:31:50 +01:00
Stephan Wendel
62ee73b6da
fix(updater): critical typo in func copy_logrotate
...
wrong path used for variable "logrotatefile"
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-07 21:13:47 +01:00
Stephan Wendel
bb6ed2f417
fix(update): wrong path used for file templates
...
Used wrong source path for templates in
function copy_service and copy_logrotate.
Thanks to Tetsunosuke for submitting and testing.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-07 20:14:51 +01:00
Stephan Wendel
67c32d95f4
fix(messages): Typo in deprecated_msg_1
...
Used mode: [ ustreamer | rtsp ] instead of correct
mode: [ mjpg | rtsp ]
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-07 19:22:22 +01:00
Stephan Wendel
afcb651abd
fix: fixed custompios module
...
Module now uses "make install"
Added new Option in config:
CROWSNEST_FORCE_RASPICAMFIX="[y|n]"
The Installer ignores to implement Raspicamfix due qemu environment.
Choose "y" to force install of fix.
Works only with Raspberry SBC's!
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-07 18:22:22 +01:00
Stephan Wendel
0176ce769c
refactor: refactored custompios module
...
CustomPIOS Module now uses Crowsnest Install Mechanism
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-04 19:52:43 +01:00
Stephan Wendel
d378318ebe
fix(update): version of apps were not checked nor updated
...
Implemented Version Check and proper update function.'
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-02 20:54:52 +01:00
Stephan Wendel
93ce6a298f
docs: fixed error in README.md
...
Fixes Error in configuration example,
used deprecated 'streamer:' instead of actual 'mode:'
According to https://github.com/mainsail-crew/crowsnest/issues/6
Thanks to Robnex.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-02 20:09:03 +01:00
Stephan Wendel
4170a25b64
chore(update): removed message if RTSPtoWebRTC is not installed
...
To prettify output if uninstall is not needed.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-02 19:45:42 +01:00
Stephan Wendel
605cc4f5d5
fix(update): version of apps were not checked nor updated
...
Implemented Version Check and proper update function.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-03-02 19:42:17 +01:00
Stephan Wendel
1aa310341f
fix(update): fixes error in func copy_logrotate
...
set wrong variable in function
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-02-27 18:32:01 +01:00