README
Homebridge MCA-66 Plugin
Homebridge plugin for controlling HTD MCA-66 whole home audio controller. Currently, this only allows toggling zones on and off from within the Home app. I plan on updating to add volume control as well.
Installation
Requires homebridge
and net
npm -g install homebridge-htd-mca66
Configuration
- Find the IP and port number of your HTD GW-SL1 Gateway and enter it in the configuration, like below.
- For each zone you want to control, find the
ON
andOFF
codes from this document and find thezone status
code from [this document](Docs/HTD MC Feedback and Queries.docx). - For each of the codes from step 2, you need to base 64 encode them before putting them into the config. Use the included
base64_encoder.js
file for encoding the HEX codes from the documents to base 64.- Open the
base64_encoder.js
file and replace thecommand
variable with the HEX code from the documents. - From the command line, run
node base64_encoder.js
and copy the base 64 output to the command section of the configuration, like the sample below.
- Open the
- Enter the actual zone number in the
zone
config option. - Save the config, restart Homebridge and enjoy!
Sample config JSON
{
"platform": "MCA66Platform",
"name": "MCA-66",
"host": "10.0.1.217",
"port": "10006",
"debug": false,
"zones": [
{
"name": "Zone 1",
"zone": "1",
"commands": {
"on": "AgABBCAn",
"off": "AgABBCEo"
},
"status_command": "AgABBgAJ"
},
{
"name": "Zone 2",
"zone": "2",
"commands": {
"on": "AgACBCAo",
"off": "AgACBCEp"
},
"status_command": "AgACBgAK"
}
]
}