nqkdev / home-assistant-vacuum-styj02ym

161 stars 134 forks source link

Always mopping on S-pattern. Even when Y-pattern mode is set. #21

Open majdzik84 opened 3 years ago

majdzik84 commented 3 years ago

Thank you for integrating. It works very well with my Viomi2Pro. However, I noticed one thing when controlling from the HA level. It's about the Y-pattern mopping mode. When I start mopping from mi-home it mops correctly to Y. If moping is started with HA (although Y is set in the program) it mops to "S-pattern".

The attribute responsible for the mopping mode in HA is:

mop_oute: 0 (S-pattern) mop_route: 1 (Y-pattern)

forast3r commented 3 years ago

Did you finally manage to set the mopping mode?

majdzik84 commented 3 years ago

no :(

forast3r commented 3 years ago

no :(

Next week will try rooting and installing valetudo, I think it has more options available for the styj02ym

aimartin commented 3 years ago

@forast3r can you please report back once you install Valetudo? I'm thinking about doing it too

forast3r commented 3 years ago

@forast3r can you please report back once you install Valetudo? I'm thinking about doing it too

I am using miiocli for the settings like mopping in Y pattern. Valetudo for viomi is still very recent, must use development version to have a working vacuum. Using valetudo there is no need for an additional integration, because the basic commands are working with MQTT. Also the cleaning map can be integrated into home-assistant.

aimartin commented 3 years ago

@forast3r can you please report back once you install Valetudo? I'm thinking about doing it too

I am using miiocli for the settings like mopping in Y pattern. Valetudo for viomi is still very recent, must use development version to have a working vacuum. Using valetudo there is no need for an additional integration, because the basic commands are working with MQTT. Also the cleaning map can be integrated into home-assistant.

Thanks for the report! Honestly, I'm using now the custom integration and apart from the start/stop and the vacuum power, I'm not using much... but I don't know why, my vacuum FW version is quite old and has not been upgraded since I got it, so multy-floor map is not working, and it has some errors from time to time (running out of battery while cleaning, for example) so I was thinking on giving valetudo a test... Anyway, sorry for hijacking the post!

mouth4war commented 3 years ago

"Viomi Models: Add support to Y-Pattern (send 1 instead of 0 when calling "set_mode_withroom" commands) · Issue #231 · homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum · GitHub" https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/231