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

Set angle for Dyson TP09 #73

Open
amzaldua opened this issue Oct 10, 2023 · 9 comments
Open

Set angle for Dyson TP09 #73

amzaldua opened this issue Oct 10, 2023 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@amzaldua
Copy link

amzaldua commented Oct 10, 2023

Hello,

In version 2023.10.1 of HassIO, my Dyson TP09 integration works properly. However, I cannot set the oscillation angle. The available oscillation modes for my model are: off, 45, 90, 180 and 350 degrees.

Captura de pantalla 2023-10-10 a las 11 52 50 IMG_3578

Regards,

@almostserious
Copy link

Same for TP04.I wonder if these are new API calls that have not yet been implemented, or if it's not opened by Dyson. You can also manually set the direction where the fan should blow in the app.

@dotvezz
Copy link
Member

dotvezz commented Oct 25, 2023

It's probably possible to control the oscillation angle over MQTT! This integration is currently limited in support for this feature, but I'll do some investigation into the feasibility of adding angle control with my HP04 and HP07, then report back here with my findings.

@dotvezz
Copy link
Member

dotvezz commented Oct 25, 2023

Alright, that didn't take too long at all. As far as we're concerned with messages to the fan devices, this is already fully supported by libdyson-neon. We can set the oscillation range, and even set it to point in an arbitrary angle. Where this integration is limited is actually on the Home Assistant side of things. We're a bit limited by the fan entity itself, which only supports oscillation as a binary on/off feature.

But being able to set the angle is both really cool and really useful, so I'll try to work out a reasonably ergonomic that lets us do it.

EDIT: Oh, it seems Shen already thought of this to some degree: There is a set_angle service exposed by the integration that you can use in automations. It's something even though it's not easy to use. I'll keep thinking on an ergonomic solution.

@dotvezz dotvezz self-assigned this Oct 25, 2023
@dotvezz dotvezz added the enhancement New feature or request label Oct 25, 2023
@almostserious
Copy link

almostserious commented Oct 28, 2023

Do you have an example on how to actually use it? I always just get errors when using it: Failed to call service dyson_local.set_angle. Unknown error

If the service call works, i could imagine a custom UI element similar to how it works in the Dyson App, that just takes the amount of degrees and puts it into a service call.

Nevermind, saw in the log that it only works between 5 and 355. 180 corresponds to the Dyson Logo on the Front.
Angle_High must be either equal or minimum 30 higher than angle_low.
I can work with that with some automations.

@Silther
Copy link
Contributor

Silther commented Nov 17, 2023

We're a bit limited by the fan entity itself, which only supports oscillation as a binary on/off feature.

The best option is currently a drop down menu.

Screenshot_20231117_113119_Home Assistant.png

Some integrations use a numeric entity, but that doen't work great.

@mattdevo1
Copy link

We're a bit limited by the fan entity itself, which only supports oscillation as a binary on/off feature.

The best option is currently a drop down menu.

Screenshot_20231117_113119_Home Assistant.png

Some integrations use a numeric entity, but that doen't work great.

This would be awesome.

Any thoughts on whether this could be added @dotvezz ?

@rexii2300
Copy link

I would love to see this as well @dotvezz! My use case is when I sleep, I wish to angle it at a particular angle so it creates air movement close to me but not directly at me.

@runningbird2
Copy link

The BP04/3 would also benefit from this option as it has an airflow angle setting. This probably doesn't need to be in a separate HA option to the oscillation angle if it uses the same API option within Dyson.

@RAiDX0r
Copy link

RAiDX0r commented Dec 8, 2024

We're a bit limited by the fan entity itself, which only supports oscillation as a binary on/off feature.

The best option is currently a drop down menu.

Screenshot_20231117_113119_Home Assistant.png

Some integrations use a numeric entity, but that doen't work great.

I have an HP04. How do I add in this [set_angle] attribute to my fan control entity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants