Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Python API for Sesame smart locks

Project description

Python API for controlling Sesame smart locks made by CANDY HOUSE, Inc.

This is based on the cloud API for Sesame.


Your Sesame needs to be paired with the mobile app in virtual station mode, or a standalone Wi-Fi Access Point.


pysesame depends on the Python package, requests. You can install dependencies using pip install -r requirements.txt


>> import pysesame

>> sesames = pysesame.get_sesames("",
>> [s.nickname for s in sesames]
['Front Door', 'Back Door']

>> front_door = next(s for s in sesames if s.nickname == "Front Door")
>> front_door.device_id
>> front_door.api_enabled
>> front_door.is_unlocked
>> front.door.unlock()
>> front_door.is_unlocked
>> front.door.is_unlocked = False
>> front_door.is_unlocked


pysesame is released under the MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pysesame-0.2.0-py2.py3-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pysesame-0.2.0.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page