Homebridge-xiaomi-roborock-vacuum: iOS13.1.2 T6 Fan Speed over 100% shows not supported, and T6 cleaner can only be normal speed

Created on 10 Oct 2019  路  9Comments  路  Source: homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum

Most helpful comment

Thanks @elfive1992
Merged, new NPM Version published.

All 9 comments

logs:
[10/10/2019, 9:45:46 AM] [RockRoboT6] MON changedSpeed | roborock.vacuum.t6 | FanSpeed is now 102%
[10/10/2019, 9:45:46 AM] [RockRoboT6] WAR changedSpeed | roborock.vacuum.t6 | Speed was changed to 102%, this speed is not supported

Hi @elfive1992,
What is the speed mode you have on your vacuum when you see this 102%?

@afharo in iOS Mi Home App, it shows standard fan speed level. (silent, standard, medium, turbo)

It looks to me like your t6 is using the 3rd gen speed mapping: https://github.com/nicoh88/homebridge-xiaomi-roborock-vacuum/blob/master/index.js#L64

But since we don鈥檛 have that model in our list yet: https://github.com/nicoh88/homebridge-xiaomi-roborock-vacuum/blob/master/index.js#L23
It is using the default gen1 mapping and failing.
I鈥檓 away from my keyboard now but, can you please create a PR with an addition mapping the t6 model to the gen3?
If you can鈥檛 do it, I think I鈥檒l be able to change it this weekend

Thank you @afharo ,
I will try to create a PR.
and also Thank you for your reply.

I've created a PR:#70
it turns out not a fanSpeed map issue, but a missing vacuum mode(roborock.vacuum.t6) issue.

Thanks @elfive1992
Merged, new NPM Version published.

@nicoh88 appreciate and also thank you.
btw,may I ask why we can't support nodeJS version 8.16.1 or nodeJS version 8.x.x ?

I'm running homebridge in my openWrt/LEDE router, which only support nodeJS up to version 8.16.1.
and for some unknown reason, homebridge in docker isn't work for me(can't add to home assisstant App, but runs OK).

Hi @elfive1992,
It was actually me who raised that limitation. I developed it on Node 10.

Checking on https://node.green/ about the ES features we use in the implementation (classes, async/await and object destructuring), node 8 might be supported.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thechris1992 picture thechris1992  路  9Comments

afharo picture afharo  路  8Comments

leonardpitzu picture leonardpitzu  路  4Comments

Zer0x00 picture Zer0x00  路  5Comments

JonoHaysom picture JonoHaysom  路  11Comments