Initial State SmartThings SmartApp
This repository is a host of the Initial State Event Sender - a SmartThings SmartApp intended to make easy the process of sending events that occur on a SmartThings network to Initial State for visualization.
The actual SmartApp code is inside the official SmartThings Public github repo. However, because of the way SmartThings does app approval and deployment as well as the requirement for commit squashing, I wanted to keep the code in a separate repo as well to keep the git history. This way, any change in the official github repo can just be a copy and paste commit.
Additionally, you'll find un-official or do-it-yourself SmartApps in this repo like the unbuffered Initial State Event Sender (which is based on the original design of this app and is by its very nature much less complex and therefore less fragile in the SmartThings ecosystem).
For the official version, you can install the SmartApp by following the SmartThings button in your Initial State Account Settings page.
- Copy the code from
- Log in to ide.smartthings.com with your SmartThings account.
- Navigate to My SmartApps
- Select "New SmartApp"
- Select "From Code"
- Paste the code copied from the unbuffered-event-sender.groovy
- Select "Create"
- Edit line 162 and replace
YOUR_ACCESS_KEYwith an access key from your Initial State account. Optionally, you can edit the bucket information above this line should you wish.
- Select "Save"
- Select "Publish" -> "For Me"
Now switch to the SmartThings Classic mobile app:
- Go to the Marketplace
- Select the SmartApps tab
- Select My Apps
- Select the DIY Initial State Event Streamer
- Configure the sensors and capabilities you'd like to monitor
- Select Done
NOTE: This only works on the "SmartThings Classic" app. This functionality does not currently exist on the "SmartThings (Samsung Connect)" app.
You should now be all set! Please note, however, that events will populate the bucket automatically as new events happen on your SmartThings network. Your history of events will build from when you setup the SmartApp forward, so, if you don't see any events in your Initial State bucket immediately, it's most likely because no events have occurred just yet!