UB SOLTRAIN+ INSTALLATIONS

Solar thermal performance monitoring
UB SOLTRAIN+ INSTALLATIONSSolar thermal performance monitoring
— viewer
Systems to compare
Group by
Backup heater
kW
Report
Period: —
——

Solar Thermal Performance Report


Key Performance Indicators

Head-to-head comparison

System Efficiency

Solar Heat vs Backup (Qsol / Qaux)

Energy per interval — Qsol, Qaux, Qload

System Efficiency over time

Solar Fraction over time

Upload logger data

Drop a .csv or .xlsx file here, or click to browse
New readings are merged into the dataset — re-uploading an overlapping file is safe

The file is read in your browser and sent in batches, so there is no size limit and large files will not time out. Rows are keyed by timestamp, so duplicates are ignored automatically. Channels are matched by name (461_T.collector, 463_HM_solar_energy, …), not by column position.

Dataset

Upload history

How this system is secured

Accounts & access

  • Hashed passwordsStored with bcrypt (cost 12) — never in plain text, and not recoverable from the database.
  • Password policyMinimum 10 characters with letters and numbers; new accounts must change password at first sign-in.
  • Three rolesAdmin (full control), Analyst (upload + view), Viewer (view only). Enforced on the server, not in the browser.
  • Brute-force throttling8 failed attempts per username/IP locks sign-in for 15 minutes.
  • No user enumerationWrong username and wrong password return the same message.
  • Last-admin protectionThe final active administrator cannot be deleted, demoted, or deactivated.

Sessions & transport

  • HttpOnly session cookies256-bit random tokens, unreadable by JavaScript, so XSS cannot steal a session.
  • SameSite=Lax + fetch header checkBlocks cross-site request forgery on every state-changing endpoint.
  • Session expirySessions expire after 12 hours and are revoked on sign-out, password change, or deactivation.
  • Content-Security-PolicyRestricts script sources; framing is denied, MIME sniffing is off.
  • HTTPS readySet SECURE_COOKIES=true behind TLS to enable secure cookies and HSTS.

Data handling

  • Parameterised SQLEvery query uses bound parameters — no string-built SQL, so injection is not possible.
  • Upload limits50 MB cap, one file per request, extension checked, parsed in memory and never written to disk as-is.
  • Server-side calculationKPIs derive from stored readings, so figures cannot be altered from the browser.
  • Local storage onlyThe database is a local SQLite file — no third-party service receives your data.

Accountability

  • Audit logSign-ins, failed attempts, uploads, user changes and data clears are recorded with actor, time and IP.
  • Upload fingerprintsEach upload stores a SHA-256 hash so a file can be proven identical to what was processed.
  • AttributionEvery upload records which account submitted it.

Deployment note: run behind HTTPS, keep the data/ folder off the public web root, and back it up — it holds the whole dataset.

Add an account

Systems

Systems are created automatically from the channel groups found in uploaded files. Set a per-system heater rating here when rigs have different elements — leave it blank to use the site default.

Accounts

Activity log

Danger zone

Deletes every stored reading and the upload history. Accounts are kept. This cannot be undone.