Default: 127.0.0.1 only (port 8765). Enable in
SensorPulse: Settings → Automation → Localhost API.
Optional: Remote access (LAN) also binds to LAN IPs on your home network (read-only, API token required) — e.g. for SensorPulse Hub or Rainmeter on another device. On the go: VPN into your home network (e.g. Tailscale), not public port forwarding.
| Path | Description |
|---|---|
GET /api/health | {"status":"ok"} |
GET /api/sensors | JSON array of active sensors |
GET /api/quicklook | CPU/GPU/RAM snapshot + alert count |
GET /api/companion | Compact payload for remote clients (e.g. SensorPulse Hub): quicklook, warnings/critical, highlights |
GET /api/alerts | Active warnings |
GET /api/history/{sensorId}?minutes=60 | Sensor history |
When an API token is configured, send:
Authorization: Bearer YOUR_TOKEN
For Rainmeter on the same PC you can leave the token empty (localhost only).
curl http://127.0.0.1:8765/api/quicklook
{
"cpuLoad": 42.5,
"gpuLoad": 68.0,
"memoryLoad": 55.2,
"cpuTemp": 58.0,
"gpuTemp": 72.0,
"activeAlerts": 0
}
Example skin: copy Website/downloads/rainmeter/SensorPulse/ from the repo to
%USERPROFILE%\Documents\Rainmeter\Skins\ and load it in Rainmeter.
Adjust the port in SensorPulseQuicklook.ini if needed.
To import this PC into SensorPulse Hub, also enable Remote access in Settings
and copy the pairing JSON (host, port, token) into Hub → Add PC. Endpoint: GET /api/companion.
?token=… in URL.