Pull realtime and trend power data from a home Sense energy monitor via its unofficial API

domain: github.com/scottbonline/sense · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Note there is no official Sense API; integrations rely on reverse-engineered client libraries such as scottbonline/sense (Python) or brbeaird/sense-energy-node (Node.js)
  2. Authenticate once with Sense account credentials to obtain a session, reusing the same client instance rather than re-authenticating repeatedly
  3. Open a websocket connection to receive realtime power data, then close it immediately after reading a data packet
  4. Call the trend-data update method separately to retrieve historical/trend stats per device
  5. Avoid keeping multiple concurrent websocket streams open on one account

Known gotchas

Related routes

Pull circuit-level usage data from an Emporia Vue energy monitor using the unofficial PyEmVue-style API
github.com/magico13/PyEmVue · 5 steps · unrated
Pull telemetry from a Victron Energy solar/battery system via the VRM API and MQTT
vrmapi.victronenergy.com · 6 steps · unrated
Pull AMI meter readings and consumption history from Neptune 360 using its token-based REST API
neptunetg.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans