soundoutput is your preferred TV sound output, can be speaker or headphone, default speaker
port is the HTTP port of your TV, default 80
externalaccessory if set the TV will be published as an external accessory to HomeKit
mac is the MAC address of your TV, only set it if you want to use WOL instead of HTTP to wake up the TV, default none
woladdress sets the subnet for WOL, default 255.255.255.255
serverPort sets a different port than 8999 for the web server that allows entering the PIN number from the TV
updaterate interval in milliseconds for TV status updates (on/off etc), default 5000
channelupdaterate interval in milliseconds for updates of the channel/input list, default 30000
Usage
Basic functions
ON/OFF
You can turn your TV on and off through Siri and Apples Home app.
Inputs and Applications
All Channels, Inputs and Applications can be selected in the HomeKit inputs selector
TV Remote
The TV registers as a TV remote device in HomeKit and allows to use basic function keys and set the volume through the Apple Remote app or iOS configuration screen. Use your phones volume knobs to set the TV volume!
TV Speaker
In addition to the iOS remote the plugin also exposes the TV speaker as a HomeKit accessory however only some apps show that accessory type, Apples Home app does not.
Development
If you want new features or improve the plugin, you're very welcome to do so. The projects devDependencies include homebridge and the npm run test command has been adapted so that you can run a test instance of homebridge during development.
Setup
clone github repo
npm install in the project folder
create .homebridge folder in project root
add config.json with appropriate content to .homebridge folder
run npm run test to start the homebridge instance for testing
Notes
Misc
Thanks go out to "lombi" for his sony bravia homebridge plugin, which this plugin is heavily based on.
请发表评论