在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:DeutscheMark/homebridge-kodi开源软件地址:https://github.com/DeutscheMark/homebridge-kodi开源编程语言:TypeScript 100.0%开源软件介绍:Homebridge Kodihomebridge-kodiKodi with HomeKit and HomebridgeControlThis 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. Features
Kodi PreparationsIn 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. Installation
ConfigurationBy 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. Example ConfigBelow 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"
]
}
]
}
] Settings
Supported CommandsA 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:
Known Problems
ContributorsMany thanks go to
Attribution
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论