Energy Portal Update
News

Energy Portal Update

October 22, 2025 ajneal4uk@gmail.com 7 min read

Energy Portal - Project Summary

šŸŽÆ Project Overview

We are developing a comprehensive Energy Management and Monitoring Portal that provides real-time visibility into energy consumption across multiple sites and meters. The portal integrates with existing XAF (DevExpress eXpressApp Framework) infrastructure to deliver professional dashboards and analytics for energy monitoring and optimization.


šŸ¢ Business Objectives

Primary Goals:

  1. Customer Self-Service Portal - Enable customers to monitor their energy usage in real-time
  2. Multi-Site Management - Track energy consumption across multiple locations from a single dashboard
  3. Data Transparency - Provide clear, actionable insights into energy consumption patterns
  4. Cost Optimization - Help customers identify opportunities to reduce energy costs
  5. Professional Presentation - Deliver enterprise-grade visualizations and reporting

Target Use Cases:

  • Commercial buildings monitoring multiple meters
  • Industrial facilities tracking energy across different sites
  • Property management companies overseeing multiple locations
  • Energy service providers offering monitoring services to clients
  • Facilities management requiring detailed consumption analytics

šŸ”§ Technical Architecture

Current Technology Stack:

Backend:

  • ASP.NET Core MVC - Web application framework
  • MySQL Database - Remote XAF database (xaf_EnergyPortal)
  • Entity Framework Core - Data access with Pomelo MySQL provider
  • DevExpress XAF - Backend energy management system
  • ASP.NET Identity - User authentication and authorization

Frontend:

  • Bootstrap 5 - Responsive UI framework
  • DevExtreme v17.1 - Professional data grids, charts, and components
  • Custom CSS - Modern gradient designs and interactive elements

Database Structure:

  • site - Customer locations/facilities
  • energymeter - Individual energy meters at sites
  • meterreading - Time-series meter readings (cumulative kWh values)

Integration Approach:

The portal operates as a read-only presentation layer on top of the existing XAF database:

  • āœ… No modifications to XAF database schema
  • āœ… Real-time data access from production XAF system
  • āœ… Separate authentication system for customer access
  • āœ… Independent deployment and scaling

āœ… What We've Accomplished

Phase 1: Foundation āœ… Complete

  • Database Connectivity - Established secure connection to remote XAF MySQL database
  • Entity Mapping - Created EF Core models for Site, EnergyMeter, and MeterReading
  • Data Context - Implemented XafDataContext for read-only database access
  • Authentication - Set up ASP.NET Identity for user management

Phase 2: Core Dashboard āœ… Complete

  • Site Dashboard - Overview of all monitored sites with usage metrics
  • Meter Monitoring - Individual meter tracking with status indicators
  • Usage Calculations - Accurate energy consumption from cumulative readings
  • 7-Day Analytics - Daily usage breakdown with visual trends
  • Statistics Cards - Key metrics (total sites, meters, usage, averages, peak consumption)

Phase 3: Data Visualization āœ… Complete

  • Daily Usage Charts - Visual bar charts showing consumption patterns
  • Interactive Tables - Sortable, filterable data grids
  • Status Indicators - Real-time meter status (Active/Inactive/Stale)
  • Responsive Design - Mobile-friendly interface
  • Color-Coded Metrics - Visual indicators for high/medium/low usage

Phase 4: Professional UI āœ… In Progress

  • DevExtreme Integration - Professional data grids with export capabilities
  • Advanced Filtering - Search, sort, and filter across all data
  • Excel Export - One-click export of usage data
  • Modern Design - Gradient headers, card layouts, hover effects

Technical Achievements:

  • āœ… Correct usage calculation (delta between cumulative readings)
  • āœ… Null-safe data handling (handles missing/incomplete data)
  • āœ… Soft delete filtering (excludes deleted records via GCRecord)
  • āœ… Multi-site filtering (view all sites or individual site details)
  • āœ… Time-zone aware date handling
  • āœ… Performance optimized queries with Entity Framework

šŸ“Š Key Features Delivered

Customer Dashboard:

  1. Multi-Site Overview

    • Total sites monitored
    • Total active meters
    • Aggregate usage statistics
    • Site-by-site breakdown
  2. Energy Meter Monitoring

    • Real-time meter status
    • Individual meter usage
    • Last reading timestamps
    • Serial number tracking
  3. Usage Analytics

    • 7-day historical data
    • Daily consumption trends
    • Peak usage identification
    • Average consumption calculation
  4. Interactive Data Grids

    • Sort by any column
    • Filter by site/meter/date
    • Search functionality
    • Export to Excel
  5. Visual Dashboard

    • Color-coded usage indicators
    • Bar charts for trends
    • Status badges (active/inactive)
    • Responsive card layouts

šŸš€ Potential Enhancements

