Skip to main content

Python API for Sesame smart lock

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.

Source Distribution

pysesame-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

pysesame-0.0.1-py2.py3-none-any.whl (5.9 kB view hashes)

Uploaded py2 py3

Supported by

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