在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lzilioli/plex-bridge-homebridge-http-webhooks开源软件地址:https://github.com/lzilioli/plex-bridge-homebridge-http-webhooks开源编程语言:JavaScript 100.0%开源软件介绍:plex-bridge-homebridge-http-webhooksARCHIVEDThis repo's intended purpose has been met by homebridge-plex-sensors. I recommend it in place of this package. The code here is still a decent starting point if you want to map a plex webhook to some other form of web request, but it is not super useful in its current state. Getting StartedIn order to run this app:
ConfigsIn "platforms": [
{
"platform": "HttpWebHooks",
"webhook_port": "51828",
"sensors": [
{
"id": "plexContact",
"name": "Plex Webhook Contact Sensor",
"type": "contact"
}
]
}
] First runThis script filters for a specific player before hitting the homebridge webhook. To determine the player:
DEBUG=plex*\
ACCESSORY=plexContact\
PLEX_WEBHOOK_PORT=12000\
HB_WEBHOOK_URL=http://localhost:51828/\
node index.js
RunNow run the script with the DEBUG=plex*\
ACCESSORY=plexContact\
PLEX_WEBHOOK_PORT=12000\
HB_WEBHOOK_URL=http://localhost:51828/\
PLAYER=<PLAYER_UUID>\
node index.js From now on, when you toggle the plex play state from the Thanks to plexinc/webhooks-home-automation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论