Control and react to event changes from Kodi (formerly XBMC), your favorite media center software.
Unlike other Kodi implementations seen on the SmartThings platform, this solution works completely within SmartThings and does not require any additional plugins or middleware tools.
There are two components needed for the Kodi integration to work.
- SmartApp - used for discovery of the Kodi instances on your network and creation of the Kodi devices in SmartThings
- Device Type - the actual code used to control and react to changes from your Kodi devices
You must publish both the SmartApp and Device Type in the SmartThings IDE for everything to work properly.
Option 1: GitHub Integration
The best way to get updates for Kodi for SmartThings is to enable GitHub integration and add my repository. If you don't know what GitHub is, see the Manual Install method below:
- Open the IDE and navigate to
My SmartApps
orMy Device Handlers
- Select
Settings
- Select Add new repository`
- Enter the following details:
Owner:iamcanadian2222
Name:ST-Kodi
Branch:master
Now whenever you need to update to the latest version, you can choose ↓ Update from Repo
, select ST-Kodi
and get your updates.
Option 2: Manual Install
While using the GitHub integration is the recommended method for installing the Kodi SmartApp, you can also install the SmartApp and Device type manually.
Follow the instructions from the ThingsThatAreSmart.wiki on how to install a custom device type and SmartApp.
Configure Kodi
Enable the Web Server and UPnP in Kodi.
- In Kodi, open
System
(Settings) - Navigate down to
Services
- From the
UPnP
tab, selectAllow remote control via UPnP
- From the
Web server
tab, selectAllow remote control via HTTP
Install the SmartApp
From the SmartThings mobile app:
- Select
Marketplace
from the bottom navigation - Select the
SmartApps
tab - Scoll down and select the
My Apps
category - Select the
Kodi (formerly XBMC)
SmartApp - Wait for the discovery to complete, then select your Kodi instances and tap
Done
- Tap
Done
again to complete the setup and beging using your devices
Note: If you have a username and password set for your Kodi instance, open the device from the My Home
→Things
screen in SmartThings, selected Edit Device
from the menu and ensure you have entered a username and password.