Conversation
* Fixing a k1 installer issue. * Fixing a minor bug. * Minor fix for keeping webcam settings better in sync. * Very small tweak. * Adding time sync logic to ensure that timesyncd is installed and enabled on the device. If not, the clock can get out of sync, which will case SSL handshakes to fail. * Adding flag to not print all WS messages when in debug logging. * Minor changes to update to moonraker's new updatemanager APIs. * Another minor update to fix a Moonraker installer warning. * Version bump. * A little cleanup. * Minor logging cleanup. * Minor fix for the sonic pad. * Porting some layer notification fixes that the OctoApp developer made! * Adding better webcam config logic for plugins that report can snapshot incorrectly. * Version bump. * Minor fixes for the Klipper installer. * Adding a fix for corupt config files when the installer is trying to read them. * Refactoring the installer to make the system much better. * Version bump * Oops, this is the proper version bump. * Minor fix for crealtiy printers. * Adding a small log to an error message. * Fixing config bug * Adding the Bambu Labs host type. * Major changes getting ready for Bambu Connect! * Fixing an updater bug with the permssions class. * Fixing bug in the octohttp result class * Plugin Version 3.0 - With all of the final Bambu Connect logic!!!! * Fixing a few Bambu Connect bugs found by our community! * Disabling the OctoPrint check for companion or bambu installs. * Fixing a bug where the printer reports an error, but isn't in an error state. * Minor text change. * Version bump * Re-enabling sentry for pref and error reporting. * Adding more plugin context to Sentry * Fixing up a few bugs found from Sentry. * Minor fix for the requiremnets. * Updating a few more Sentry things. * More Sentry stuff * Fixing more errors from sentry! * Fixing a minor bug for Bambu. * More Sentry fixes! * More Sentry bug fixes! * Fixing more bugs from sentry! * Minor changes. * Fixing sentry errors and updating the multicam logic! * Minor webcam name fixes for OctoPrint. * Adding the first pass of camera support for the X1 * Adding logic to install or update ffmpeg for Bambu installs * Version bump! * More X1 Webcam Improvements * Adding logic for Bambu to detect IP address changes and follow the printer to the new IP * Version bump. * Adding a guide to help enable the camera streaming on the x1. * Lint fix. * Perf optimizations for the plugin! * Disabling compression for streams that aren't going well with it. * Fixing a few small bug and some issues with the X1 * Adding some test logic to try to figure out the strange random resume notification. * Addnig more debugging. * Adding a work around for the WS lib thread deadlock bug. * Fixing a small bug. * Lint fix. * Lint fix. * Adding logic to better shutdown ffmpeg for the x1. * Upgrading the OctoEverywhere client to server protool * Version bump. * Adding logic to finish the default webcam and alternative webcam features. * Adding support for RTSP webcam feeds for all platforms! * Minor bug fix * A minor bug fix for OctoPrint. * Fixing a few final X1 bugs for the Bambu Lab release! * Minor QuickCam fixes. * Fixing a small issue with relative Bambu alternative webcam paths. * Update install.sh to fix K1 pip cert issues * More Creality K1 improvements * venv improvements for Creality K1 This PR improve venv with latest python version to avoid future dependencies installation issue on Creality K1. * Update install.sh * Adding a few more minor K1 install fixes * Lint fix * Fixng a bug where the 1st and 3rd layer complete commands fire too soon on the Bambu Lab printers. Also adding more debugging. * Version bump * Adding an official docker image for Bambu Connect! * Readme updates * Adding a little better logging in the Bambu Connect plugin so if the SN is wrong, the user can know to fix it. * Adding a few features to the Bambu Connect installer. * Adding more debug logging for MQTT * Debug is too chatty * Updating the Moonraker webcam config logic to handle older Fluidd installs and fixing up a few things. * Adding some testing logic to test DNS resoultion when the main websocket fails to resolve. * Version bump * Adding a little more debug logging to the Bambu connect scanner. * Minor logging change. * Fixing a small bug not allowing spoolman to work on bambu connect plugins. * Version bump. * Publish version tag + docker image tidy (crysxd#66) * Publish version tag + docker image tidy * forgot to revert these bits sorry * 1 more * update comment * Fixing the ARM docker container by adding required deps. * Version bump. * Adding a zstandard as a new optional protocol compression option! * Minor bug fix. * Converging the install logic to a single thread to prevent packag lock issues. * Adding the start of the logic for Bambu Cloud connecting * Updating the Bambu Connect docker image for the new Bambu Cloud setup. * Final updates to the docker and docker compose docs for Bambu Connect * Moving the crypto lib to a an optional lib in the installer. * Fix boolean (crysxd#68) * Fixing the docker image. * Minor fixes to the update and uninstall scripts. * Fixing some some installer logging and such. * Adding back one logging line * Github action updates * Updating the link rules * Add support for AP07 BambuLabs A1 Mini (crysxd#70) * Add support for AP07 a1mini, refactor if statements * revert lint * Lint * Tweaking the linting settings * Minor debugging edit. * Adding more debug logging. * Adding an os type telemetry message to help debug an issue from support. * Fixing the OS Type Installer Debug Log * Fixing the enum to allow it be cast to an int * Removing the depdency on the crypo lib, since it causes install issues. * Version bump * Very small bug fix. * Small change to fix the docker build. * Adding logic provide a device ID in the connection handshake to help dedup plugins with backup/restored config files. * Making major perf changes to make things faster and help low power devices! * Minor static UI changes * Adding more docker build flavors * fix str process bug (crysxd#74) trim() is not in python, strip() instead * Fixing various bugs and adding rekey logic. * Adding a bed cooldown notification! * Version bump! * Removing an annoying log. * Fixing one more little bed cooldown issue. * Adding a config option to control the cooldown temp threshold. * Minor tweaks and a version bump. * Quick fix for OctoPrint * Minor bug fixes * Minor bug fixes. * Disable errors killing the sh script. * Adding more states for Bambu printers to show. * Version bump! * Major CPU and memory improments for webcam streaming! * Upgrading to our new websocket lib that have major perf benfits! * Updating the K1 script to always use the full opkg path. * Lint fix * Making another perf change to add zero copy sends and zero copy reads! * Reverting out the Bambu Cloud install from the docker readme. * One more update to the docker readme. * Fixing a minor bug in the plugin were redirects would cause a client disconnect. * Version bump! * Minor logging tweaks * Fixing a status input bounds bug. * Updating the debug thread logger with more info. * Adding better logic for unknown http body size reads. * Update dockerfile to build and run as non root user (crysxd#85) * Minor edits to the dockerfile. * Updating the bambu docker to make local mode more clear and perfered. * Version bump! * Pulling K1 fix from the OctoApp dev crysxd#100 * Updating the socket retry min and max times. * sec: remove log of all env variables (crysxd#91) * Updating the bambu reconnect logic to be less aggressive when trying to reconnect to the printer. * Github actions fix * Actions change. * Added tzdata to allow time zone to be set properly. (crysxd#93) * Update Dockerfile Added entries to install TZ data package * Added value for timezone Added entry to set timezone to proper value * Correct typo Corrected type in sample TZ entry. * Version bump * Removing the Sentry SDK depdency to fix the new OctoPrint RC. * Enabling Auto Escaped Templates & Version bump. * Updating the OctoEverywhere OctoPrint UI pages. * Fixes issue with assigning variable after thread has already began (crysxd#98) * Adding the first pass of support for the K2! * Welcome to 4.0 - Adding Support For Elegoo OS printers like the Elegoo Centauri Carbon! * Quick bug fix for the elegoo installer. * More features and bug fixes! * Updating the docker bootstraps to work for all Klipper/Bambu/Elegoo! * A few more Elegoo Connect bug fixes. * More bug fixes and improvements for Elegoo Connect * Buggy Mc Bug Fix * More work and updates for Elegoo Connect! * Quick installer bug fix. * Adding two more quick installer updates. * Final installer tweaks and version bump! * Github readme updates. * Updating the docker readme. * Minor installer update. * Adding Elegoo OS logic to not send response messages to mux sockets they didn't request from. * Disable the K2 install until I can circle back around to it. * Updating the installer to support the K2! * Minor installer tweak for the K2 * Updating the wording for the Elegoo installer manual IP address. * More minor installer updates * On more tweak for low powered devices. * Adding QR code logic to the installer. * Adding logic to move to the Elegoo mainboard MAC since the mainboard ID seems to change on updates sometimes. * Minor lint fix. * Adding logic in the companion setup and the Klipper Companion docker image for Moonraker API Auth Keys. * Adding the ability to enable debug logging by setting a DEBUG env var. * Adding logic to allow the plugin to attempt to get a oneshot token from moonraker. * Fix type hint for _ScanForMoonrakerInstances method to use List instead of list (crysxd#104) * 🏗️ Adding a more advanced PY linter and static analysis to catch more bugs! * Quick fix for OctoPrint logging. * Minor lint fix. * Fix for the Elegoo Neptune 4 Plus * Fixing a bug with the Elegoo Connector. * Webcam perf fix and a more helpful docker error. * Version bump. * Fixing a notification bug * Version bump * defect: allow moonraker config to be a link (crysxd#105) * Adding the MQTT proxy and fixing a lot of bugs! * Fixing a minor MQTT proxy socket bug. * Quick fix for multithreaded buffer usage. * Updating the lowest latency server logic to make it more stable with the default server. * Adding logic to ensure the octoeverywhere service name remains in the moonraker allowed service file. * Adding a minor API update for OctoPrint. * Updating the OctoPrint frontend command to use the OctoPrint client to prevent auth issues. * Adding a Elegoo Centauri Carbon config option to not auto activate the chamber light on webcam usage. * Version bump * Fixing a spammy error log message. * Updating the lint rules. * Fix log message for outgoing Bambu MQTT commands * Fix OS type detection for Windows * Adding some small changes from Codex! * Lint fix * Fix minor bugs and typos. * Minor perf update. * Adding logic to handle newer Bambu printer types. * Fix config parsing and env var checks * Fix env variable check and capture config string * Update * Updating the network search logic to make it more robust. * Improve network search for the Elegoo Centauri * Apply minor improvements * Fix typos and small bugs * Decreasing the elegoo printer scan time. * Version bump * Fixing a docker discovery problem. * Version bump. * Fixing a K2 bug with the service name. * Adding a missing dependency for the installer. * Adding a link target helper for the docker plugin manager. * Bump version to 3.0.1 * Fix merge error * Fix lint * Fix setup.py * Ensrue print starts with 0 * Better delete error handling * Fix startup * Fix newline * Fix lint --------- Co-authored-by: Quinn Damerell <quinnd@outlook.com> Co-authored-by: Cyril Guislain <guilouz6@hotmail.com> Co-authored-by: Alec <30310787+alec-pinson@users.noreply.github.com> Co-authored-by: Spencer Owen <owenspencer@gmail.com> Co-authored-by: Yifei Liu <liu1456447215@gmail.com> Co-authored-by: Patrick Irish <patscrap@gmail.com> Co-authored-by: Yeradon <yeradon@gmail.com> Co-authored-by: jwilson2899 <69737157+jwilson2899@users.noreply.github.com> Co-authored-by: pauljohnston2025 <pauljohnston2009@live.com> Co-authored-by: Derek Palmer (Creative) <heyderekp@gmail.com> Co-authored-by: HB <7991855+hangrymuppet@users.noreply.github.com>
* Setup elegoo * Add database connection * Test and debug Elegoo
|
Thank you very much for this! It was on my todo list as well. A few things to note:
|
|
I’m getting this error, and I can’t change the notification settings from the app. I’m also not receiving any notifications.
|
This is not an error per se, it just says no app is registered. This is not sufficient information to say anything regarding your issue, nor do I see how this is linked to this PR. Please send a bug report from the app's help menu |
|
I was testing this PR using both the prebuilt image and by building the image myself. What happens What I expected Notification settings should be toggleable from within the app without timeout & notifications received. Additional notes Your message couldn't be delivered to hello@octoprint.eu because the remote server is misconfigured.
|
|
@nilava I really need the app logs to say more about what's going on. Please note that the toggles in the app are not essential. Important is that the FCM token is written to the Moonraker database. The plugin fetches it from there, but it says "no apps", which means it didn't find any push tokens in the database, maybe it failed to fetch them. Looking at the code, the timeout happens when the app tries to write the Moonraker database most likely. This could hint at issues with connectivity (app and plugin) or something odd with the Moonraker database I received 10 emails yesterday and send a test email myself again and it arrived immediately. Can you try sending the email again? Can you also attach the plugin logs? |
|
I have sent an email with the App Log. Furthermore, I did some thorough testing. The App without Supporter on iOS. Receives no notification. However, if I am a supporter, all notifications are working great! There should be no connectivity issue as i am connected locally and not with remote access. |
|
@nilava's Issue is confirmed to be a bug in the iOS app, not the docker image |
0fe6adc to
79d5830
Compare
|
@brymerr921 Something is a bit odd with this PR. There are 3 commits here that are not part of the PR...I tried to rebase the branch back onto release but for some reason it doesn't want to remove the commits. I started #131 as a continuation with a fresh branch and cherry picked your commits |



Goal:
Convert the code in this GitHub repo to a Docker image that can be deployed on any machine, making it easier for users to get OctoApp notifications from printers that can't do it without this plugin companion.
Changes:
Additional
Notes