Short-Term Opportunities:

  • Date Range Selection - Custom time period analysis
  • Comparison Tools - Compare usage across time periods or sites
  • Alerts & Notifications - Email/SMS alerts for abnormal usage
  • Cost Calculations - Convert kWh to monetary costs
  • PDF Reports - Automated report generation

Long-Term Capabilities:

  • Predictive Analytics - Machine learning for usage forecasting
  • Anomaly Detection - Automatic identification of unusual consumption
  • Mobile App - Native iOS/Android applications
  • API Integration - REST API for third-party integrations
  • Real-Time Streaming - Live meter reading updates via SignalR
  • Multi-Tenant Architecture - SaaS deployment for multiple customers
  • Advanced Analytics - Power BI/Tableau integration
  • Carbon Footprint Tracking - Environmental impact reporting

šŸ¤ Partnership Opportunities

We are actively seeking strategic partnerships to expand and enhance this energy management platform:

Technology Partners:

  • IoT Hardware Providers - Integration with smart meters and sensors
  • Cloud Service Providers - Scalable hosting and infrastructure
  • Data Analytics Firms - Advanced analytics and machine learning capabilities
  • Mobile Development - Native app development for iOS/Android

Business Partners:

  • Energy Service Companies (ESCOs) - White-label solutions for energy providers
  • Property Management Companies - Integrated facility management solutions
  • Building Automation Vendors - Integration with BMS/SCADA systems
  • Energy Consultants - Value-added services and insights

Integration Partners:

  • ERP Systems - SAP, Oracle, Microsoft Dynamics integration
  • Billing Systems - Automated utility billing integration
  • CMMS Platforms - Maintenance management integration
  • Sustainability Platforms - ESG reporting and compliance

Distribution Partners:

  • System Integrators - Implementation and deployment services
  • Resellers - Geographic or vertical market expansion
  • Consultancies - Energy efficiency and optimization services

What We Offer Partners:

  • āœ… Proven technology platform
  • āœ… Scalable architecture
  • āœ… Modern, professional UI
  • āœ… Real-world deployment experience
  • āœ… Flexible integration capabilities
  • āœ… White-label opportunities

šŸ’¼ Business Value Proposition

For Customers:

  • Cost Savings - Identify energy waste and optimization opportunities
  • Visibility - Real-time insight into all sites and meters
  • Compliance - Track and report energy consumption for regulations
  • Efficiency - Reduce manual meter reading and reporting
  • Insights - Data-driven decision making for energy management

For Service Providers:

  • Differentiation - Professional portal sets you apart from competitors
  • Scalability - Support unlimited customers, sites, and meters
  • Automation - Reduce manual reporting and customer support
  • Retention - Engaged customers with self-service capabilities
  • Upsell - Foundation for additional services and analytics

Market Opportunity:

  • Growing demand for energy monitoring and ESG reporting
  • Commercial and industrial sectors seeking cost reduction
  • Regulatory requirements for energy tracking and reporting
  • Smart building and IoT market expansion
  • Sustainability and carbon reduction initiatives

šŸ“ˆ Success Metrics

Technical Performance:

  • āœ… Real-time data access from XAF database
  • āœ… Accurate usage calculations from cumulative readings
  • āœ… Responsive performance with multiple sites/meters
  • āœ… Reliable null-safe data handling

User Experience:

  • āœ… Professional, modern interface
  • āœ… Intuitive navigation and filtering
  • āœ… Mobile-responsive design
  • āœ… Export and reporting capabilities

Business Impact:

  • Reduced customer support inquiries (self-service)
  • Improved customer engagement and satisfaction
  • Foundation for value-added services
  • Competitive differentiation

šŸŽÆ Next Steps

Immediate Priorities:

  1. Finalize DevExtreme Integration - Complete professional UI components
  2. User Testing - Gather feedback from pilot customers
  3. Documentation - Create user guides and technical documentation
  4. Performance Optimization - Load testing and query optimization

Near-Term Goals:

  1. Production Deployment - Launch to initial customer base
  2. Partner Outreach - Identify and engage potential partners
  3. Feature Expansion - Implement date range selection and alerts
  4. Mobile Optimization - Enhanced mobile experience

Strategic Vision:

  1. Platform Evolution - Expand to multi-tenant SaaS offering
  2. Partner Ecosystem - Build network of technology and business partners
  3. Market Expansion - Geographic and vertical market growth
  4. Innovation - AI/ML capabilities and predictive analytics

šŸ“ž Contact & Collaboration

We welcome discussions with potential partners interested in:

  • Technology collaboration and integration
  • Business development and distribution
  • Co-development of advanced features
  • White-label or OEM arrangements
  • Investment and strategic partnerships

This platform represents a scalable, proven solution for the growing energy management and monitoring market, with significant opportunities for partnership and expansion.


Document Version: 1.0
Last Updated: October 2025
Status: Active Development - Partnership Ready

Get Your Free Energy Assessment

Find out how much you could save on electricity costs with smart meters and LoRa wireless monitoring.

Contact Us Today