Maddox MQTT has been working great for activities. However, I really wanted to get device control working. Looks like it’s been done just about everywhere else using HarmonyHubControl. I compiled it into raspian and they have precompiles for OS X and others. It was super simple to get working, but to access it you will have to make script calls.
./HarmonyHubControl
Syntax:
HarmonyHubControl [harmony_ip] [command (optional)]
where command can be any of the following:
list_activities
list_activities_raw
get_current_activity_id
get_current_activity_id_raw
start_activity [ID]
list_devices
list_devices_raw
list_device_commands [deviceId]
list_device_commands_raw [deviceId]
issue_device_command [deviceId] [command]
get_config
get_config_raw
./HarmonyHubControl 10.0.1.16 list_devices
LOGITECH WEB SERVICE LOGIN : BYPASSED
HARMONY COMMUNICATION LOGIN : SUCCESS
HARMONY COMMAND SUBMISSION : SUCCESS
PARSE ACTIVITIES AND DEVICES : SUCCESS
Devices Controllable via Harmony :
“Yamaha AV Receiver”:“37313948”,“Vizio TV”:“37313947”,“Apple TV Gen 4”:“37314197”,“Panasonic DVD/Blu-ray player”:“37483620”,“Panasonic Projector”:“37313949”}
./HarmonyHubControl 10.0.1.16 list_device_commands 37313947
LOGITECH WEB SERVICE LOGIN : BYPASSED
HARMONY COMMUNICATION LOGIN : SUCCESS
HARMONY COMMAND SUBMISSION : SUCCESS
PARSE ACTIVITIES AND DEVICES : SUCCESS
Harmony Commands for Device:
“Television”:“Vizio TV”,“ID” :37313947,“Vizio”:“M70-C3”,“Functions”: {
“Power”:[
“PowerOff”,
“PowerOn”,
“PowerToggle”],
“NumericBasic”:[
“Enter”,
“.”,
“-”,
“0”,
“1”,
“2”,
“3”,
“4”,
“5”,
“6”,
“7”,
“8”,
“9”],
“Volume”:[
“Mute”,
“VolumeDown”,
“VolumeUp”],
“Channel”:[
“ChannelPrev”,
“ChannelDown”,
“ChannelUp”],
“NavigationBasic”:[
“DirectionDown”,
“DirectionLeft”,
“DirectionRight”,
“DirectionUp”,
“OK”],
“TransportBasic”:[
“Stop”,
“Play”,
“Rewind”,
“Pause”,
“FastForward”],
“TransportRecording”:[
“Record”],
“NavigationDVD”:[
“Menu”,
“Back”],
“PictureAdjustment”:[
“Pic”],
“NavigationExtended”:[
“Guide”,
“Info”,
“Exit”],
“DisplayMode”:[
“Wide”],
“PictureAdjustment”:[
“Pic”],
“GoogleTVNavigation”:[
“Netflix”],
“Miscellaneous”:[
“Amazon”,
“ClosedCaption”,
“iHeartRadio”,
“InputAv”,
“InputComponent”,
“InputHdmi1”,
“InputHdmi2”,
“InputHdmi3”,
“InputHdmi4”,
“InputHdmi5”,
“InputNext”,
“InputTv”,
“Media”,
“VIA”,
“Vudu”]}}
./HarmonyHubControl 10.0.1.16 issue_device_command 37313947 PowerOff
LOGITECH WEB SERVICE LOGIN : BYPASSED
HARMONY COMMUNICATION LOGIN : SUCCESS
HARMONY COMMAND SUBMISSION : SUCCESS
I don’t think it’s been mentioned here yet so I hope this helps someone else.