Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated the Auth. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Automated the Auth. #5

wants to merge 1 commit into from

Commits on Mar 13, 2017

  1. Automated the Auth.

    Install Smartapp, enable oauth and save. Open smartapp, select devices, click show ids and write them down, all you need is AppID and AuthID. That's it, devices are ready to go using https. Would require rework of variables and application for the different vars and url that needs passed. Uses name of device, not device id. Would make the process of setup a lot easier along with adding sensors/switches. 
    
    Will control sensors and switches, including current sensors and switches.
    
    For all sensors: https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations/<AppID>/event?l=<Exact NAME of sensor>&c=<close or open>&access_token=<token>&t=sensor
    
    For Switches: https://graph-na02-useast1.api.smartthings.com/api/smartapps/installations/<AppID>/event?l=<Exact NAME of sensor>&c=<off or on>&access_token=<token>&t=switch
    jimvb authored Mar 13, 2017
    Configuration menu
    Copy the full SHA
    9e080b9 View commit details
    Browse the repository at this point in the history