--- id: sense-energy version: "0.14.3" license: unclear license_treatment: permissive maintenance: active --- # sense-energy — API for the Sense Energy Monitor License: permissive · Maintenance: active · Downloads: 76.7K/mo ## 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 above — 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 pip install sense-energy uv add sense-energy poetry add sense-energy ## Installing 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: unspecified - Install friction: low - Maintenance: active - Downloads: 76.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags sense energy monitor api, home energy monitoring python, sense api client, energy data retrieval, smart plug emulation, real-time power monitoring, home assistant energy integration, home-automation, energy-monitoring, iot [View on SkillFed](https://skillfed.io/packages/sense-energy) · [View on PyPI](https://pypi.org/project/sense-energy/)