Elpris Sverige - Real-time Electricity Price Monitor
A real-time electricity price monitoring system that provides current Swedish electricity prices with live screenshots and automated data extraction.

My role
Full-stack Developer & System Architect
Period
2025
Technologies
Overview
Elpris Sverige is a comprehensive real-time electricity price monitoring platform that provides Swedish consumers with up-to-date electricity pricing information across all four price zones (SE1, SE2, SE3, SE4). The platform automatically captures screenshots and extracts pricing data from official sources.
Key Features
Real-time Price Monitoring
- Live Data: Automatic updates every 30 minutes from ENTSO-E
- All Price Zones: Complete coverage of SE1 (Luleå), SE2 (Sundsvall), SE3 (Stockholm), SE4 (Malmö)
- Historical Trends: Price comparisons with yesterday and tomorrow
- Visual Data: Interactive charts and price zone mapping
Technical Implementation
- React Frontend: Modern, responsive UI with real-time updates
- Automated Screenshots: Playwright-based screenshot capture system
- Data Processing: OCR and text extraction from live web sources
- API Integration: Real-time data fetching from ENTSO-E
- Internationalization: Full Swedish and English language support
User Experience
- Mobile-First Design: Optimized for all device sizes
- Intuitive Interface: Clear price displays with trend indicators
- Accessibility: WCAG compliant with screen reader support
- Performance: Fast loading with efficient caching strategies
Technical Architecture
Frontend (React + TypeScript)
- Component-based architecture with styled-jsx
- Real-time state management with React hooks
- Responsive grid layouts for price zone display
- Internationalization with next-intl
Backend Services
- Automated screenshot capture system
- Data processing and OCR pipeline
- API integration with ENTSO-E
- Scheduled task execution (every 30 minutes)
Data Flow
- Data Collection: Automated fetching from ENTSO-E API
- Screenshot Capture: Playwright automation for visual data
- Processing: OCR and data extraction algorithms
- Storage: Structured data storage with timestamps
- Display: Real-time updates to React components
Challenges & Solutions
Challenge: Real-time Data Accuracy
Solution: Implemented multiple data validation layers and automated quality checks to ensure pricing data accuracy.
Challenge: Screenshot Automation
Solution: Developed robust Playwright-based automation with error handling and retry mechanisms for consistent screenshot capture.
Challenge: Performance Optimization
Solution: Implemented efficient caching, lazy loading, and optimized React rendering to maintain fast performance.
Impact & Results
- Consumer Empowerment: Provides Swedish electricity consumers with transparent pricing information
- Market Transparency: Increases awareness of regional price differences
- Decision Support: Helps users make informed decisions about electricity consumption timing
- Technical Showcase: Demonstrates advanced web scraping and real-time data processing capabilities
Live Demo
The electricity price widget is integrated directly into the homepage, showing real-time prices for all Swedish electricity zones with live screenshots from the source website.
Visit the live site: elpriser.manprogroup.com