Commit Graph

8 Commits

Author SHA1 Message Date
openhands 48a1a49384 Add comprehensive test suite for protocol mapping functionality
- Created 35 comprehensive tests covering ConfigurationManager, protocol validation, and database integration
- Added unit tests for ConfigurationManager with database persistence
- Added protocol-specific validation tests for all 4 protocols (Modbus TCP, Modbus RTU, OPC UA, REST API)
- Added integration tests for protocol server integration
- Enhanced existing API tests for protocol mapping endpoints
- Fixed database integration issues in ConfigurationManager
- Improved validation logic and error handling
- All tests passing with comprehensive coverage of Phase 1 functionality
2025-11-04 09:14:11 +00:00
openhands f55a4ccf68 Fix Modbus performance registers and add protocol architecture documentation
- Extended Modbus server input register range from 300 to 400 registers
- Fixed IllegalAddress errors for performance registers (400-499)
- Added timeout protection for Modbus operations in dashboard API
- Added protocol architecture diagram to documentation
- Confirmed both OPC UA and Modbus servers are running correctly
- Protocol clients now successfully read real data with 0% error rate

Test Results:
- OPC UA: 15/15 signals active, 0% error rate
- Modbus: 18/18 signals active, 0% error rate
- REST: 3/3 signals active, 0% error rate
2025-11-01 22:33:22 +00:00
openhands 69b1752774 Complete production deployment with fixes
- Fixed PostgreSQL connection timeout parameter
- Fixed database host configuration for Docker networking
- Fixed SQL datetime syntax for PostgreSQL compatibility
- Fixed REST API binding to 0.0.0.0 for external access
- Added comprehensive documentation
- Enhanced deployment scripts
- Added dashboard configuration system
- Updated settings for production deployment
2025-11-01 10:28:25 +00:00
openhands fe72175a04 Add comprehensive alert system setup documentation
- Create detailed alert system setup guide with configuration examples
- Document current implementation status and external service requirements
- Include step-by-step setup for email, SMS, webhook, and SCADA alerts
- Update README with alert system documentation reference
- Enhance environment example file with all alert configuration options
- Add troubleshooting guide and testing procedures

Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-27 07:49:07 +00:00
openhands 1bb98a7a3b Extend optimization system with version-based updates
- Added version-based optimization plan management with Strategy B approach
- Extended database schema with plan versioning and status tracking
- Created generic optimization_plans table for multi-actuator support
- Implemented OptimizationPlanManager for real-time plan monitoring
- Added comprehensive documentation for optimization plan management
- Updated main application to include optimization manager
- All 66 unit tests continue to pass

Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-27 07:00:57 +00:00
openhands cff1f77a06 Set up proper Calejo Control Adapter repository structure
- Renamed repository to calejo-control-adapter
- Created comprehensive Python project structure
- Added safety framework with multi-layer limits
- Added auto-discovery module
- Added database client with PostgreSQL support
- Created configuration management with pydantic-settings
- Added Docker containerization
- Created comprehensive README with architecture and setup instructions
- Added MIT license
- Created test structure for safety framework
- Updated package.json with proper project metadata
2025-10-26 18:19:37 +00:00
openhands 41fe902d29 Update README to reflect current structure with specification.html 2025-10-26 17:59:58 +00:00
openhands 88f3448c8d Initial commit: Basic repository structure with specification 2025-10-26 17:03:34 +00:00