chore: update readme.md of custompios module

According to changes in config file

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2022-11-21 10:03:03 +01:00
parent df8a6962ef
commit 77f23e01b2
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639
2 changed files with 21 additions and 16 deletions

View File

@ -1,4 +1,5 @@
# Crow's Nest # Crow's Nest
A multiple Cam and Stream Service for mainsailOS A multiple Cam and Stream Service for mainsailOS
# Developer Documentation # Developer Documentation
@ -16,28 +17,32 @@ This is pretty much self explantory.
At least you have to configure: At least you have to configure:
CROWSNEST_DEFAULT_CONF="mainsail_default.conf" CROWSNEST_DEFAULT_CONF="resources/crowsnest.conf"
This takes a conf file from the 'sample_configs' called mainsail_default.conf This takes a conf file from the 'sample_configs' called mainsail_default.conf
and put it to and put it to
CROWSNEST_DEFAULT_CONF_DIR="/home/${BASE_USER}/klipper_config" CROWSNEST_CONFIG_PATH="/home/${BASE_USER}/printer_data/config"
the folder you configured above.\ the folder you configured above.\
Please feel free to Pull Request your config! Please feel free to Pull Request your config!
I will add them. 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: Last but not least:
CROWSNEST_MOONRAKER_SUPPORT="y" CROWSNEST_ADD_CROWSNEST_MOONRAKER="1"
this will tell the module to add the content of moonraker_update.txt to your
this will tell the module to add the content of moonraker*update.txt to your
moonraker.conf\ 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! Finally add crowsnest to your config!
As example: As example:
export MODULES="base(network,raspicam(klipper,moonraker,mainsail,crowsnest))" 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 :)

View File

@ -15,12 +15,12 @@
# crowsnest setup # crowsnest setup
[[ -n "$CROWSNEST_DEFAULT_CONF" ]] || CROWSNEST_DEFAULT_CONF="resources/crowsnest.conf" [[ -n "$CROWSNEST_DEFAULT_CONF" ]] || CROWSNEST_DEFAULT_CONF="resources/crowsnest.conf"
[[ -n "$CROWSNEST_CONFIG_PATH" ]] || CROWSNEST_CONFIG_PATH="/home/pi/printer_data/config" [[ -n "$CROWSNEST_CONFIG_PATH" ]] || CROWSNEST_CONFIG_PATH="/home/${BASE_USER}/printer_data/config"
[[ -n "$CROWSNEST_LOG_PATH" ]] || CROWSNEST_LOG_PATH="/home/pi/printer_data/logs" [[ -n "$CROWSNEST_LOG_PATH" ]] || CROWSNEST_LOG_PATH="/home/${BASE_USER}/printer_data/logs"
[[ -n "$CROWSNEST_ENV_PATH" ]] || CROWSNEST_ENV_PATH="/home/pi/printer_data/systemd" [[ -n "$CROWSNEST_ENV_PATH" ]] || CROWSNEST_ENV_PATH="/home/${BASE_USER}/printer_data/systemd"
[[ -n "$CROWSNEST_RASPICAMFIX" ]] || CROWSNEST_RASPICAMFIX="1" [[ -n "$CROWSNEST_RASPICAMFIX" ]] || CROWSNEST_RASPICAMFIX="1"
[[ -n "$CROWSNEST_ADD_CROWSNEST_MOONRAKER" ]] || CROWSNEST_ADD_CROWSNEST_MOONRAKER="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 # ustreamer