Restructured WLED, Added mDNS stupport for WLED.#237
Merged
nebhead merged 13 commits intonebhead:developmentfrom Sep 5, 2025
Merged
Restructured WLED, Added mDNS stupport for WLED.#237nebhead merged 13 commits intonebhead:developmentfrom
nebhead merged 13 commits intonebhead:developmentfrom
Conversation
Introduces a 'Suggested Presets' system for WLED integration, providing automatic LED behaviors for grill states and events. Updates settings backend and UI to support new configuration options, enhances WLED handler with direct color/effect control, adds comprehensive documentation, and includes a test script for validation. Backward compatibility with traditional presets is maintained.
… reboot, shutdown, and restart functions with improved error handling and background execution. Add sudo permissions setup script for seamless operation.
…upport - Implemented mDNS/Bonjour and HTTP queries for discovering WLED devices. - Added new API endpoint `/api/wled_discover` for device discovery. - Enhanced settings UI with a "Find WLED Devices" button and results display. - Included error handling and user feedback for discovery process. - Updated requirements to include `zeroconf` package for mDNS support.
- Added profile-based control system to manage WLED LED behaviors based on PiFire states and events. - Introduced WLEDProfileManager class for handling profile creation, updates, and activations. - Updated WLED notification handler to support multiple control modes: profile-based, suggested presets, and traditional. - Defined LED profiles for various PiFire states (e.g., Idle, Booting, Cooking) with customizable settings. - Implemented API endpoints for pushing profiles to WLED devices and testing profile activations. - Enhanced error handling and logging for better debugging and monitoring. - Updated documentation to reflect new profile-based control features and usage instructions.
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
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.
This pull request introduces a major enhancement to WLED integration in PiFire, adding support for profile-based control and a new "Suggested Presets" feature. These changes improve how LED notifications are managed, provide more flexible configuration options, and add new API endpoints for device discovery and profile management. System reboot/shutdown logic is also improved for reliability.
WLED Integration & Notification Improvements
common/common.py,blueprints/settings/routes.py) [1] [2]common/common.py,blueprints/settings/routes.py,docs/WLED_Suggested_Presets.md) [1] [2] [3]API Extensions for WLED
blueprints/api/routes.py) [1] [2]zeroconffor network device discovery. (auto-install/requirements.txt)System Reliability Enhancements
common/common.py,blueprints/mobile/socket_io.py) [1] [2]