Complete Instructions to install Rule Machine & GitHub into IDE [DEPRECATED]


(Kevin) #1
  1.  Setup your Samsung Smartthings hub with an account name & password following the directions that came with your hub.
    
  2.  Create a GitHub account at this link: https://github.com/join?source=header-home
    
  3.  Keeping the above webpage open & logged into you are going to click this link https://github.com/SmartThingsCommunity/SmartThingsPublic
    
  4.  After the new webpage opens you are going to click Fork in the upper right hand corner.
    
  5.  Then you are going to log into https://graph.api.smartthings.com using your user name & password word you previously set up on your hub.
    
  6.  Click on My SmartApps & you will see Enable GitHub Integration link click on this & Authorize Application.
    
  7.  Then Go to My SmartApps Tab if not already on it
    
  8.  Click on Settings in the upper right of page.
    
  9.  Click on Add new repository lower left corner & fill in the fields with the following info Owner=bravenel, Name=Rule-Trigger, Branch=master.
    
  10. Click Save lower right corner

  11. Then from the My SmartApps click update from Repo, select Rule-Trigger.

  12. On the Right-hand column select Rule Machine & Rule but before hitting the Execute button in the lower right corner make sure the publish box is checked.

  13. That’s is it you can now install in your App on your Phone if you haven’t done so already. If you have rule machine will now appear in your SmartApps tab.


Help with github integration
Github Integration for UK users
What are top uses for ST and it's automation?
Any way to get a routine to dim to 15 percent?
[RELEASE] Aeon Labs Aeotec Doorbell
(Jason) #2

(Kevin) #3

Lol when I searched for a thread I searched for how to install rule machine & GitHub. It didn’t show a thread so I created one. I should’ve searched for how to install github!


(Paul) #4

Thanks so much for this… BIG HELP. I was stuck on step #3 and #4 for weeks. Once I got the right page and clicked FORK everything was set.

Thanks again


(RH) #5

I like to think I’m not an ignorant person, but I’m definitely not a programmer. I have looked at implementing this app a couple of times but gave up, not because it’s too complex, but I’m not willing to learn all the nomenclature and modules that appear to be assumed many of us know. I know it’s not the “How To’s” job to teach programming to us, but a lot of assumptions are made. I’m going to give this a more earnest shot in the next few days and appreciate this post. Maybe I can get through it now!


(Jason) #6

You could try Smart Rules right now if you have IOS, I know I will be giving it a whirl just out of curiosity when the Android app is released.


(RH) #7

I use Smart Rules and I think it’s pretty terrific actually. Still, I like to see what other apps have to offer and also I like to support as many developers that I can as long as their stuff works.


(Richard) #8

Kevin

Thanks for your valuable input on installing rule machine.
I was able to get to point No. 6 including enabling Git Hub Integration but there was nothing on the screen to"Authorise Application" and thus I couldn’t continue any further. Any thoughts/ideas to assist.

As a seperate but related issue is it possible to install user created apps without using Github? I must say I find Git Hub extremely challenging.

Look forward to your response

Richard


(Kevin) #9

Hi Richard I understand your problem to be you did not get an authorize button to click on correct? I personally only know of one reasons this may happen, it’s because someone clicked on enable GitHub & Authrized it prior to doing step #5. Don’t worry this is ok if it was done, just proceed to step #7 & everything should be fine.

As to another way besides GitHub no unless you manually write your own code. Which can be done if you have a basic knowledge of the language the ST Hub uses (Groovy for the Java Platform). It is very similar to Ruby, Perl, & Python.


(Jason) #10

And if this Isn’t the case then you will need to open up a ticket with ST Support.


(Edward Pope) #11

Would this be under ST Support or GitHub? I guess you are right, ST would the one to request first since it is from their site.


(Kevin) #12

It’s an issue with ST support, as long as you created a GitHub account & folowed the steps above to no avail.


(Rick S) #13

I can’t seem to get past step 6. Every time I select Enable GitHub Integration it brings me to an Enable Source Code Control page, requesting I select the link to add SmartThings as a collaborator. When I do that I get a Page 404 error.

Support from GitHub says it’s b/c I don’t have a SmartThingsPublic respository first, so OK, i create one first. I can then add SmartThings as a collaborator per the Enable Source Code Control page but then I can’t move on from there.

Stuck in river city

Rick


(Kevin) #14

If you don’t have a repository is because yon didn’t fork this page
https://github.com/SmartThingsCommunity/SmartThingsPublic19. This is what creates your personal repository then you can add step 9.


(Rick S) #15

I am selecting Fork in the upper right corner. Is there something right after that on the same page to save the repository b/c selecting Fork doesn’t save it

Rick


(Rick S) #16

And when I now select the link you provided, I get error 404 page not found

Rick


(Richard) #17

Thanks Kevin

I’ll try that tomorrow evening

Cheers Richard


(Kevin) #18

That’s strange Rick it sounds like you’ve done everything correct the only other thing I can suggest is to open a support ticket with ST.


(Rick S) #19

Well, got a response back from ST and they said they fixed it on their end and to try it again

The documented process got me a bit further but even after forking the page (that sounded a little dirty) still got the error “The Toy4Rick/SmartThingsPublic repository was not found on GitHub” so I when to GitHub.com and manually created the SmartThingsPublic repository then it all worked from there

I’m GTG now
Rick


(Kevin) #20

Glad to hear it Rick.