Skip to content

ionred/PowerThings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerThings

Powershell module for SmartThings

Prerequisites

Powershell version 3 or later and a Smartthings Personal access token that has adequate permissions

https://account.smartthings.com/tokens

References

https://smartthings.developer.samsung.com/docs/api-ref/st-api.html

Examples

Supports tab completion of your devices and capabilities

Set-SmartThingsDevice -Device 'Dining Room Light' -Capability switch -command on
Find-SmartThingsDevice | select-object label
Find-SmartThingsDevice -name "office" | Invoke-SmartThingsCommand -command on -capability switch

Installing

Import-Module .\PowerThings.psm1

or copy to Powershell Module path "C:\Program Files\WindowsPowerShell\Modules" in Powershell version 4 and up

Built With

VSCode

Contributing

Pull Requests welcome

Authors

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 99.4%
  • Python 0.6%