This is a plugin for Homebridge that features controls and information about any running Kodi in your network.You can download it via npm.
Feel free to leave any feedback or suggested features here.
In order to use this plugin you have to enable Allow remote control via HTTP in Kodi first.
You can find a detailed tutorial on how to enable the Kodi remote control via HTTP here.
npm install -g homebridge
.npm install -g homebridge-kodi
.By default a lightbulb accessory for controlling the current playback (on/off for Play/Pause and brightness for Seek) and getting information (e.g. in Eve) of the current playing item is exposed. This is the main accessory of this plugin but you can enable additional accessories in the config.
Below is an example for all available parameters and accessories of this plugin.
"platforms": [
{
"platform": "Kodi",
"name": "Kodi",
"host": "192.168.2.100",
"port": "8080",
"username": "kodi",
"password": "kodi",
"polling": 10,
"retrytime": 30,
"debug": true,
"television": {
"controls": {
"menuitems": [
"home",
"settings",
"movies",
"tvshows",
"tv",
"music",
"musicvideos",
"radio",
"games",
"addons",
"pictures",
"videos",
"favorites",
"weather"
]
},
"tv": {
"channels": [
"Das Erste HD",
"ZDF HD",
"RTL",
"SAT.1",
"VOX",
"kabel eins",
"ProSieben",
"RTL II"
]
}
},
"player": {
"main": true,
"play": true,
"pause": true,
"stop": true
},
"application": {
"volume": true
},
"videolibrary": {
"scan": true,
"clean": true
},
"audiolibrary": {
"scan": true,
"clean": true
},
"commands": [
{
"name": "Play Star Wars",
"interval": 500,
"sequence": [
"home",
"pageup",
"up",
"right",
"right",
"select",
"select",
"sendtext:star wars",
"select",
"select",
"select"
]
},
{
"name": "Open YouTube Add-on",
"interval": 500,
"sequence": [
"home",
"pageup",
"up",
"right",
"right",
"select",
"down",
"select",
"sendtext:youtube",
"select",
"select"
]
},
{
"name": "Next Chapter",
"interval": 500,
"sequence": [
"executeaction:chapterorbigstepforward"
]
}
]
}
]
name
is the name of the prefix that is used for all accessories, optional, default "Kodi"host
is the IP address or hostname of the Kodi instance, optional, default "localhost"port
is the port set for the Kodi remote control via HTTP, optional, default "8080"username
is the username set for the Kodi remote control via HTTP, optional, default "kodi"password
is the password set for the Kodi remote control via HTTP, optional, default "kodi"polling
is the polling rate in seconds for updating all accessories when playing, optional, default 10retrytime
is the time in seconds to retry when Kodi is stopped or not found, optional, default 30debug
enables Logger for all events and status updates, optional, default falsetelevision
> controls
is a TV accessory for changing the current menu in Kodi, is automatically active when Kodi is running and also enables remote control in iOS/iPadOS for controlling the Kodi GUI, optional, default falsetelevision
> controls
> menuitems
is an array of menu items that can be opened in Kodi. See example config for all available menu itemstelevision
> tv
is a TV accessory for watching TV in Kodi, is active when a TV channel is playing and also enables remote control in iOS/iPadOS for controlling the Kodi GUI, optional, default falsetelevision
> tv
> channels
is an array of TV channels that can be switched to in Kodi. Channel names must be exactly the same as in Kodi for them to workplayer
> main
is the main lightbulb accessory of this plugin for controlling the playback in Kodi, shows extra information of the playing item in Eve, optional, default trueplayer
> play
is an alternative switch for controlling the playback in Kodi, optional, default falseplayer
> pause
is a switch for pausing the current playback in Kodi, optional, default falseplayer
> stop
is a switch for stopping the current playback in Kodi, optional, default falseapplication
> volume
is a light bulb for controlling the volume in Kodi and controlling the current volume via a brightness slider, optional, default falsevideolibrary
> scan
is a switch for starting a video library scan in Kodi, optional, default falsevideolibrary
> clean
is a switch for starting a video library clean in Kodi, optional, default falseaudiolibrary
> scan
is a switch for starting a audio library scan in Kodi, optional, default falseaudiolibrary
> clean
is a switch for starting a audio library clean in Kodi, optional, default falsecommands
is a list of switches for user defined sequences of commands sent to Kodi, optionalcommands
> name
is the name of the switch for the user defined sequence of commandscommands
> interval
is the number of milliseconds between each command to wait, optional, default 500commands
> sequence
is the sequence of commands sent to Kodi as list, see supported commands belowA variety of commands are supported: First and foremost all available inputs in Kodi and all actions that can be executed.
Here is a list of all supported commands to date and how to use them:
Command | What does it do and how to use it? |
---|---|
home | Goes to home window in GUI |
down | Navigate down in GUI |
up | Navigate up in GUI |
left | Navigate left in GUI |
right | Navigate right in GUI |
select | Select current item in GUI |
back | Goes back in GUI |
info | Shows the information dialog |
contextmenu | Shows the context menu |
showcodec | Show codec information of the playing item |
showosd | Show the on-screen display for the current player |
sendtext | Send a generic (unicode) text. Just add the text you want to send, e.g. "sendtext:Game of Thrones" |
executeaction | Execute a specific action Just add the action you want to perform, e.g. "executeaction:smallstepback". You can find all the possible actions here (Expand JSON Schema Description under 6.10.1). |
Many thanks go to
本帖最后由 whchengcai 于 2015-1-13 06:03 编辑 【该教程为本人原创,转载请注明教程作者】 XBMC改名为Kodi了,IOS系统,Cydia源地址也同样发生了变化,新的源是: http://mirrors.kodi.tv/apt/ios/ 先了解一下几点知识: 教程中的各项操作,默认起始点都是“主界面”或“各分类菜单(视频、音乐、设置——插件等等)的默认界面” 主界面:
软件的安装 我的电视是创维电视,默认是不能安装外部软件的。可以在电视端开启 ADB,在电脑上提前下载好App,然后通过 adb install xxx.apk 进行安装。 当贝软件是不能直接安装的, 一定要记得到官方下载和安装 创维电视版本。 这样再进入当贝软件,就可以下载很多额外的App了 通过当贝市场下载的KODI 默认版本是 19., 不知道为什么打开视频的时候特别卡,听从网友建议,在当贝市
kodi可以作为电视盒子还可以接收投影看视频很方便 和raspberry pi是绝配 首先 sudo apt-get update sudp apt-get install kodi kodi-standalone
~/kodi/kodi-android# make apk Copying kodi binary to /home/yxt/xbmc-depends/arm-linux-androideabi-android-17/lib/kodi/ Copying support and legal files... D
Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。
homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support
homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A
homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r
Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg
Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r
This Plugin is no longer being maintained. The ST platform removed all of the greatness that made it fun to develop for and I will not rewrite my years of code to adapt. I have moved to Hubitat and al
Homebridge myQ myQ garage door and other myQ-enabled device support for Homebridge. homebridge-myq is a Homebridge plugin that makes myQ-enabled devices available to Apple's HomeKit smart home platfor