162884
February 19, 2018, 7:18pm
1
I’m on my second day of using ST. I have created a few DHs and I’m wondering how to update the code without having to start over. Is this possible? One of my DHs had a code update today after I added it yesterday. Thanks!
ogiewon
February 19, 2018, 7:19pm
2
Sure. Just click SAVE and then “PUBLISH -> for me” in the ST Web IDE. Your devices that use that Device Handler will be automatically updated.
rontalley
(Ron Talley)
February 19, 2018, 7:20pm
3
Are you sure you are talking about Device Handlers (DH)? Seems odd that you have created some DH but don’t know how to update them.
jkp
February 19, 2018, 7:21pm
4
If the app is in a github repository, then you can integrate it with ST.
I couldn’t find a good/in-depth FAQ for a GitHub How to with ST so here goes:
If you’re looking for uk integration:
Please, I am by no means an Expert, If you find an error or see something that I should change let me know and I will update it.
Log into the IDE @ https://account.smartthings.com
Enable and Link your GitHub Account: Section taken from Smartthings developer docs
Step 1 - Enable GitHub Integration
Click the Enable GitHub Integration link on the My SmartApps or My Device >Types page. This will launch a wizard that will guide you through the process.
[image]
Step 2 - Connect your GitHub Account to SmartThings
On Step 1 of the wizard, follow the instructions to authorize SmartThings to integrate >with your GitHub account. Click the Next button after you have done t…
162884
February 19, 2018, 7:34pm
5
I went to the existing DH and selected “Edit”. I didn’t see a place to paste new code. I’m sure I must be making this more difficult than it actually is.
162884
February 19, 2018, 7:34pm
6
I agree, sorry for my newbie-ness. It is a DH that was created with code than was updated this morning.
162884
February 19, 2018, 7:43pm
8
Thanks @anon36505037 … that did it. Appreciate the integration video link as well!
1 Like