Connect Your System
You can view mock data now, and switch to live Victron VRM / PVOutput data when you have access to a site.
Mock Mode (default)
- Set
VICRON_MOCK=1
in your environment. - Open
/api-dashboard
to see sample values update every ~20s.
Victron VRM Setup
- Create a free VRM account and generate a Personal Access Token (VRM → Preferences → Integrations → Access tokens).
- Ask the site owner (or your own device) to add your VRM user to their installation.
- Find your Installation ID (
idSite
) from the VRM URL or via the API. - Optionally add these env vars and redeploy (for server‑wide config):
VICRON_MOCK=0 VICTRON_VRM_TOKEN=<your_personal_access_token> VICTRON_VRM_SITE_ID=<idSite>
We never expose your VRM token to the browser; the dashboard calls a server proxy at /api/integrations/victron/summary
.
PVOutput Setup (optional)
- In PVOutput, enable API and copy your API Key (Settings → API Access).
- Copy your System ID (shown in Settings → Registered Systems).
- Paste them below to save (encrypted) for your user. The dashboard will read current power/energy via PVOutput.
We never expose your PVOutput key to the browser; the dashboard calls a server proxy at /api/integrations/pvoutput/summary
.
Troubleshooting
- Empty VRM installations list → your VRM account isn’t linked to a site yet.
- PVOutput
400 No status found
→ add a sample reading or wait for uploads. - 401/403 from APIs → double‑check headers and IDs; our server caches some responses to avoid rate limits.