FAQ: Github Integration How to Add and Update from Repositories [OBSOLETE]

Bueller??? Bueller??

1 Like

Hi all

i have managed to successfully link my smartthings and github. But being new to all this,i still have some very basic questions:

  • Once you’ve gone to device handlers/settings/add new repository, where do you get the neccesary info to add it?
  • What does it mean to ‘fork’ something?

When you add a new repository there are usually 3 bits of info you need to fill in…


You usually get these from the developer that offers his/her software

Actually adding the specific software to your account is talked about here:

I can’t find the “Enable GitHub Integration” link :confused: Any hints? Its not under “My device handlers”

I think this is broken :frowning:

It’s not broken. If you are in the UK, GitHub is not officially supported, but you can enable it through a different process. Since you were very vague in your post, I’m just guessing this is your issue.

Having a hard time linking to EventGhost repository, what I am doing wrong?
Below is a link to the Gibhub:

I am going to Settings > Add new repository > aderusha (owner) > SmartThings (name) > master (Branch)
Then when I go to Update from Repo, nothing is there.
I’ve done this before, IO have a few SmartApps linked such as webCoRE.

I have seen the happen if the folders “devicetypes” and “smartapps” aren’t defined underneath “master” in GitHub. For now you will have to manually update code.

kinda working now i dont see any accessories :frowning:

I’m not quite sure what you mean. Accessories?

Can you give a little more detailed information in what you are expecting to see, versus what you are seeing?

Screenshots help to understand more. :slightly_smiling_face:

followed the steps and seems that homebridge is working and running in the raspberry pi, added the home bridge to homekit but in the apple homekit app don’t see any accessories like switches that i have in the smartthings hub

My reply to you was simply for being able to enable GitHub functionality / accessibility in the UK. That’s all that was for.

That sounds like a totally unrelated issue to this thread. I would post this new issue in the appropriate thread related to Apple Homekit.

Hi. I see how to turn off and delete my github integration from the IDE, but how to I return my smartthings hub to “stock” code? I’ve removed my github integration and removed all custom smartapps, handlers, etc.

Thanks for any help.

It would appear that Github integration is only available if you are in the US!!!?!?!?!!

The IDE documentation states:


Before proceeding to enable GitHub integration in the IDE, be aware that:

GitHub IDE integration is not supported outside the US.

Basically, it appears if you are not in US, no one wants your custom! I do not get the option to enable Github integration.

A quick search in the community “Github UK” would have brought you to this:


Thank you for that. That will teach me for looking at the documentation.

1 Like

ok so digging up this post two years later.

I added the repository info as shown here:

but when I click the device box, click the publish box, and then ‘Execute’ button I get this:

How do I figure out what is wrong? I’m the owner not sure how to troubleshoot this…
but code works fine with the copy/paste method

The repository structure doesn’t look right. The device-name.groovy file is normally in a devicetypes/namespace/device-name.src folder. The structure has to be correct and match the definition() in the handler.

I usually start from the IDE and commit the changes to the repository to create the structure.

1 Like

Made the following change on the GitHub structure side of things:

Saw the change on the Smartthings ide:

Shows this:

Interesting…received 500 error now:

It’s almost there…it’s ok to explain/dumb down the steps even more, this is new stuff: what am I missing?

Did this the second go around from IDE to GitHub (first time ever doing this, always use the copy/paste method)…and the device handler and service commit are now there:

I’ll do some quick test to confirm it’s all good now…