Start adding components to handle multiple harmony hubs.

This commit is contained in:
Admin
2015-11-24 14:27:21 -06:00
parent aff0f8d64c
commit 1e7bdc560b
9 changed files with 70 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ public class HarmonyServer {
log.info(format("activity changed: [%d] %s", activity.getId(), activity.getLabel()));
}
});
harmonyClient.connect(mySettings.getHarmonyAddress(), mySettings.getHarmonyUser(), mySettings.getHarmonyPwd());
harmonyClient.connect(mySettings.getHarmonyAddress().getDevices().get(0).getIp(), mySettings.getHarmonyUser(), mySettings.getHarmonyPwd());
}
myHarmony = new HarmonyHandler(harmonyClient, noopCalls, devResponse);
}