Makes sense. I am used to configuring the device information via the plugin if it is designed to control something specific. However, in this case with multiple Hub's, I totally get the process flow now. I've made a lot of progress and do have functionality working, but have noticed some interesting things in the log about the API throttling. Here is a snapshot of the start of the plugin, where it appears to discover my activities, etc....
- Code: Select all
Starting plugin "Harmony Hub 0.2.8" (pid 53606)
Harmony Hub Debug Debugging enabled
Started plugin "Harmony Hub 0.2.8"
Harmony Hub Starting Harmony Hub
Harmony Hub Debug Plugin version detected: 0.2.8
Harmony Hub Debug Current version is: 0.2.8
Harmony Hub Debug Getting latest release from FlyingDiver/Indigo-Harmony...
Harmony Hub Debug GET /repos/FlyingDiver/Indigo-Harmony/releases/latest
Harmony Hub Debug HTTP 200 OK
Harmony Hub Debug Latest release is: 0.2.8
Harmony Hub Debug Called deviceStartComm(self, device): HarmonyHub (987261114)
Harmony Hub Debug HarmonyHub: Device Current Version = 0
Harmony Hub Debug HarmonyHub: Device Version is up to date
Harmony Hub Debug HarmonyHub: Starting harmonyHub device (987261114)
Harmony Hub Debug HarmonyHub: Waiting for client.uuid
Harmony Hub Debug HarmonyHub: Waiting for client.sessionstarted
Harmony Hub Debug HarmonyHub: Activity: Play Wii (21925690)
Harmony Hub Debug HarmonyHub: Activity: Watch DVD (21925691)
Harmony Hub Debug HarmonyHub: Activity: Watch TV (21925693)
Harmony Hub Debug HarmonyHub: Activity: AppleTV (21925694)
Harmony Hub Debug HarmonyHub: Activity: Play Xbox (21925689)
Harmony Hub Debug HarmonyHub: Activity: Listen to Radio (21925692)
Harmony Hub Debug HarmonyHub: current_activity_id = 21925693
Harmony Hub Debug Plugin version detected: 0.2.8
Harmony Hub Debug Current version is: 0.2.8
Harmony Hub Debug Getting latest release from FlyingDiver/Indigo-Harmony...
Harmony Hub Debug GET /repos/FlyingDiver/Indigo-Harmony/releases/latest
Harmony Hub Debug HTTP 200 OK
Then, I get a constant repeat of the following at a fairly rapid rate:- Code: Select all
Harmony Hub Debug Latest release is: 0.2.8
Harmony Hub Debug Plugin version detected: 0.2.8
Harmony Hub Debug Current version is: 0.2.8
Harmony Hub Debug Getting latest release from FlyingDiver/Indigo-Harmony...
Harmony Hub Debug GET /repos/FlyingDiver/Indigo-Harmony/releases/latest
Harmony Hub Debug HTTP 200 OK
Until this starts happening, again constant repeating. Ive replace my public IP with the XX.XX.XXX.XXX - Code: Select all
Harmony Hub Debug Latest release is: 0.2.8
Harmony Hub Debug Plugin version detected: 0.2.8
Harmony Hub Debug Current version is: 0.2.8
Harmony Hub Debug Getting latest release from FlyingDiver/Indigo-Harmony...
Harmony Hub Debug GET /repos/FlyingDiver/Indigo-Harmony/releases/latest
Harmony Hub Debug HTTP 403 Forbidden
Harmony Hub Error API rate limit exceeded for XX.XX.XXX.XXX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Harmony Hub Debug No release available
Im not sure of the flow, so is this throttling and rejection something Logitech/Harmony is doing, or is this somewhere else in the chain?
Thanks again for a cool app. Ive added this to a few basic action groups associated with my Echo voice commands. It makes leaving the house very nice when I can power the entertainment system down as part of a voice command.
Thanks,
James