Skip to main content

A Python Package for Interacting with SmartThings

Project description

Python SmartThings

Version Stage
1.0.0 Release

This purpose for the creation of this package is twofold. The main reason I created this package is to be able to issue commands to my Z-Wave devices via my SmartThings Hub from a RaspberryPi running Falcon Player software. The other reason for the creation of this package is to further my knowledge of the Python programming language.


  • Python >=3.7
  • Packages
    • requests


pip3 install python-smartthings

How to Use

Import package to project.

import SmartThings

Create an instance of a SmartThings account using your Personal Access Token.

Vist to create or revoke Personal Access Tokens.


After creating an instance of the Account class, three dictionaries will be created from API requests.


These dictionaries can be used with the included methods to execute actions on devices and scenes.

ST.control_device(ST.devices[LOCATION_NAME][DEVICE_NAME], capability=None, command=None, arguments=None)
# Reference the SmartThings API documentation for information regarding the
# format of capabilities, commands, and arguments


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

python-smartthings-1.0.0.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

python_smartthings-1.0.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page