Repository navigation
v1.7.2 - Fix EU Pool Escaped JSON Parsing
🐛 Critical Bug Fix
- Fix EU pool HTML parsing - Correctly handle escaped JSON strings from Next.js
- EU pool embeds JSON data as escaped strings (
\"hashrate1m\":\"1110000000000\") - Sensor now displays correct hashrate instead of "Unknown"
✅ Verified Working
Tested with real EU pool data:
- Hashrate: 1110 GH/s (1.11 TH/s) ✅
- 1-hour average: 1050 GH/s ✅
- 24-hour average: 1030 GH/s ✅
🔧 Technical Details
The EU pool's Next.js frontend escapes JSON data in JavaScript strings. This release adds proper regex patterns to extract data from the escaped format:
- Before:
"hashrate1m":"..."❌ - After:
\"hashrate1m\":\"...\"✅
Action Required: Restart Home Assistant to apply the fix.