Creates a HomeKit TV accessory for a Logitech Harmony-controlled TV
Review the Installation section of the Homebridge README.
npm install -g homebridge-harmony-tv-smockle-temp
-
Find the static IP address of your Harmony Hub. In the plugin configuration, this is the
"host"
value. -
Run
node scripts/hubinfo.js $HOST
to find the unique identifier of your Harmony Hub. In the plugin configuration, this is the"remoteId"
value. -
Run
node scripts/hubinfo.js $HOST $REMOTE_ID
to find the unique identifier of the Harmony Hub-connected TV you want to control. In the plugin configuration, this is the"deviceId"
value. -
Run
node scripts/hubinfo.js $HOST $REMOTE_ID $DEVICE_ID
to find the list of commands supported by your Harmony Hub-connected TV. In the plugin configuration, this is the"commands"
value.
{
"bridge": {
"name": "TV Bridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "SmartHome with Homebridge",
"accessories": [{
"accessory": "HarmonyTV",
"name": "Living Room TV",
"host": "192.168.1.10",
"remoteId": "22571993",
"deviceId": "72306838",
"commands": [{
"action": "{\"command\":\"PowerToggle\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "PowerToggle",
"label": "Power Toggle"
}, {
"action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "VolumeDown",
"label": "Volume Down"
}, {
"action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "VolumeUp",
"label": "Volume Up"
}, {
"action": "{\"command\":\"DirectionDown\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "DirectionDown",
"label": "Direction Down"
}, {
"action": "{\"command\":\"DirectionLeft\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "DirectionLeft",
"label": "Direction Left"
}, {
"action": "{\"command\":\"DirectionRight\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "DirectionRight",
"label": "Direction Right"
}, {
"action": "{\"command\":\"DirectionUp\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "DirectionUp",
"label": "Direction Up"
}, {
"action": "{\"command\":\"Select\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "Select",
"label": "Select"
}, {
"action": "{\"command\":\"Menu\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "Menu",
"label": "Menu"
}, {
"action": "{\"command\":\"InputHdmi1\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "InputHdmi1",
"label": "InputHdmi1"
}, {
"action": "{\"command\":\"InputHdmi2\",\"type\":\"IRCommand\",\"deviceId\":\"72306838\"}",
"name": "InputHdmi2",
"label": "InputHdmi2"
}]
}],
}
Notes:
-
"accessory"
must be"HarmonyTV"
-
"name"
values must be unique