Skip to content
Sense Energy Monitor API
Branch: stable
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
sense_energy Added rate_limit var to base class to fix #31 Jun 24, 2019
.gitignore Added homeassistant component Jan 9, 2018
LICENSE.txt Added setup files Jan 11, 2018 Async (#28) Mar 6, 2019 Added aiohttp to requirements Apr 9, 2019


Sense Energy Monitor API Interface [WIP]

Systematic access to the Sense monitor data. Exploratory work on pulling data from Sense to be used in other tools - Smartthings, ActiveTiles, etc.

Python version based on the work done here in Powershell:


Feel free to fork and PR!


  • Add POST/PUT where/if applicable
  • CLI
  • Improved error handling


pip install sense_energy

Example Usage:

    sense = Senseable()
    sense.authenticate(username, password)
    print ("Active:",sense.active_power,"W")
    print ("Active Solar:",sense.active_solar_power,"W")
    print ("Daily:",sense.daily_usage,"KW")
    print ("Daily Solar:",sense.daily_production,"KW")
    print ("Active Devices:",", ".join(sense.active_devices))

There are plenty of methods for you to call so modify however you see fit

If using the API to log data, you should only create one instance of Senseable and then reuse that to get the updated stats. Creating the instance authenticates with the Sense API which should only be once every 15-20 minutes at most.
Calling the update_trend_data() function will update all the trend stats and get_realtime() will retrieve the latest real time stats.

The get_realtime() is by default rate limited to one call per 30 seconds. This can be modified by setting the Senseable object attribute rate_limit to a different value.

You can’t perform that action at this time.