Veloxa Solar Widget – Solar Production Display
Show solar panel production from Home Assistant, an inverter cloud API or a push source: power, energy today and total, as blocks or shortcodes.
Install in
Veloxa Solar Widget is a presentation layer for photovoltaic data you already monitor elsewhere. It is not a monitoring system: it takes the data your inverter cloud, gateway or Home Assistant already has and shows it nicely on your website — on a company page, in a case study, or on a screen in your reception area.
Free, with no limits — add as many installations, data sources and widgets as you need.
Widgets
- Current power (e.g. 4.82 kW)
- Energy today (e.g. 24.8 kWh)
- Total energy, scaled automatically (e.g. 38.4 MWh)
- Summary — all three in one card
- Battery — charge level and whether it is charging, discharging or idle, with the charging/discharging power
- Avoided CO₂ — the emissions your solar production has saved so far and today, as an estimate with the emission factor shown
Every widget is available as a block and as a shortcode, shows when the data was last updated, and marks data as out of date when the source stops sending it. Data sources refresh roughly every 5 to 15 minutes, so widgets show the current production — not a real-time feed. A widget is offered only for values your source actually provides: no battery in the source means no battery value to choose, not a zero.
Data sources
- Generic REST / JSON — any cloud API that returns JSON. Point each value at its place in the response with a dot path (e.g.
result.acpower) — or add several together with+(e.g.result.powerdc1+result.powerdc2) — and pick the unit the API uses; the plugin converts it. - Push — your device, script or Home Assistant automation sends readings to your site. Each channel has its own token, which you can replace at any time.
- Home Assistant — sensors are offered by their type and unit. For Solarman/Sofar they are pre-selected; for Huawei Solar, Fronius, GoodWe, SMA, Enphase, SolarEdge and similar integrations they are pre-selected by their names (beta) — check them before saving. Gaps caused by rare refreshes are filled from Home Assistant’s own history.
- SolaX Cloud (beta) — enter the token ID from SolaxCloud (Service API) and the registration number of the dongle; solar power, energy, battery and grid are mapped for you.
You can edit every data source later — for example, replace an API key or a Home Assistant token — without losing its settings or breaking the widgets that use it.
Beta data sources
SolaX Cloud and the name-based Home Assistant suggestions are built from the manufacturers’ documentation and have not yet been confirmed on a real installation of each type. They are marked “beta”. Compare the values with the manufacturer’s app; the plugin also checks every reading of a beta source (for example energy today larger than total energy, negative solar power, battery outside 0–100 %, a daily counter going down) and writes problems to the Diagnostics error log. The raw values received are shown on the data source’s edit screen — if something is wrong, send them with the diagnostic report and we will correct the mapping. Nothing is sent anywhere automatically.
Home consumption
Use your source’s own home consumption value when it has one. If it does not, the plugin estimates it as solar power + power taken from the grid − battery charging power (grid: positive when taking power from the grid; battery: positive when charging), and marks the value with “≈” and this formula wherever it is shown.
Some home meters leave out part of the loads or the inverter losses, so solar, grid, battery and home do not add up in the energy flow. For such a connection, switch on “Always calculate it from the energy balance”: the plugin then uses the same formula instead of the measured value, so the flow always adds up, and marks the value with “≈”.
Privacy by default
Solar production can reveal when people are at home. Widgets of a data source are hidden from visitors until you switch on “Show on public pages” for that source. Public widgets show only the values themselves — never the source address, keys or raw API responses.
Performance
Data is fetched in the background (WP-Cron) and served from the database. A visitor loading a page never triggers a request to your data source.
Diagnostics
The Diagnostics screen shows whether each data source is up to date, when it was last measured and refreshed, the background tasks and the most recent errors. One button copies it all as a text report for a support request — without addresses, tokens or API keys.
External services
This plugin connects to one service that is not the data source you configure yourself:
- Freemius (licensing, update delivery, and — if you opt in — basic usage analytics). On first activation you’re asked whether to allow anonymous diagnostic data (server environment, WordPress/PHP version, plugin version, site URL) to be sent — you can decline, and review/opt out again later from your account on freemius.com. No data about your data sources, installations, or the production values they return is ever included. Terms of Service, Privacy Policy.
Every other outbound request goes only to the addresses you configure:
- Generic REST sources: the API URL you enter, with the authorization header you enter. The plugin requests it in the background at the interval you set (at least every 5 minutes) to read your production data. Refer to your data provider’s terms of use and privacy policy.
-
Home Assistant: the Home Assistant address you enter, using the access token you enter, to read the states of the sensors you choose — when you set up the connection and then in the background at the interval you set — and, when readings are missing, the recorded history of those sensors.
-
SolaX Cloud (when you add a SolaX Cloud data source): www.solaxcloud.com. The plugin sends your SolaxCloud token ID and the registration number of your inverter’s dongle to read its current data, in the background at the interval you set (SolaX allows 10 requests a minute and 10,000 a day). SolaX: Terms of Use, Privacy Policy.
Push channels receive data on your own site and send nothing out.
Network safety
For security, the plugin refuses to connect to local and private network addresses (such as 192.168.x.x or homeassistant.local) unless an administrator enables “Allow local network addresses” in the plugin settings. Link-local addresses used by cloud metadata services (169.254.x.x) are always blocked. Redirects are checked with the same rules.
Written by Joobi from the project's own listing. See the source page
0.7.13
- Changed: paid versions are not offered at the moment, so the plugin no longer shows upgrade links, a plans page, Pro data sources or widgets that need a paid version.
0.7.12
- New: connection option “Always calculate it from the energy balance” for home consumption. Use it when the measured home consumption leaves out some loads and the energy flow does not add up: the plugin calculates it as solar + grid − battery and marks it with “≈”. Off by default; existing connections do not change.
- Fixed (Pro): when the WordPress time zone differs from the plant’s, the five-minute readings filled in from Solarman history no longer leave a gap every day (for example 00:00–01:00 at a plant in Poland when WordPress uses UTC).
- Improved (Pro): the exported energy value widget no longer says that net-billing always uses the monthly price (RCEm) — depending on the contract, it uses RCE prices or RCEm.
0.7.11
- Fixed: the free version includes its Polish translation again, so the admin screens, the block editor and the widgets are shown in Polish before a language pack from translate.wordpress.org is available.
- Improved: when a language pack is installed, it is used first, and Pro texts that it does not contain are still translated from the plugin files. The Freemius screens (Account, Contact Us, Pricing) are translated too.
0.7.10
- Improved: the source chooser also lists Solarman and SolarEdge, marked “Pro” and not selectable, with a link to the plans.
0.7.9
- Improved: Connections now guides you through choosing one integration at a time, including keyboard navigation and configuration without JavaScript.
- Improved: consistent widget typography, spacing, units and data states, including narrow containers and mobile screens.
- Fixed: small non-zero measurements, including negative values, retain their meaning when formatted.
- Improved: a compact, expandable privacy notice keeps the measurement prominent; data visibility and private defaults are unchanged.
0.7.8
- Fixed: the plans page (“Upgrade”) shows the plugin icon instead of a generic one.
- Changed (Pro): after you switch on electricity prices (RCE), the prices of the past 6 days are downloaded too, so “Exported energy value (RCE)” shows this week and month right away instead of starting from zero.
0.7.7
- New (Pro): “Electricity prices (RCE)” widget — today’s and tomorrow’s Polish wholesale electricity prices from PSE as a chart and a table, with the cheapest and the most expensive hour. Switched on in the settings; prices are downloaded once an hour, visitors’ pages never contact PSE.
- New (Pro): “Exported energy value (RCE)” widget — the estimated value of the energy exported to the grid at RCE prices (every 15 minutes × the price of those 15 minutes), today, this month and in total.
0.7.6
- Changed: Freemius SDK updated to 2.13.5.
- Changed: the plugin name says what it does (“Solar Production Display”).
- Changed: Polish translation — plainer, shorter messages (full sentences, one piece of information per sentence).
0.7.5
- Fixed: the free version shows how to upgrade — “Upgrade” in the plugin list and in the Solar Widget menu, with the plans page (Pro and Agency). The Freemius account link in the menu now comes from the SDK.
- Fixed: push channels — a value sent as “unavailable” or “unknown” (for example from Home Assistant when a sensor drops out) no longer rejects the whole request; that value keeps its last reading and the other values are updated.
0.7.4
- Changed: push channel form — changing the unit or “Invert sign” of an optional value (battery, grid, home) ticks that value, and a note explains that values that are not ticked are not accepted.
0.7.3
- New: an optional, dismissible request for a review after two weeks of use.
- Fixed: push channels — the day’s peak power counts every reading (a 200 W reading sent a few seconds early could be missed), and readings sent “every 5 minutes” with a few seconds of jitter are no longer dropped from history.
0.7.2
- Security: every field of the data source forms is sanitized as it is read, before it reaches any other code or filter.
- Security: widget HTML (shortcode and block) is passed through an allow-list of HTML and SVG tags before it is output.
- Fix: the request limit of push channels (60 per minute) holds under many simultaneous requests.
- Fix (Pro): the Account link appears once on the Account page.
0.7.1
- Fix: a push value the widget cannot use — text instead of a number, battery level outside 0–100 % — is now refused with a clear message (HTTP 400) instead of being accepted and ignored.
- Fix: the Avoided CO₂ factor falls back to the default 0.7 when it is set to zero or a negative number.
- Fix: the hint under “Home consumption” in Generic REST describes the home, not the grid.
- Fix: background refresh results in Diagnostics and the “waiting for the device” message of push channels are shown in the language of the person viewing them.
- Fix (Pro): production history no longer marks today as incomplete when there are no readings today yet.
- Fix (Pro): “Total production” in Statistics uses the inverter’s lifetime counter when the data source has one, matching the summary widget.
- Fix (Pro): the “Account” page (licence, plan) is now in the Solar Widget menu.
- Fix (Agency): the brand colour now also colours the production history bars.
- Fix (Agency): “Our installations” shows “—” instead of 0 kWh for energy today when no installation has a reading from today.
0.7.0
- New: SolaX Cloud data source (beta) — token ID and dongle number, everything else is mapped for you.
- New (Pro): SolarEdge cloud data source (beta) — overview and power flow with the direction of grid and battery; Agency: add every site of an installer’s API key at once.
- New: Home Assistant sensors of Huawei Solar, Fronius, GoodWe, SMA, Enphase, SolarEdge and similar integrations are pre-selected by their names (beta).
- New: readings of beta sources are checked for typical mapping mistakes, and the raw values are shown on the edit screen for comparison with the manufacturer’s app.
- New: Generic REST paths can add values together, e.g. result.powerdc1+result.powerdc2.
- New: Site Health (Tools Site Health) checks whether your solar data sources are up to date and whether the background refresh runs.
- New: a “Getting started” list on the Connections screen — add a data source, show it on public pages, add the widget to a page.
- New: Diagnostics can download the list of your Home Assistant power, energy and battery sensors (without the address and token, without phones and other battery devices) to send to support when your inverter is not recognised.
- Fix: a host name that cannot be resolved no longer writes a PHP warning to the debug log; .local addresses are not looked up in DNS.
- New (Agency): your branding — company name and logo on the full-screen display, brand colour on the widgets (Solar Widget Connections Settings).
- New: Avoided CO₂ widget — emissions saved so far and today, with an emission factor you can set (default 0.7 kg CO₂/kWh).
- New (Agency): “Our installations” widget — all public installations in one widget: production now, energy today, total energy, avoided CO₂ and a list of installations.
- New (Agency): Solarman — add every plant of an account at once, with refresh intervals that fit the daily request limit.
- New: the [veloxa_solar] shortcode accepts connections=”id1,id2″ for the “Our installations” widget.
- New (Pro): Solarman cloud data source — solar power, home consumption, battery and grid straight from the Solarman cloud, with your own Solarman API access. Energy today is calculated from the inverter’s total energy counter.
- New (Pro): Solarman data is completed from Solarman’s history when your site has few visitors — exact daily totals for days without readings, energy today, and 5-minute readings for the daily chart and peak power. The connection form shows the estimated daily requests per APP ID and warns when the intervals are too short.
- New: Home Assistant data is completed from Home Assistant’s history when your site has few visitors — daily totals for days without readings and the solar power for the daily chart and peak power.
- New: Diagnostics warns when a data source was refreshed much less often than set in the last 24 hours (WP-Cron runs only when the site has visitors).
- Fix: Pro widgets are shown with their styles in the block editor preview (the energy flow was drawn without them).
- New (Pro): Production history widget — 30 days, 12 months or this year, with gaps for days without data.
- New (Pro): Statistics widget — this year, total since the start, best day and peak power.
- New (Pro): Full-screen display layouts (summary, flow, full), light theme, portrait tablets, “Last data” and “No connection” bars with automatic resume.
- New (Pro): Energy flow adapts to 2, 3 or 4 nodes and warns administrators when the energy balance does not add up (usually a reversed battery or grid sign).
- New (Pro): Polish translation.
- New: The block offers the period and statistics items as settings; Pro widgets are marked “(Pro)” in the free version.
- Security: Carrier-grade NAT addresses (100.64.0.0/10) are treated as a local network.
- Fix: After activating a Pro licence, the full-screen display could return “page not found” until the plugin was updated.
0.2.0
- New: Battery widget — charge level, charging / discharging / idle state and power. The idle threshold is set per data source (50 W by default).
- New: Energy flow (Pro) — solar, home, battery and grid on one diagram with the direction of each flow.
- New: Home consumption value from your source; an optional estimate (solar + grid − battery), off by default and marked “≈”.
- New: Daily production totals are kept from the first day, for longer-term charts.
- New: Home Assistant — sensors of Solarman / Sofar inverters are recognised and pre-selected.
- New: Invert the sign of battery, grid and home consumption values per data source.
- Changed: Shortcode is now [veloxa_solar]; block, REST route and all internal names use the veloxa-solar prefix.
- Fix: Units sent by push devices are validated — unknown units are rejected instead of silently using the channel unit.
- Fix: Without an active licence, the Pro package behaves exactly like the free version.
0.1.2
- New: Diagnostics screen (Solar Widget Diagnostics) with the state of each data source, background tasks and recent errors, plus a “Copy diagnostic report” button for support requests. Addresses, tokens and API keys are never included in the report.
- Fix: the error log is now limited to the 200 most recent entries.
- Fix: editing a push channel updates its current reading right away.
0.1.0
- First version.
Follow this listing's changes (Atom feed)