Strange behavior Harmony Plugin

Posted on
Sun May 07, 2017 10:17 am
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Strange behavior Harmony Plugin

I have a Harmony Activity "TV Kijken" (is watchingTV) when it is started normaly I can use an actiongroup in Indigo to stop this harmony activity fine. I do this with "Power off Harmony Activity" as I see a starting Activity in the menu but not a Stop Activity. But I think I am doing this right.


Now when the TV Activity "TV Kijken" is Off but somebody uses the indigo Actiongroup "Power off Harmony Activity" I get the following:

- for some reason the Harmony puts my Sanyo beamer/projector on
- in the indigo UI the actiongroup "TV Kijken Uit" is selected and therefore blue but when I click the "Execute All" button the indigo selection of the selected actiongroup runs 4 to 5 actiongroups up and selects a totaly other actiongroup. I also hear 4 to 5 Mac Mini bleeps. So it triggers a Mac Ui action

Hope I have explained it in a way you can understand it but if you need more info on this problem let me know. It seems when Activity is 0 and you still do a "Power off Harmony Activity" it gets confused.

This is some log messages:


Action Group TV Kijken Uit
Harmony Hub Debug Harmony Hub Woonkamer: Power Off
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event state notify, activityId = -1, activityStatus = 0
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 1, total = 22, deviceId = 40644165, isHelpDiscretes = 40644165
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 2, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 3, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 4, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 5, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 6, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 7, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 8, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 9, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 10, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 11, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 12, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 13, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 14, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 15, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 16, total = 22, deviceId = 40786170, isHelpDiscretes = 40786170
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 17, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 18, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 19, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 20, total = 22, deviceId = 40644164, isHelpDiscretes = 40644164
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 21, total = 22, deviceId = 40644161, isHelpDiscretes = 40644161
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 22, total = 22, deviceId = 40644162, isHelpDiscretes = 40644162
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, deviceId = -1

Posted on
Mon May 08, 2017 2:33 pm
FlyingDiver offline
Posts: 3436
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Strange behavior Harmony Plugin

In the Harmony world, there's no such thing as "stopping" an activity. You can switch (start) another activity, or you can tell the Harmony to shut everything down (to the Power Off state).

What command(s) does the "Power off Harmony Activity" actually send? Just the top level "Power Off" command?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun May 14, 2017 4:33 am
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Strange behavior Harmony Plugin

Ok thanks. Than I have used the right command but with a strange result.

Indeed I use the top level command Power Off. Hope this helps and thanks in looking in to the issue

Posted on
Sun May 14, 2017 5:42 am
FlyingDiver offline
Posts: 3436
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Strange behavior Harmony Plugin

Albatros wrote:
I have a Harmony Activity "TV Kijken" (is watchingTV) when it is started normaly I can use an actiongroup in Indigo to stop this harmony activity fine. I do this with "Power off Harmony Activity" as I see a starting Activity in the menu but not a Stop Activity. But I think I am doing this right.


Yes, using the "Power Off" activity is the correct way to turn off the system from any Activity.

Albatros wrote:
Now when the TV Activity "TV Kijken" is Off but somebody uses the indigo Actiongroup "Power off Harmony Activity" I get the following:


Just to be precise, your "TV Kijken" activity is not really "off". Activities do not have an off state. The entire system (hub) is Off.

Does this behavior only happen when "TV Kijken" is the last activity before the system is turned off? How many different Activities do you have programmed into the Harmony Hub?

Albatros wrote:

- for some reason the Harmony puts my Sanyo beamer/projector on


The projector being turned on sound like the Hub thinks it's using a "power off" command but it's actually using a "power toggle" command.

Albatros wrote:

- in the indigo UI the actiongroup "TV Kijken Uit" is selected and therefore blue but when I click the "Execute All" button the indigo selection of the selected actiongroup runs 4 to 5 actiongroups up and selects a totaly other actiongroup. I also hear 4 to 5 Mac Mini bleeps. So it triggers a Mac Ui action


This is definitely not a plugin issue. There's no way the plugin can cause the Indigo client to do something like that. It sounds the Hub is sending commands to the Mac itself, which can only be caused by bad activity programming.

Albatros wrote:

Action Group TV Kijken Uit
Harmony Hub Debug Harmony Hub Woonkamer: Power Off


That's all I would really expect to see when you use an action group to send that specific command.

Albatros wrote:
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event state notify, activityId = -1, activityStatus = 0
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 1, total = 22, deviceId = 40644165, isHelpDiscretes = 40644165
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 2, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 3, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 4, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 5, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 6, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 7, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 8, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 9, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 10, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 11, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 12, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 13, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 14, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 15, total = 22, deviceId = 44169842, isHelpDiscretes = 44169842
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 16, total = 22, deviceId = 40786170, isHelpDiscretes = 40786170
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 17, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 18, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 19, total = 22, deviceId = 40644166, isHelpDiscretes = 40644166
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 20, total = 22, deviceId = 40644164, isHelpDiscretes = 40644164
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 21, total = 22, deviceId = 40644161, isHelpDiscretes = 40644161
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, done = 22, total = 22, deviceId = 40644162, isHelpDiscretes = 40644162
Harmony Hub Debug Harmony Hub Woonkamer: messageHandler: Event helpdiscretes, deviceId = -1


I see these messages very rarely. It's not something the plugin is doing. I think it's the hub sending discrete device commands to specific devices to try to get them all into a known state. In this case, it's running through the list of commands it thinks it needs to send to turn everything off. Unfortunately, it only shows the device it's sending the command to (Harmony Hub device numbers, not Indigo device numbers). That's causing the projector to toggle (see note above) and also the Mac to do weird things (assuming the hub is configured to control the Mac).

What Harmony remote are you using with the hub? What happens when you use the remote to turn the system off when it's already off?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest