luxardolabs/sense-collector
About
Sense Collector provides a way of collecting real-time data from the Sense Energy Monitor. Includes Grafana dashboards for visualizations of detected devices and smart plugs and their wattage, voltage, and amp utilization.
Systems & InfrastructureWhat you can do
- Realtime collection: streams whole-home mains (watts, volts, Hz) and per-device wattage from the Sense WebSocket feed.
- Device resolution: names your devices via the Sense API, cached to respect rate limits.
- InfluxDB storage: writes to InfluxDB 2.x for flexible, scalable time-series storage.
- Grafana dashboards: ready-to-import dashboards for device, mains, and monitor views.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSense Collector

Sense Collector is a headless Docker service that collects data from the Sense home energy monitor and stores it in InfluxDB for visualization in Grafana. It authenticates against the Sense cloud, streams the realtime WebSocket feed, resolves your devices via the REST API, and writes energy metrics to InfluxDB — reaching OUT to Sense and OUT to InfluxDB, with no inbound port.
Key Features
- Realtime collection: streams whole-home mains (watts, volts, Hz) and per-device wattage from the Sense WebSocket feed.
- Device resolution: names your devices via the Sense API, cached to respect rate limits.
- InfluxDB storage: writes to InfluxDB 2.x for flexible, scalable time-series storage.
- Grafana dashboards: ready-to-import dashboards for device, mains, and monitor views.
- Simple deploy: a single multi-arch container, configured entirely through environment variables.
Quick Start
cp .env.example .env.prod-tyle # then edit: TAG=<version>, Sense credentials, InfluxDB connection
docker compose --profile prod-tyle --env-file .env.prod-tyle up -d
docker compose --profile prod-tyle ps # HEALTH shows healthy once data is flowing
The image is published at ghcr.io/luxardolabs/sense-collector:<version>, one immutable tag per release: set TAG=<version> in your env file. :latest is frozen at 2026.10.2 and no longer updated. Full walkthrough: docs/GETTING-STARTED.md.
Documentation
- Getting Started — prerequisites, install, run, and verify.
- Configuration — every environment variable.
- Grafana — data source setup and the dashboards.
- What the Collector Gathers — the measurements and where they come from.
Dashboards
Three Grafana dashboards ship in grafana/shared-local/: Device Overview, Mains Overview, and Monitor & Detection. See docs/GRAFANA.md for import and data-source setup.
Support
Questions or issues? Please open an issue.
Acknowledgements
License
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only).
Explore related projects
Loading…