Skip to main content

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.

Files for pysesame, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pysesame-0.2.0-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pysesame-0.2.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page