jghaanstra / com.xiaomi-miio

Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices
GNU General Public License v3.0
456 stars 85 forks source link

Fanspeed is always set to Balanced for S6MaxV #194

Closed xgbcman closed 1 year ago

xgbcman commented 1 year ago

Fanspeed is always set to Balanced when I set any speed with fanspeed card. S6MaxV has five speeds Gentle, Quiet, Balanced, Turbo, Max but whatever I choose it is always changed to Balanced. See screenshot. Screenshot_20230410_152900_Mi Home

jghaanstra commented 1 year ago

This is not for the S6MaxV as that vacuum model only has 4 vacuum power states. Please supply the model number (as in roborock.vacuum.axx).

And even if I know the model number I might not fix this issue. There are dozens of vacuum models out there, each with slightly different config. Supporting every feature for every model is impossible,

xgbcman commented 1 year ago

The model is roborock.vaccum.a10.

I helped Justin Haring a lot to test and debug his app "Roborock" so I understand that it is hard work to support all vaccum models, and it is small donations that hardly cover the time invested.

jghaanstra commented 1 year ago

It get's even weirder in supporting all models. I have the roborock.vacuum.a10 myself but in the Xiaomi Mi Home app it only gives me 4 vacuum speeds. And according to the miio docs this model does only have 4 speeds.

https://home.miot-spec.com/spec/roborock.vacuum.a10 (see mode parameter)

So if you are 100% sure there are models out there with the same model number but with different features. Are you sure this is the correct model?

xgbcman commented 1 year ago

Xiaomi Home app Screenshot_20230410_173848_Mi Home

Label on vaccum 20230410_173759

jghaanstra commented 1 year ago

As I said, weird.

I just release version 3.1.20 which should do a little better job setting the fanspeed. It's probably not perfect but it will probably never be since I need to support other models with other configs as well. Please test and report back here.

xgbcman commented 1 year ago

Thank you for trying but it still same behaviour. It always is changed to Balanced. I choose to not use fanspeed instead.

jghaanstra commented 1 year ago

Thank you for trying but it still same behaviour. It always is changed to Balanced. I choose to not use fanspeed instead.

Could you please send me a diagnostic report from the app settings. Some other users might want to use this feature, so I want to fix it.

xgbcman commented 1 year ago

"84F321D4"

jghaanstra commented 1 year ago

You need to send it from the app settings. These reports from the general Homey settings go to Athom, but not to me as developer.

xgbcman commented 1 year ago

16f707f2-865e-4bd2-a315-35c6aa44301e

Arjan-21 commented 1 year ago

I've now the same problem with my S5Max. After I upgraded my homey pro with the 2023 model (last week), so I don't know which update. In my old homey I had 4 choices for fan speed and now I see 5. That's the only thing that look different. After the update homey didn't remember "silent" and showed me the empty fan card.

maybe this information will help.

jghaanstra commented 1 year ago

Some models have 4 speeds others have 5. I cant adjust the flow card conditionally. Nothing has changed in this part of the app for some time now so I dont know why it broke for you just now.

I did look at the code again and I think I found the issue. Hope it will be fixed with release 3.2.8.

Arjan-21 commented 1 year ago

Thank you!

Arjan-21 commented 1 year ago

Hi Jelger,

I've updated to 3.2.8 and It works great for my roborock! Thank You

Only homey is seeing an error. But for me it's fine if its working!

Scherm­afbeelding 2023-06-09 om 16 31 09
jghaanstra commented 1 year ago

I'll fix that with the next release.

jghaanstra commented 1 year ago

The error should be gone with release 3.2.9.

Arjan-21 commented 1 year ago

For me it works great. Thank you!

xgbcman commented 1 year ago

Great! Well done!

xgbcman commented 1 year ago

Unfortunately the fanspeed problem that was fixed in version 3.2.8 is back. The fanspeed card always results in Balanced fanspeed on S6MaxV.

jghaanstra commented 1 year ago

Since there has not been an update from the app it must be something else. Did you upgrade the firmware is your device? If not, try soft resetting and re-adding it to Homey.