Xiaomi Mijia 1C Sweeping Vacuum Cleaner (white) (STYTJ01ZHM)

I m hosting it on windows pc, using Oracle VM for supervised

Ok. So much for that theory. :smiley: Completely different from mine.

1 Like

Xiaomi Miot Auto also supports this vacuum and can be used for Lovelace Xiaomi Vacuum Map card.

1 Like

Coolā€¦ anyone has given this a try, probably a good alternative to the one we re using here?

hello sorry but Iā€™m a newbie on HA, I have a question, I tested the script with the coordinates and it works,
service: xiaomi_vacuum.vacuum_clean_zone
data:
entity_id: vacuum.aspirapolvere
zone: -10,2900,1700,4800
repeats: 1

but if I save it in the script.yaml file it doesnā€™t work when I call it from the card.

clean_bathroom:
alias: clean bathroom
data:
entity_id: vacuum.aspirapolvere
zone: -10,2900,1700,4800
repeats: 1

How could I solve? thank you

Hi, Iā€™m new to Home assistant, can I ask how you connect scripts to icons?

Firstly just a big thank you for developing this, I have the Mijia 1C and this is the only integration that worked for me.

Iā€™ve got the basics working and have been trying to get specific room cleaning working. Iā€™ve managed to get the zone cleaning command right but havenā€™t figured out my houseā€™s coordinates yet, donā€™t have an android device so canā€™t use the modified mi home app.

I see the Mijia 1C now supports room cleaning based on the map it generates. Does this integration support the app_segment_clean command? Tried this

service: vacuum.send_command
data:
   entity_id: vacuum.jeeves
   command: app_segment_clean
   params: [17]

But I get an unknown error.

Hey salta,

Do u mind share ur script for zone/specific room cleaning? Iā€™m very new to this HA donā€™t seem to get zone cleaning working. Iā€™ve my HA setup on both HaOS and container but both yield the same results. Basic controls are working fine. I though it requires the correct coordinate, but it seems that uā€™re able to make it working without it.

Appreciate any help

Hi can you please help me with the coordinates? If downloaded the mod app. All the folders are there under my root and I have started a clean action but yet there is no log file under logs/mii

if i remeber correctly, you need to start a ā€œnormalā€ clean, then it should create the log file?

or alternative, you can also use rooms now instead of coordinates like :

dreame_clean_badkamer:
  alias: Badkamer stofzuigen
  sequence:
  - service: xiaomi_vacuum.vacuum_clean_room
    data:
      entity_id: vacuum.dreame
      zone: '{"selects":[[5,1,0,2,1]]}'
      repeats: 1

profile > experimental > enable logs

1 Like

That did the trick. Log files are now showing. Thank you so much @rezmus !!

@pergola.fabio where did you get the service for xiaomi_vacuum.vacuum_clean_room? I only have clean_spot and clean_zone?

I ma using this custom :

Strange , i never had to enable that in the Xiaomi old APK app, to enable logging?
I just installed that modified APK, and logs were enabled by defaultā€¦

Iā€™m using C1 so donā€™t think that custom will work for me or does it? Also my log file doesnā€™t really give the coordinates or I donā€™t know how to read it. Sorry Iā€™m a bit of a noob still.

ah ok, then i cany help, that service is probably not available for the C1 model, iā€™m using a totally different integration

1 Like

in past you had to create /vevs/logs/ directory to enable logs. now itā€™s done via experimental settings in app.

Hi @salta did you manage to do the zone clean or got the coordinates? I donā€™t seem to get it working