Skip to content

dgundersen/SwitchBotIntegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwitchBotIntegration

Integrating the SwitchBotAPI to control devices.

The Inspiration

I work remotely and have a light on my desk that I turn on to let my family know when I'm on a call for work. The problem is that I have to stand up to reach the light.

I purchased a SwitchBot and wrote this small application so that I can turn on the light by running a script.

Today: Not having to stand. Tomorrow: Who knows?...

Setup

This requires a json config file in the root directory named switchbot_config.json.

Example:

{
  "token": "yourswitchbottokenhere",
  "desklight_device_id": "XX12345689"
}

SwitchBotAPI

Documentation for setting up the SwitchBotAPI and getting your developer token:

https://github.com/OpenWonderLabs/SwitchBotAPI

About

Integrating the SwitchBotAPI to control devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages