sense-energy
API for the Sense Energy Monitor
What it is and what it does
sense_energy is a Python client for the unofficial Sense Energy Monitor API. It lets you pull real-time power readings, trend data, and individual device information from a Sense home energy monitor programmatically. The package is commonly used to integrate Sense data into home automation platforms like Home Assistant, SmartThings, and ActiveTiles.
Beyond API access, sense_energy also includes a SenseLink class that emulates TP-Link Kasa HS110 smart plugs, allowing you to report custom power usage back to your Sense monitor. This is useful for monitoring non-standard devices or testing. The package depends on async libraries (aiohttp, websockets), HTTP clients (requests, websocket-client), and serialization tools (orjson, msgpack, ciso8601) to handle real-time data efficiently.
Use it for:
- Pull real-time power consumption from a Sense monitor into Home Assistant or another home automation platform
- Log historical energy usage and solar production data to a database for analysis and reporting
- Emulate smart plugs to report custom power readings (e.g., from non-standard devices) back to Sense
- Build dashboards or alerts based on real-time active power and device-level consumption
- Integrate Sense data into third-party energy analytics or billing tools
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python access to the Sense Energy Monitor API for retrieving real-time and trend energy data, plus local device emulation to report custom power usage to Sense monitors.
Yes. The package is actively maintained, has no known vulnerabilities, installs cleanly, and is widely used for Sense monitor integration. Install it if you need programmatic access to Sense energy data or want to emulate devices for the Sense monitor. The main caveat is that it relies on an unofficial API, so changes to Sense's backend could break functionality without warning.
Install
sense-energy on PyPI
pip
pip install sense-energyuv
uv add sense-energypoetry
poetry add sense-energyInstalling sense-energy
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a recent release (30 days ago) and steady repository activity. Nine runtime dependencies are all common, well-maintained packages.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install sense_energy
from sense_energy import Senseable
sense = Senseable()
sense.authenticate(username, password)
sense.update_realtime()
print("Active:", sense.active_power, "W")
Verify before relying
- Whether the Sense API credentials and authentication flow remain stable with Sense's unofficial API
- Whether local device emulation (SenseLink) requires specific Sense app configuration beyond enabling TP-Link HS110/HS300 support
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — async_timeout, ciso8601, orjson, requests, websocket-client, websockets, aiohttp, kasa-crypt, msgpack |
| Maintenance | actively maintained — 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,654/month — #14,604 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sense_energy-0.14.3-py3-none-any.whl
Keywords: sense, energy, api
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
p1monitorAsynchronous Python client library for reading…
permissive · top 15,000 on PyPI
qsAPIqsAPI is a Python client for Qlik Sense QPS and…
permissive · top 15,000 on PyPI
pyemvuePyEmVue reads energy usage data from Emporia…
permissive · top 15,000 on PyPI
whirlpool-sixth-senseProvides an unofficial API client for…
permissive · top 15,000 on PyPI
pysmaConnects to SMA solar inverters via their…
permissive · top 15,000 on PyPI
greeneye_monitorParses and processes binary data packets from…
permissive · top 15,000 on PyPI
pysmappeeWrapper library for the Smappee energy…
permissive · top 15,000 on PyPI
forecast-solarAsynchronous Python client for fetching solar…
permissive · top 15,000 on PyPI
ovoenergyA Python client library for querying energy…
permissive · top 15,000 on PyPI
pyTibberPython library for querying Tibber's…
copyleft · top 15,000 on PyPI