-
Notifications
You must be signed in to change notification settings - Fork 28
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
Comments
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. |
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. |
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 |
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. |
This would be awesome. Any thoughts on whether this could be added @dotvezz ? |
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. |
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. |
I have an HP04. How do I add in this [set_angle] attribute to my fan control entity? |
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.
Regards,
The text was updated successfully, but these errors were encountered: