libdyson-wg / ha-dyson

Home Assistant custom integration for Wi-Fi connected Dyson devices
MIT License
224 stars 26 forks source link

TP04 - Oscillation control turns on the device #68

Open amassivewalrus opened 1 year ago

amassivewalrus commented 1 year ago

Hoping this is a simple one

I noticed that the device would turn on every time I accessed the 'more info' panel of the fan entity in HA.

Upon further troubleshooting I found that this was because of the oscillation toggle being on. If the oscillation is toggled off, the fan stays off when viewing the entity which is ideal for my setup, where I use 'more info' cards for my media player and dyson fan.

I don't think I have I missed a setting somewhere, it appears to be some kind of out of order logic processing fault. I should be able to keep oscillation toggled on without the fan turning on when viewing the entity.

If this can't be replicated please let me know if you need any more info, and thanks so much for working on this project.

dotvezz commented 1 year ago

Well this is a funky one! I will try to replicate this as well. To be extra thorough, would you be willing to share what device you have? That may (or may not) help me to replicate things on my side.

amassivewalrus commented 1 year ago

That would be the Pure Cool TP04 model

dotvezz commented 1 year ago

Awesome, I have one of those too! Will report back here later if I can find answers.

dotvezz commented 1 year ago

Ah, just so I don't accidentally go barking up the wrong tree, when you say "'more info' panel" are you referring to this view?

image

amassivewalrus commented 1 year ago

That's the one. Mine looks slightly different (aside my censoring the crude name we have for it)

image

dotvezz commented 1 year ago

So I've learned a few things:

  1. You specified TP04 in the issue description and then I went and asked you for your device anyway, that's my fault for being blind - sorry!
  2. The device in my home which I thought was a TP04 is actually a TP02.
  3. I'm not able to reproduce this behavior on my TP02.
  4. I am able to reproduce this behavior on my HP04.

I'll keep digging into it, but it might actually just be a bug/quirk of the xP04 firmware.

x3n0n10 commented 11 months ago

This is also happening with my TP07. While the fan is off, going to the device overview page and opening the 'Dyson Purifier Cool' control, it turns on the fan. The logbook shows the according message: 'Dyson Purifier Cool™ turned on triggered by service Fan: Oscillate'. It only happens when Oscillate was turned on before though. If it wasn't enabled in the first place, the fan doesn't turn on when you open the control.