From 77f23e01b2a942e3281ed975a67a5f7a010d7e23 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Mon, 21 Nov 2022 10:03:03 +0100 Subject: [PATCH] chore: update readme.md of custompios module According to changes in config file Signed-off-by: Stephan Wendel --- custompios/README.md | 29 +++++++++++++++++------------ custompios/crowsnest/config | 8 ++++---- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/custompios/README.md b/custompios/README.md index 07b4aae..e5251f1 100644 --- a/custompios/README.md +++ b/custompios/README.md @@ -1,4 +1,5 @@ # Crow's Nest + A multiple Cam and Stream Service for mainsailOS # Developer Documentation @@ -16,28 +17,32 @@ This is pretty much self explantory. At least you have to configure: - CROWSNEST_DEFAULT_CONF="mainsail_default.conf" -This takes a conf file from the 'sample_configs' called mainsail_default.conf -and put it to + CROWSNEST_DEFAULT_CONF="resources/crowsnest.conf" + +This takes a conf file from the 'sample_configs' called mainsail_default.conf +and put it to + + CROWSNEST_CONFIG_PATH="/home/${BASE_USER}/printer_data/config" - CROWSNEST_DEFAULT_CONF_DIR="/home/${BASE_USER}/klipper_config" the folder you configured above.\ Please feel free to Pull Request your config! I will add them. +To ensure raspicam fix is applied during Image build set + + CROWSNEST_RASPICAMFIX="1" + +This only works for Raspberry Pi OS! Will modify that in the future to support build images for other SBC's + Last but not least: - CROWSNEST_MOONRAKER_SUPPORT="y" -this will tell the module to add the content of moonraker_update.txt to your + CROWSNEST_ADD_CROWSNEST_MOONRAKER="1" + +this will tell the module to add the content of moonraker*update.txt to your moonraker.conf\ -_Please take note, that moonraker.conf has to be in your CROWSNEST_DEFAULT_CONF_DIR !_ +\_Please take note, that moonraker.conf has to be in your CROWSNEST_DEFAULT_CONF_DIR !* Finally add crowsnest to your config! As example: export MODULES="base(network,raspicam(klipper,moonraker,mainsail,crowsnest))" - -Make sure it is barely the last one, because it mangles cmake quiet often -unfortunatly.\ - This isn't my fault, more the "pickynese" behavior of -mjpg-streamer and v4l2rtspserver :) \ No newline at end of file diff --git a/custompios/crowsnest/config b/custompios/crowsnest/config index 0de72b8..3074515 100644 --- a/custompios/crowsnest/config +++ b/custompios/crowsnest/config @@ -15,12 +15,12 @@ # crowsnest setup [[ -n "$CROWSNEST_DEFAULT_CONF" ]] || CROWSNEST_DEFAULT_CONF="resources/crowsnest.conf" -[[ -n "$CROWSNEST_CONFIG_PATH" ]] || CROWSNEST_CONFIG_PATH="/home/pi/printer_data/config" -[[ -n "$CROWSNEST_LOG_PATH" ]] || CROWSNEST_LOG_PATH="/home/pi/printer_data/logs" -[[ -n "$CROWSNEST_ENV_PATH" ]] || CROWSNEST_ENV_PATH="/home/pi/printer_data/systemd" +[[ -n "$CROWSNEST_CONFIG_PATH" ]] || CROWSNEST_CONFIG_PATH="/home/${BASE_USER}/printer_data/config" +[[ -n "$CROWSNEST_LOG_PATH" ]] || CROWSNEST_LOG_PATH="/home/${BASE_USER}/printer_data/logs" +[[ -n "$CROWSNEST_ENV_PATH" ]] || CROWSNEST_ENV_PATH="/home/${BASE_USER}/printer_data/systemd" [[ -n "$CROWSNEST_RASPICAMFIX" ]] || CROWSNEST_RASPICAMFIX="1" [[ -n "$CROWSNEST_ADD_CROWSNEST_MOONRAKER" ]] || CROWSNEST_ADD_CROWSNEST_MOONRAKER="1" -[[ -n "$CROWSNEST_MOONRAKER_CONF_PATH" ]] || CROWSNEST_MOONRAKER_CONF_PATH="/home/pi/printer_data/config/moonraker.conf" +[[ -n "$CROWSNEST_MOONRAKER_CONF_PATH" ]] || CROWSNEST_MOONRAKER_CONF_PATH="/home/${BASE_USER}/printer_data/config/moonraker.conf" # ustreamer