The fix was to delete the smartapp completely then add it straight from his repository. When I initially set up my integration I knew nothing about any of this, I somehow forked rule machine and could not update it from repository. It will have an option to compare the code between the two copies. Left Column: Everything that is available to update that is Currently Installed is in the and should be checked.Ĭenter Column: If you see anything here you might be on a forked copy, or have Altered the code. In this case I would select Rule Trigger (master) Seeing that my rule machine Smartapps are Magenta, I know that I need to update them.Ĭlick the update from repo button, then select the repository you would like to update from. Typically in this case you would change the name and namespace to be unique for your code. If you update from the repo without changing the name or namespace, the IDE version will be replaced with the repo version. Typically this happens when a new SmartApp or Device Type is created from a template, and the name or namespace hasn’t been changed. Indicates that the SmartApp or Device Type is unattached to the repository version. To resolve this, you should click the Update from Repo button and follow the steps there (more information about the Update from Repo action can be found below). More information about the Update from Repo button can be found below.īoth the IDE version and repository version have been updated, and are in need of a conflict resolution. To resolve this, you should click the Update from Repo button, where you sill see the file appear in the Obsolete column. Indicates that the file has been updated in the repository, but not in the IDE. Indicates that the file exists in your GitHub repository, and has been modified in the IDE but not committed to the repository. Indicates that the file is in the IDE only, and not in any repository. Indicates that the file is unchanged between your forked GitHub repository and the IDE. Owner=bravenel, Name=Rule-Trigger, Branch=masterĪfter adding a repository you will see that in your smart app or device handler sections are color coded.To get the latest updates for Rule Machine and Rule, the best way is to enable the GitHub Integration in your IDE, and then: Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support To add a repository Please do the following:Ĭlick on My SmartApp or My Device Handlers Sections.Ĭlick on Settings you will see the following popup: Click the Next button after you have done this.įor most of us we won’t need to go any further in the developer documents integration. On Step 1 of the wizard, follow the instructions to authorize SmartThings to integrate >with your GitHub account. Step 2 - Connect your GitHub Account to SmartThings This will launch a wizard that will guide you through the process. 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.Įnable and Link your GitHub Account: Section taken from Smartthings developer docsĬlick the Enable GitHub Integration link on the My SmartApps or My Device >Types page. A quick search in the community “Github UK” would have brought you to this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |