rkokkelk / com.jreenen.homeyharmonyhub

Harmony hub support for Homey
GNU General Public License v2.0
8 stars 9 forks source link

Activity stays on default "TV Kijken" #92

Closed RolfvanderKwaak closed 10 months ago

RolfvanderKwaak commented 3 years ago

Hi,

First compliments to this wonderful homey app, many thank!!

Now my issue; When I compare an Activity with hub/activity it is always not true only works "yes" on "TV Kijken".

Where? I set up a flow

  1. Select Harmony Hub - Activiteit gestart (of Activiteit wordt gestart / ook geprobeerd)
  2. Activiteit is gelijk aan (activiteit) , hub, PowerOff
  3. the actual action (eg. a logical operator)

When I select the tag "Activiteit" in step 2 it is only suggesting (or showing?) TV Kijken. In step 2 I can select the actual Activities as defined in the Harmony Hub. With testing it shows "Tv Kijken"

What I expect that the tag "Activiteit" will be populated with the real value of the current activity present in Harmony Hub.

What is working:

The activity buttons (PowerOff, Radio, Ziggo) are having the right status. PowerOff is "On" when the power is off. All other activities are 'Off" / greyed out. When I click "Radio" it really works and the button is flipped on and PowerOff goes off.

Last version of Homey Pro 4.2.0 and your app 2.0.7

Any help here possible? Or am I doing something wrong? Thanks, Rolf Screenshot_20201126-150405_Homey Screenshot_20201126-150341_Homey Screenshot_20201126-150104_Homey Screenshot_20201126-150101_Homey Screenshot_20201126-150053_Homey

Screenshots attached

RolfvanderKwaak commented 3 years ago

The thing here is; when you change your activity - the changing is triggering Homey. So the homey app notices a starting activity. Only the activity itself (the content of the variable when you evaluate it) stays or reverts back to the "default one" TV Kijken.

Eg. starting Radio is seen: image

But the status, when you evaluate the Harmony Hub activity, remains TV Kijken.

I have now created Homey logical expressions to pin down which activity is started. "T start" is triggered by device denon (powerchange) and by the Harmony activity. For now I know which activity is active so I can start from here with fine tuning that activity. At this stage I only set a textual variable but I will change this in the future to what I need to adjust;

image

Example of one flow: image

RolfvanderKwaak commented 10 months ago

No more harmony here