Commit Graph

3 Commits

Author SHA1 Message Date
Wolfieee Wolf
c0b041e18f Improve DDP settings UI: remove keepalive controls and add device query
- Remove keepalive UI controls - not needed, uses sensible 1000ms default
- Add Query button to auto-populate device name and LED count from device
- Supports WLED JSON responses and standard DDP status queries  
- Cleaner, more user-friendly interface with automatic device detection
- Manual entry still available as fallback for non-responsive devices
2025-07-01 18:01:28 +10:00
Wolfieee Wolf
5d9a5b3f60 Clean up code: remove excessive comments and debug bloat
- Remove verbose comments explaining obvious functionality
- Keep only essential minimal comments where needed
- Clean, production-ready code with no debug remnants
- Maintains all functionality while reducing code bloat
2025-07-01 17:37:13 +10:00
Wolfieee Wolf
2a9cce70e1 Add DDP controller with unified manual device support
- Added DDPController with Push flag fix (0x41 instead of 0x40) for WLED compatibility
- Implemented keepalive functionality with configurable timeout (default 1 second)
- Created DDPSettingsEntry that integrates with new unified ManualDevicesSettingsPage
- Supports RGB data type with proper DDP protocol implementation
- Thread-safe keepalive system prevents devices from timing out
- Compatible with WLED and other DDP protocol devices

Key fixes based on feedback:
* Push flag now correctly set to 0x41 (DDP_FLAG_VER_1 | DDP_FLAG_PUSH)
* Keepalive thread prevents devices from reverting to hardware effects
* Proper DDP packet structure with correct data types and addressing
2025-07-01 15:58:06 +10:00