Documentation
Everything you need to set up and get the most out of HH Solar Manager.
Getting Started
HH Solar Manager reads live telemetry from your Home Assistant instance, Victron Energy systems, and UPS battery backups — all displayed in one beautiful dashboard.
Quick-start checklist
- Create your HH Solar Manager account
- If you use Home Assistant: generate a Long-Lived Access Token and enter it on your Profile page
- If you have a Victron Energy system: go to Devices and add your Victron device (VRM Cloud or local CerboGX)
- If you have a UPS with WinPower: go to Devices and add your UPS device
- Return to your Dashboard and enjoy real-time energy data!
Home Assistant Setup
HH Solar Manager connects to Home Assistant via its REST API. Your Home Assistant instance must be accessible from the server running HH Solar Manager.
Supported Home Assistant versions
Any Home Assistant release from 2023.1 onward is supported. Core, OS, and Supervised install types all work equally well.
Network access
| Scenario | URL format | Notes |
|---|---|---|
| Local network | http://homeassistant.local:8123 |
Works when HH Solar Manager runs on the same LAN |
| Local IP | http://192.168.1.50:8123 |
Use your HA server's fixed IP address |
| Nabu Casa / remote | https://xxxxx.ui.nabu.casa |
Works over the internet with a Nabu Casa subscription |
| Custom domain | https://ha.yourdomain.com |
Self-hosted reverse proxy setup |
Creating a Long-Lived Access Token
A Long-Lived Access Token (LLAT) allows HH Solar Manager to securely read data from Home Assistant without your password.
- Open your Home Assistant instance and log in.
- Click on your user avatar in the bottom-left sidebar to open your profile.
- Scroll down to the Security section.
- Under Long-Lived Access Tokens, click Create Token.
- Give it a memorable name, e.g.
HH Solar Manager. - Copy the token that appears – you can only see it once!
- Paste it into the Long-Lived Access Token field on your Profile page.
Solar Entity IDs
HH Solar Manager automatically searches for common solar-related entity IDs in your Home Assistant. You do not need to configure entity IDs manually.
The following entity ID patterns are probed in order of priority. The first match wins:
| Metric | Entity IDs searched (in order) | Unit |
|---|---|---|
| Battery State of Charge | sensor.battery_socsensor.battery_state_of_chargesensor.solax_battery_capacitysensor.givenergy_battery_percent |
% |
| Solar Input Power | sensor.solar_powersensor.pv_powersensor.solax_pv_power_totalsensor.givenergy_solar_power |
W |
| Home Load / Consumption | sensor.load_powersensor.home_consumptionsensor.house_loadsensor.solax_load_power |
W |
| Total Solar Generated | sensor.total_solar_generatedsensor.energy_production_todaysensor.solax_today_s_solar_energy |
kWh |
| Solar Forecast | sensor.energy_production_todaysensor.solcast_pv_forecast_forecast_today |
Wh / kWh |
sensor. – look for entities with values in watts (W) or percent (%).
Profile Configuration
Visit your Profile page to configure the following:
- Display Name
- Your name shown in the app. Example: John Smith
- Your login email. Verify it to receive alerts.
- Timezone
- All timestamps are shown in your local time. Example: Europe/London
- Home Assistant URL
-
The full URL to your HA instance.
Example:http://192.168.1.50:8123 - Long-Lived Access Token
- The token you generated in HA. Starts with a long string of letters and numbers.
Example profile values
| Field | Example value |
|---|---|
| Display Name | Jane Doe |
| Timezone | Europe/London |
| Address Line 1 | 42 Sunshine Avenue |
| City | Brighton |
| Post Code | BN1 2AB |
| HA URL | http://192.168.1.100:8123 |
| HA Token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9… (long string) |
Device Management
The Devices page is your central hub for managing all registered energy devices. You can register multiple devices of different types and view live data for each one.
Supported Device Types
| Device Type | Icon | Description | Connection |
|---|---|---|---|
| Solar Inverter | ☀️ | Any solar inverter with Home Assistant integration | Home Assistant REST API |
| UPS + Smart Plug | 🔋 | UPS battery (CertaUPS, APC, Eaton) with WinPower JSON endpoint, controlled via Tapo/Kasa smart plug | WinPower JSON + Tapo bridge or cloud API |
| UPS (Monitor Only) | 🖥️ | UPS battery without smart plug control — monitoring only | WinPower JSON |
| Victron System | 🛥️ | Victron CerboGX / Venus OS with MultiPlus, Quattro, SmartSolar MPPT | VRM Cloud API (REST), Cloud MQTT (TLS 8883), or local HTTP |
Device Details Page
Each device has its own detail page at /device/{id}, accessible by clicking
the 📊 button on the device card. This page shows:
- Live Snapshot — real-time data from the latest poll (battery SoC, voltage, PV power, grid, etc.)
- Refresh Now — fetch a fresh reading immediately from the API
- Raw Data Table — the last 50 recorded data points in tabular format
- Connection Details — device configuration and metadata
Victron Energy & Cloud MQTT
HH Solar Manager provides enterprise-grade connectivity to Victron Energy systems (Cerbo GX, Venus GX, MultiPlus, Quattro, SmartSolar MPPT). We support both REST polling and direct bidirectional Victron Cloud MQTT over TLS.
Connection Methods
| Method | Latency | Network Required | Features | Best For |
|---|---|---|---|---|
| VRM Cloud MQTT (TLS 8883) New & Recommended | Instant / Sub-second | Internet only (No port forwarding) | Instant charging overrides, real-time telemetry, automated DESS fallback | All users — works offsite without opening router ports |
| VRM Cloud REST API | ~1 minute | Internet only | Polling telemetry & DESS REST schedules | Standard cloud monitoring |
| CerboGX HTTP | ~1 minute | LAN or VPN (port 8080) | Local telemetry without cloud dependencies | Self-hosted on the same local network |
How Victron Cloud MQTT Works
Instead of polling the VRM REST API, HH Solar Manager establishes a secure TLS connection directly to Victron's official FlashMQ broker (mqtt*.victronenergy.com:8883).
- Zero Router Configuration: Your Cerbo GX opens an outbound connection to Victron VRM. No static IP, DDNS, or NAT port-forwarding is needed.
- Instant Overrides: Force-charge, Stop-charge, and Target-SoC commands are published directly to Venus OS under
W/{portalId}/settings/0/Settings/DynamicEss/Schedule/...and take effect immediately. - Automated Keepalives: The service periodically sends lightweight read requests (
R/{portalId}/system/0/Serial) so the cloud broker keeps the live stream active. - Resilient REST Fallback: If network jitter or broker maintenance interrupts the MQTT stream, Solar Manager automatically falls back to the Victron DESS REST endpoint, ensuring your battery schedule is always applied.
Cerbo GX / Venus OS Configuration:
- On your GX Touch display or Remote Console, go to Settings → VRM Online Portal.
- Set VRM two-way communication to Full (or On).
- Verify your Cerbo GX shows "Connection: OK" and that it is reporting to VRM.
- In HH Solar Manager, go to Devices → add your Victron device with your VRM Portal ID (e.g.
c0619abc9be9) and VRM API Token.
Quick Setup (VRM Cloud)
- Go to vrm.victronenergy.com → Settings → API Access (or Integrations → API Keys).
- Click Create Token, name it "SolarManager", and copy it.
- Find your Installation ID (the number in your URL, e.g.
/installation/123456/) and Portal ID (e.g.c0619abc9be9, found under Device List → Gateway). - Go to Devices → select Victron System.
- Enter your token, installation ID, and Portal ID.
- Click Test VRM Connection, then Add This Device.
Data Collected
- Battery SoC (%) — state of charge from the live feed
- Battery Voltage & Current (V / A) — voltage, charging/discharging amperage
- Solar PV Power (W) — live generation from MPPT and AC solar inverters
- Grid Power (W) — live import/export power
- Home Load Power (W) — total AC and critical load consumption
- System State — Bulk, Absorption, Float, Inverting, Self-Consumption, etc.
UPS & Smart Plug Setup
HH Solar Manager can monitor a UPS battery via its WinPower JSON endpoint and optionally control a smart plug (Tapo P110/P115, Kasa KP115) to charge the battery when energy is cheap.
Requirements
- A UPS with WinPower software that exposes a JSON status endpoint (typically
https://ups-ip:8888/0/json) - (Optional) A Tapo P110/P115 or Kasa KP115 smart plug for automated charging control
- (Optional) An HH-Bridge running on your home network for local smart plug control
How It Works
- The app polls the WinPower JSON endpoint every minute for battery SoC
- It checks the current Octopus Energy rate (if configured)
- Based on your Logic Profile or device thresholds, it decides whether to turn the smart plug ON (charge) or OFF (save)
- If the UPS is in bypass mode, the plug is never turned off (safety override)
- All data is recorded as UpsDataPoints for historical tracking
Quick Setup
- Ensure your WinPower JSON endpoint is accessible (port-forward or local network)
- Go to Devices → select UPS + Smart Plug or UPS (Monitor Only)
- Enter the WinPower JSON URL (e.g.
https://192.168.1.50:8888/0/json) - If using a smart plug, configure the bridge URL and API key, or enter Tapo cloud credentials
- Set your charging thresholds (min SoC% to turn ON, max SoC% to turn OFF)
- Click Test WinPower, then Add This Device
Safety Features
- Bypass detection: If the UPS is in bypass mode, the app will never turn the smart plug off
- Min/max thresholds: Configurable battery levels to prevent over-discharge
- Octopus rate awareness: Only charges when rates are low
AI & Weather Solar Forecasting
HH Solar Manager features a high-resolution solar generation forecasting engine powered by Open-Meteo numerical weather prediction models and solar-forecast-api. It calculates 7-day half-hourly and 15-minute expected solar yields based on your exact geolocation and PV array geometry.
Key Capabilities
- 7-Day Lookahead (15-Minute Resolution): Accurately predicts solar irradiance, cloud coverage, temperature derating, and PV watt curves for today and the upcoming week.
- Hardware & Orientation Aware: Accounts for panel tilt (e.g. 35°), azimuth / orientation (e.g. 180° for South, 90° for East, 270° for West), panel peak capacity (Wp), and inverter maximum AC power clipping (W).
- Smart Grid Charging Suppression: Automated profiles (and the AI Decision Engine) can skip expensive nighttime grid charging if tomorrow's predicted solar yield is sufficient to meet household demand.
- 1-Click Geolocation Auto-Detection: If you connect Home Assistant, clicking "Auto-Fill from Home Assistant" in Settings automatically syncs your home's exact latitude and longitude without manual lookup.
- 3-Tier Fallback Hierarchy:
- Home Assistant Entity: Reads from your configured HA forecast sensor (e.g. Solcast, Forecast.Solar) if present.
- Open-Meteo Solar Forecast API: If no HA forecast sensor is configured (or when running Victron Cloud MQTT directly), calls the Open-Meteo solar prediction engine with Redis caching.
- Clear-Sky Solar Math: If the cloud weather service is unreachable, falls back to astronomical solar angle and panel capacity calculations.
- Nightly Self-Calibration: Automatically compares morning forecast predictions against actual generation yield to compute a rolling correction factor.
Configuring Solar Forecast in Settings
- Navigate to Settings → Solar Panel & Inverter Configuration.
- Enter your Total Panel Capacity (Wp) (e.g.
4800for a 4.8 kW system). - Enter your Panel Tilt Angle (e.g.
35degrees for standard UK roof pitch). - Enter your Panel Azimuth (e.g.
180for due South,90for East,270for West). - Enter your Inverter AC Rating (W) (e.g.
3680or5000). - Enter or auto-detect your Latitude & Longitude.
- Click Save Solar Settings. Your Dashboard will immediately start displaying remaining today and tomorrow's solar forecast!
Logic Profiles & Automation
The Logic Profiles engine provides intelligent, rule-based automation for your battery inverters, UPS backups, and smart plugs. Rules are evaluated in priority order (Priority 1 first) — the first matching rule triggers the action.
Key Features
- Profile Order: Set execution order with the Order input or ▲ / ▼ buttons, then save with 💾 Save Order.
- Rule Priority: Shift rules up or down inside the profile modal using ▲ / ▼ to adjust which condition takes precedence.
- Multi-Device Assignment: Assign distinct profiles to individual devices on the Devices page.
- Battery & Inverter Systems: Actions automatically present as ⚡ Charge ON and 🛑 Charge OFF for Victron, Solis, and storage inverters.
- Smart Plugs & UPS: Actions display as Plug ON and Plug OFF.
- Cross-Compatibility: Inverter controllers seamlessly translate plug actions into force charge commands without needing to rewrite rules.
Supported Conditions
- Battery SoC Below / Above (%): Charge when battery is low; stop when full.
- Electricity Rate Below / Above (£/kWh): Capitalize on cheap or negative Octopus rates.
- Cheaper Slot Imminent: Look ahead up to 48 slots (24 hours) and delay charging if a cheaper slot is approaching.
- Time Between / Outside: Enforce night-window charging (e.g. 00:30–04:30) or daytime quiet hours.
- Solar Forecast Above (Wh): Suppress grid charging when the day ahead forecast promises ample free solar generation.
Live Rates & Rolling Ticker
When an Octopus Energy tariff is configured in your settings, a dynamic Live Rolling Ticker appears at the top of every page across SolarManager.UK. It streams real-time pricing and telemetry in an unbroken infinite loop:
Color-Coded Tariff Rates
| Color | Rate Range | Meaning |
|---|---|---|
| Blue | Negative (< 0.0p) | Plunge pricing — you get paid to consume electricity. Ideal time to max out battery and EV charging. |
| Green | Cheap (0.0p – 12.0p) | Super off-peak rate. Recommended for automated storage charging. |
| Yellow | Standard (12.0p – 25.0p) | Normal daytime tariff. Self-consumption recommended. |
| Red | Peak (> 25.0p) | Expensive peak rate. Discharge battery to avoid costly grid imports. |
Dashboard Overview
The dashboard shows your most recent solar snapshot. Cards refresh every time you load the page, and the Refresh Now button pulls a fresh reading on demand.
The example values above illustrate what you will see on a sunny day with a typical 5 kWp solar system and a 10 kWh battery.
History & Charts
The History page shows interactive charts of your solar data over time. Use the date pickers to select a custom range, or use the quick-select buttons (Today, 7 Days, 30 Days).
- Battery SoC line – tracks how full your battery was at each recorded point.
- Solar Input bars – shows watts generated from your panels.
- Load bars – shows how much power your home consumed.
- Octopus Rate line – overlays the electricity unit rate (Solar Plus/Pro plans only).
Octopus Energy Integration
If you are on an Octopus Agile or Octopus Go tariff, HH Solar Manager can overlay live half-hourly electricity rates on your charts and use them to suggest smarter charging windows.
To enable Octopus data, make sure your Home Assistant has the Octopus Energy integration installed and your sensors are available. HH Solar Manager will discover them automatically.
Serverless Scheduling & QStash
HH Solar Manager integrates with Upstash QStash for serverless, HTTP-based delayed task delivery and cron scheduling.
Why QStash?
- Second-Accurate Charging Overrides: When applying a timed override (e.g. Force Charge for 1 hour or 2 hours), QStash triggers the revert webhook at the exact second, avoiding delays waiting for in-process polling intervals.
- Serverless Daily Maintenance: Nightly tasks (forecast self-calibration and inactive account cleanup) are triggered reliably via webhook crons.
- Zero Idle Resource Consumption: Tasks are managed externally without keeping persistent background timers running inside single-process containers.
Configuration
QStash is enabled automatically when configured via environment variables or appsettings.json:
QSTASH_TOKEN=ey...
QSTASH_CURRENT_SIGNING_KEY=sig_...
QSTASH_NEXT_SIGNING_KEY=sig_... # optional for key rotation
APP_BASE_URL=https://solarmanager.uk
BackgroundService timers with no loss in functionality.Hardware Store & Callidus Trade Partnership
SolarManager.UK includes a curated Hardware Store featuring inverters, LiFePO4 battery storage, MPPT charge controllers, and monitoring hubs tested and verified for seamless operation with our platform.
Why Buy Through SolarManager.UK?
- Official UK Stock: Sourced directly through UK distributor Callidus Trade Ltd with full manufacturer warranties (e.g. 5-year Victron warranty).
- Verified Compatibility: Every listed product (Victron MultiPlus-II, Cerbo GX, SmartSolar MPPT, Pytes batteries) is tested with our telemetry and dynamic logic profiles.
- Transparent Affiliate Support: We earn a 2% affiliate commission when you purchase through our links using
ref=solarmanager, directly funding ongoing software updates and server infrastructure at zero extra cost to you.
Subscription Plans
| Feature | Free £0/mo |
Solar Plus £4.99/mo |
Solar Pro £9.99/mo — 14-day trial |
|---|---|---|---|
| Solar monitoring | |||
| Historical data charts | |||
| Poll interval | Every 1 hr | Every 30 min | Every 10 min |
| Octopus Energy integration | |||
| Priority support |
Troubleshooting
- Confirm Home Assistant is running and you can access it in a browser.
- Double-check the URL – include the port (usually
:8123). - Ensure your token has not expired or been revoked.
- If using HTTPS with a self-signed certificate, the connection will still work (HH Solar Manager accepts any certificate by design for local installs).
This usually means no data has been recorded yet, or the entities HH Solar Manager is searching for don't exist in your Home Assistant.
- Go to HA → Developer Tools → States and search for
battery,solar, orpv. - Compare your entity names against the supported entity IDs table.
- Wait for the next poll cycle (up to 1 hour on Free plan), or click Refresh Now on the dashboard.
Poll frequency depends on your plan. On the Free plan data is collected once per hour. Upgrading to Solar Plus reduces this to every 30 minutes, and Solar Pro polls every 10 minutes.
You can always get a fresh reading immediately by clicking Refresh Now on the Dashboard.
FAQ
http://192.168.1.50:8123 is sufficient.
Victron: Full support for CerboGX, Venus OS, MultiPlus, Quattro, and SmartSolar MPPT via Victron Cloud MQTT (TLS 8883), VRM Cloud REST API, or local HTTP.
UPS: Any UPS with WinPower software (CertaUPS, APC, Eaton) is supported. Smart plugs: Tapo P110/P115, Kasa KP115.
mqtt*.victronenergy.com). Your Cerbo GX initiates the connection from inside your network, so no port forwarding, firewall exceptions, or static IPs are needed.
Still stuck or encountering an issue? We're happy to help.