在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mmende/homebridge-samsungtv-control2开源软件地址:https://github.com/mmende/homebridge-samsungtv-control2开源编程语言:TypeScript 99.7%开源软件介绍:Homebridge-SamsungTV-ControlThis plugin adds Samsung TV's available in your local network to homebridge. InstallationJust install the plugin in the config-ui-x plugin tab or with The plugin parses the model number of the Samsung TV extract specific info about the model. The plugin currently parses model numbers from 2018 through 2020. Customize devicesAfter you started homebridge you should see the device names with their usn in the homebridge log. To customize a device, add an object with the usn (including {
"platform": "SamsungTVControl",
"devices": [
{
"usn": "uuid:a7001fbe-c776-11ea-87d0-0242ac130003",
"name": "Bedroom TV"
}
]
} PairingYounger TV's (2014+) might require being paired before the plugin is able to remote control them. The plugin comes with a command line utility that among other things can run the pairing procecure and give you a token you then add to the configuration. If pairing is required and you didn't add the token to your configuration yet, have a look at the homebridge logs to see the possible commands to pair your tv. The pairing commands look like this
For pair2 you can also try port 8001 like
When the script finished pairing it tries to send the mute key to your tv for you to be able to check if it worked. If you didn't observe mute being toggled on your TV you might try the other commands. {
"platform": "SamsungTVControl",
"devices": [
{
"usn": "uuid:a7001fbe-c776-11ea-87d0-0242ac130003",
"token": "eyJzZXNzaW9uSWQiOjQyLCJhZXNLZXkiOiJZb3UgcmVhbGx5IGRlY29kZWQgdGhpcz8g8J+YiSJ9==",
"name": "Bedroom TV"
}
]
} Add TV's to home appThere is a homekit limitation that allows only one TV per bridge. Therefore each TV will be exposed as external accessory and will not show up when only the homebridge-bridge was added. To add each of your Samsung TV's
Turning on a TVSome Samsung TV's (actually all I was able to test) turn off their network card when being turned off completely. Therefore these models cannot be turned on again by this plugin since they are just not reachable over the network. However some newer models might support Wake-on-LAN or WoWLAN which this plugin tries to use to turn your TV back on. Custom inputsBy default only TV will be added as input source which triggers sending the TV key to e.g. get back to the tuner when hdmi was previously selected. The Here is an example: {
"platform": "SamsungTVControl",
"devices": [
{
"usn": "uuid:a7001fbe-c776-11ea-87d0-0242ac130003",
"name": "Bedroom TV",
"inputs": [
{
"name": "HDMI",
"keys": "hdmi"
},
{ "name": "ZDF HD", "keys": "102" },
{
"name": "Sleep 30m",
"keys": "tools,down*3,enter,down,enter,return"
},
{
"name": "Open YouTube",
"keys": "YouTube"
}
]
}
]
}
Note: Unfortunatelly when editing inputs it might be required to remove the tv from homekit and add it again after homebridge restarted for the home app to see the changes. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论