Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ${intensity.percent} with Harmony Hub #416

Closed
raleph opened this issue Jan 28, 2017 · 8 comments
Closed

Use ${intensity.percent} with Harmony Hub #416

raleph opened this issue Jan 28, 2017 · 8 comments

Comments

@raleph
Copy link

raleph commented Jan 28, 2017

It would be great to be able to use ${intensity.percent} with Harmony Hub buttons.
I have buttons like "Ventilator 1", "Ventilator 2", etc. in the hub to kind of "dim" my fan.
When I set up a ON command in HA-bridge like

[{"device":"123456","button":"Ventilator 1"}]

it works fine.
But when I set up a dim command using

[{"device":"123456","button":"Ventilator ${intensity.percent}"}]

I get error Failed communicating with Harmony Hub in the logs. It looks like ${intensity.percent} does not get replaced by the respective value.
Am I doing something wrong here or is this just not implemented (yet)?

@bwssytems
Copy link
Owner

Currently, the ${intensity variables are not used in the harmony items as they seemed to be pretty static. Yet you found a way to use that! The use case though is when you say 'Alexa, set ventilator to 2' and that would pick the correct one. Is this what you are after?

@raleph
Copy link
Author

raleph commented Jan 29, 2017

By saying 'Alexa, set ventilator to 2' I intend to initiate button "Ventilator 2" thus choosing intensity level 2 of of my fan.

@bwssytems
Copy link
Owner

But, this doesn't seem much different than "Alexa, turn on ventilator 2"

@raleph
Copy link
Author

raleph commented Jan 30, 2017

Sorry, there might be a misunderstanding. I have just one fan.
The fan can be set to three levels of intensity by pressing button 1, 2 or 3 on it's remote. I have set up the three buttons in Harmony and would like to call them via the ${intensity.percent} variable as described above.
The same approach could be used to switch channels 1-9 on a tv for example.

@bwssytems
Copy link
Owner

Ok, I understand now. But, you could have the name of the device as Ventilator Level Two and that would be Alexa, Turn on Ventilator Level 2

@kf-nz
Copy link

kf-nz commented Feb 21, 2017

If at all possible, I'd like to second this as a feature request - was actually just going to make my own thread before I glanced through the history.

My use case is similar - I have a Fujitsu split system in my Harmony Hub that doesn't return state requests. So I've created buttons spanning 18 - 30 representing degrees Celsius.

It'd be great to have this functionality as a dim setting so I don't have to build a button the Echo can see, but rather can just select the temperature.

I've done similar using the emulated_hue component in HASS which I'm hoping to replace with ha-bridge.

@bwssytems
Copy link
Owner

So I assume this is something you would want on a device level and not an activity?

@raleph
Copy link
Author

raleph commented Mar 9, 2017 via email

@bwssytems bwssytems added this to the v4.3.0 milestone Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants