-
Notifications
You must be signed in to change notification settings - Fork 2
Dev #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deleted the Bootstrap Icons CDN stylesheet link from both the distribution and source index.html files
Added SQLite PRAGMA settings for better performance and reliability on SD card deployments, including WAL mode, increased cache, and in-memory temp storage. Updated .gitignore, docker-compose.yml, and run.sh to handle WAL and SHM files, ensuring proper initialization and persistence of SQLite auxiliary files.
Introduced SizeLimitedFileHandler to replace RotatingFileHandler, ensuring log files are truncated to maintain a stable size (~4-5MB) without renaming files. This approach is compatible with Docker bind mounts and prevents issues with file rotation. Updated logging setup to use the new handler for both app and dryer logs.
Enhanced error handling for WebSocket endpoints in dashboard_page.py and logs_page.py. Now handles client disconnects and send/receive errors more gracefully, adds more detailed logging, and ensures proper cleanup on disconnect or unexpected errors.
Clarified the help text for the Moonraker IP address field to instruct users not to use 127.0.0.1 and to specify the IP of the machine running Moonraker.
Changed the healthcheck test URL from /docs to /api/common/ping to better reflect the application's health status.
Introduces optimized WebSocket endpoints for single dryers with time and limit filtering, deprecates the all-dryers endpoint, and updates backend logic to support dynamic per-dryer channels. The status worker now broadcasts updates to both legacy and new per-dryer channels. Documentation and API info are updated to guide frontend usage and highlight performance improvements.
Updated HTML and SCSS for dashboard charts, dryer, and embed pages to improve layout and visual consistency. Adjusted TypeScript logic in dashboard charts for better data handling and chart rendering.
Introduces uninstall.sh to automate removal of PyUnit's Docker container, volume, images, and network. The script prompts for confirmation, provides colored output, and leaves local files untouched.
Added a new section detailing how to completely remove PyUnit, including Docker resources and local files. This helps users cleanly uninstall the application if needed.
Expanded the Docker build platforms in the workflow and updated the README to reflect support for arm/v7 and arm/v8 architectures, in addition to amd64 and arm64.
Expanded Docker build platforms in build.sh to include linux/arm/v7 and linux/arm/v8, enabling support for additional ARM 32-bit architectures. Updated output messages to reflect the new supported platforms.
The [class.chart-hidden] binding was removed from the singleDryerChart div. Chart visibility is now managed by the surrounding loading state logic.
Switched from numpy to the built-in statistics module for median calculation in dryer_control.py. Removed numpy from requirements.txt as it is no longer needed.
Deleted websocket, typing-inspection, gevent, zope.event, zope.interface, cffi, and pycparser from requirements.txt as they are no longer needed.
Replaces placeholder icons with appropriate emojis, adds console filter commands for Fluidd/Mainsail, clarifies Klipper integration steps, and provides a detailed configuration example. Also corrects minor typos and improves clarity in several sections.
This update adds steps to remove dangling Docker images and optionally delete old PyUnit images before starting the service, helping to free disk space and keep the environment clean.
Updated version numbers in build.sh, main.py, and web/package.json to 2.0.1 to reflect the new release.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.