From f48cb66c612466f26c1267bef80af62a3abe6ec5 Mon Sep 17 00:00:00 2001 From: pi Date: Sat, 19 Apr 2025 00:26:50 +0100 Subject: [PATCH] mobileraker.conf modified - 19/04/25 - 00:26:47 --- printer_data/config/mobileraker.conf | 52 ++++++++++++++++++++++++++++ printer_data/config/moonraker.conf | 23 ++++++++---- 2 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 printer_data/config/mobileraker.conf diff --git a/printer_data/config/mobileraker.conf b/printer_data/config/mobileraker.conf new file mode 100644 index 0000000..a30cccc --- /dev/null +++ b/printer_data/config/mobileraker.conf @@ -0,0 +1,52 @@ +[general] +language: en +# !!! DEPRECATED. The app now syncs the app's language to the companion +# one of the supported languages defined in i18n.py#languages (de,en,...) +# !!! For users from the UK: entering 'uk' will resolve to Ukrainian language, not English. Use 'en' for English! +# Default: en +timezone: BST +# The system's timezone e.g. Europe/Berlin for Berlin time or US/Central. +# For more values see https://gist.github.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568 +# Default: Tries to use system timezone +# Optional +eta_format: %%d.%%m.%%Y, %%H:%%M:%%S +# Format used for eta and adaptive_eta placeholder variables +# For available options see https://strftime.org/ +# Note that you will have to escape the % char by using a 2nd one e.g.: %d/%m/%Y -> %%d/%%m/%%Y +# Default: %%d.%%m.%%Y, %%H:%%M:%%S +# Optional +include_snapshot: True +# !! SUPPORTER ONLY - This feature requires beeing a supporter of Mobileraker as of now! +# Include a snapshot of the webcam in any print status/progress update notifications +# Default: True +# Optional + +[printer default] +moonraker_uri: ws://127.0.0.1:7125/websocket +# Define the uri to the moonraker instance. +# Default value: ws://127.0.0.1:7125/websocket +# Optional +moonraker_api_key: False +# Moonraker API key if force_logins or trusted clients is active! +# Default value: False +# Optional +snapshot_uri: http://127.0.0.1/webcam/?action=snapshot +# !! SUPPORTER ONLY - This feature requires beeing a supporter of Mobileraker as of now! +# The ABSOLUT url to the webcam, the companion should make a screenshot of. +# Example MJPEG SnapShot url: http://192.168.178.135/webcam/?action=snapshot +# Optional +snapshot_rotation: 0 +# !! SUPPORTER ONLY - This feature requires beeing a supporter of Mobileraker as of now! +# The rotation of the snapshot in degrees +# Default value: 0 +# Valud Values: 0,90,180,270 +# Optional +ignore_filament_sensors: +# Comma separated list of filament sensors to ignore, ignored filament sensors do not trigger +# a notification if they are triggered. This is useful if you have a filament sensor that is used +# in a MMU setup like ERCF. +# IMPORTANT, do not include the sensor type. E.g. if your sensor is configured +# like: [filament_switch_sensor printhead_sensor] add `printhead_sensor` to the list. +# Default: empty +# Optional + diff --git a/printer_data/config/moonraker.conf b/printer_data/config/moonraker.conf index 07c3e3a..80beca5 100644 --- a/printer_data/config/moonraker.conf +++ b/printer_data/config/moonraker.conf @@ -29,8 +29,8 @@ trusted_clients: 192.168.2.0/24 FE80::/10 ::1/128 - -# enables partial support of Octoprint API + + # enables partial support of Octoprint API [octoprint_compat] # enables moonraker to track and store print history. @@ -40,8 +40,8 @@ trusted_clients: [announcements] subscriptions: mainsail - -# this enables moonraker's update manager + + # this enables moonraker's update manager [update_manager] refresh_interval: 168 enable_auto_refresh: True @@ -102,8 +102,8 @@ origin: https://github.com/Cartographer3D/cartographer-klipper.git is_system_service: False managed_services: klipper info_tags: - desc=Cartographer Probe - + desc=Cartographer Probe + [update_manager Klipper-Adaptive-Meshing-Purging] type: git_repo channel: dev @@ -116,4 +116,13 @@ type: git_repo path: ~/klipper-backup origin: https://github.com/Staubgeborener/klipper-backup.git managed_services: moonraker -primary_branch: main \ No newline at end of file +primary_branch: main +[update_manager mobileraker] +install_script: /home/pi/mobileraker_companion/scripts/install.sh +requirements: /home/pi/mobileraker_companion/scripts/mobileraker-requirements.txt +env: /home/pi/mobileraker-env/bin/python +managed_services: mobileraker +primary_branch: main +origin: https://github.com/Clon1998/mobileraker_companion.git +path: /home/pi/mobileraker_companion +type: git_repo