Commit Graph

3 Commits

Author SHA1 Message Date
Wizznu de5ce25f57 feat: Add Railway Worker, bug fixes, and mosvet_8 pengaduk
 New Features:
- Railway Worker for 24/7 automation (Node.js + BullMQ + Redis)
- Connection monitoring service
- Automation constants for centralized config
- History logging service with auto cleanup
- Mosvet_8 pengaduk support in kontrol page and Firebase

🐛 Bug Fixes:
- Fixed StreamSubscription memory leak in dashboard_page
- Added AppLifecycle observer for proper service management
- Fixed race conditions with Redis queue
- Improved error handling and user feedback
- Better connection status monitoring

📚 Documentation:
- DEPLOYMENT_GUIDE.md - Complete Railway deployment guide
- BUGS_AND_FIXES.md - Bug report and fixes summary
- RAILWAY_QUICK_START.md - Quick reference guide
- IMPLEMENTATION_COMPLETE.md - Complete implementation summary
- FULL_HISTORY_SYSTEM.md - History system documentation

🔧 Code Changes:
- lib/main.dart - Added AppLifecycleObserver
- lib/screens/dashboard_page.dart - Fixed memory leak
- lib/screens/histori_page.dart - Full Firebase integration
- lib/screens/kontrol_page.dart - Added pengaduk (mosvet_8)
- lib/services/firebase_database_service.dart - Added mosvet_8, history methods
- lib/services/kontrol_automation_service.dart - Use constants, connection check
- lib/services/automation_constants.dart - NEW centralized constants
- lib/services/connection_monitor_service.dart - NEW connection monitoring
- lib/services/history_logging_service.dart - NEW auto logging service
- railway-worker/ - NEW complete worker implementation

Status:  Production Ready
2026-02-10 07:22:43 +07:00
Wizznu a213576bce feat: Implement dual mode system (Smart & Fixed) and fix logout bugs
- Add Smart Mode: auto-stop when target reached or timeout
- Add Fixed Duration Mode: water for exact duration
- Fix auth state management to prevent unexpected logout
- Add error handling across all pages
- Update automation service with dual mode logic
- Add mode selection UI in sensor config page
- Update Firebase structure: mode_sensor, durasi_sensor
- Enhance logging for debugging
- Add flutter_launcher_icons for app icon management
- Add comprehensive documentation (3 MD files)
PERUBHAAN BESAR
2026-01-26 11:47:23 +07:00
Wizznu 95949930ad Initial commit: ApsGo project with Firebase integration 2026-01-12 15:24:52 +07:00