Commit Graph

154 Commits

Author SHA1 Message Date
Stephan Wendel
cffea681af fix: fixes wrong path to crowsnest-rtsp.yml
This should fix #63 (fixes #63)

According to changes of Install routine, I simply forgot to change the
path to resources (which was file_templates before)

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-24 10:33:20 +01:00
usairforce456
f7cf2260f2 docs: added ubuntu server 20.04 as tested and working (#59)
* Added ubuntu server 20.04 as tested and working

I Fixed a couple of spelling mistakes and added Ubuntu server 20.04 as tested working. 
I used a fresh install of Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-100-generic x86_64).
I used the Kiauh installer to setup klipper, mainsail, moonraker, and obico.
2022-11-23 16:13:39 +01:00
Stephan Wendel
77f23e01b2 chore: update readme.md of custompios module
According to changes in config file

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-21 10:03:03 +01:00
Stephan Wendel
df8a6962ef fix: fix syntax error in dev-helper.sh
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-18 18:57:04 +01:00
Stephan Wendel
8fe11005e1 feat: add no_proxy parameter
This allows you to run crowsnest without any
    proxy server needed.

    This resolves #34

    Signed-off-by: Stephan Wendel <me@stephanwe.de>

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-15 17:50:26 +01:00
Stephan Wendel
f7ec29f2f1 docs: updated README.md
Updates README.md according to installer.sh changes

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-10 21:00:21 +01:00
Stephan Wendel
d407c683c0 chore: changes install routine
This should fix https://github.com/mainsail-crew/crowsnest/issues/52

make config is now optional.

Now it uses $HOME/printer_data/ as default.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-10 20:52:43 +01:00
Stephan Wendel
0eb04cf2a6 fix: error in func create_filestructure
If printer_data doesnt exist Installer creates structure

This error make structure as root!

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-05 18:23:58 +01:00
Stephan Wendel
e2b4cd8cd2 fix: fix error in install.sh
Fixes Error that leads to incomplete log_path in crowsnest.conf

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-05 16:27:39 +01:00
Stephan Wendel
046641af04 fix: fixes error in ustreamer install
Error in func build_apps and clone_ustreamer
leads to cloned repo and build ustreamer as root.

This leads to failing make buildclean and build

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-04 12:07:31 +01:00
Stephan Wendel
d4a2c08152 refactor: implements new install mechanism
This installer requires to be configured due
make config

Changes:

Add tools/configure.sh script and make config.

Refactor of uninstall.sh according to new installer

Add dev-helper.sh to provide various informations for developing
and also could check existing installation as kinda "unit-test"

This should also fix #46
and fix #41

Signed-off-by: Stephan Wendel <me@stephanwe.de>

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-11-04 09:37:40 +01:00
Stephan Wendel
ee59a12d59 feat(install): Adds ubuntu armv7l support
Credits to https://github.com/gdachs.
Unfortunatly he didnt respond to my message.
But to give credits to, whos credits deserve.

Tested on an Odroid C1 with Ubuntu 20.04 on armv7l by gdachs.

See https://github.com/mainsail-crew/crowsnest/pull/32

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-09-13 18:24:51 +02:00
Stephan Wendel
dabb66c992 fix: fixes blocky view after reboot
This should fix #33

By default a variable bitrate is set, this leads
to a "blocky" view.

blockyfix function sets constant bitrate and a moderate
bitrate if not set by user.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-09-04 17:11:21 +02:00
Stephan Wendel
aab54f8ab2 fix(ustreamer.sh): fixes duplicate format setting
mjpg detection adds format twice if device is a raspicam.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-09-04 11:30:32 +02:00
Stephan Wendel
e2680909ab fix(messages): deprecated message shows wrong name
In function deprecated_msg_1, it used
webcam.conf instead of crowsnest.conf

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-09-04 09:32:28 +02:00
Stephan Wendel
946fad1fd6 fix: fixes typo in install.sh
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-08-16 19:22:56 +02:00
Stephan Wendel
8df5078b3d refactor: refactor of User input during install
Show default answers in case of user only hits enter.

Includes fix: Install on rpi bullseye fails

This also should fix #24

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-08-16 19:09:14 +02:00
Stephan Wendel
2fb45c3283 fix: used wrong terminology for diskspace
This fixes error that available diskspace is shown as used diskspace.

In reallity it should show available and using available instead of
used.

Thanks to mallcop for reporting

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-08-12 20:12:32 +02:00
Stephan Wendel
a3fba6105f fix: fix error using installer on armbian
This should fix #28

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-08-12 19:24:18 +02:00
Stephan Wendel
3df7fedb4d fix: fixes error in brokenfokus function
This fixes error as described in #27

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-08-09 20:37:49 +02:00
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