A repository of my open-source SmartThings projects
A SmartApp that will display your Google Fit steps as a tile. Requires registering the Google Fit device handler and enabling OAuth2.
Steps to set this up... (based on instructions from mnestor's GCal-Search SmartApp)
- Create a Google Project - https://console.developers.google.com
- Give it any name
- Enable the Fitness API - https://console.developers.google.com/apis/library
- Setup new credentials - https://console.developers.google.com/apis/credentials
- Enable OAuth with a redirect URI of:
https://graph.api.smartthings.com/oauth/callback
- Copy the Client ID and Client Secret, you will need these later
- Install the Google Fit (Connect) SmartApp
- https://graph.api.smartthings.com/ide/app/create
- Enable OAuth for "Google Fit (Connect)"
- Put the ClientID and Client Secret you copied from Step 1 into the Settings for "Google Fit (Connect)"
- Publish the App
- Install and Publish the Device Type
Open the ST app on your phone and install the "Google Fit (Connect)" app. This will walk you through connecting to Google and setting a steps goal.
A SmartApp that will send you a push notification if you haven't reached a specific step count at the specified time
A SmartApp that uses a virtual switch to control a PC connected to a z-wave outlet and uses EventGhost to cleanly shut the PC down
This SmartApp creates virtual button devices for the apps installed on your Roku device. I'm using this with IFTTT + Google Home to switch inputs on my TCL Roku TV, for example "OK Google, switch to the xbox" triggers IFTTT to press the "Roku: Game Console" button.
Requirements:
- SmartThings "Momentary Button Tile" devicetype (from Templates)
- Roku manager SmartApp from MadMouse
- My modified Roku device type (until MadMouse merges my change)
- Roku virtual buttons SmartApp
Instructions:
- Install the requirements above and then launch the "Roku (Connect)" SmartApp to discover and pair your Roku device
- Launch the Roku Virtual Buttons SmartApp and select your Roku device, then tap the Done button
When the settings are saved, the SmartApp will create button devices for each app on your Roku, they should appear in your My Home list with the prefix "Roku: "
Copyright 2017 Sam Steele
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.