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

do you mean with that custom apk file? or with the official xiaomi app ?

official xiaomi app can’t log miio commands. this is mod feature.

strange, never had to enable logging, maybe we are talking about a different apk versio
i used : mihome 5.9.19

you had to create /vevs/logs/ folder to enable logs. this is how it was done in past and now with current version of mod you can enable logs from app.

ahh, there is a newer version :slight_smile:
ok, where can i find it?

edit: nevermind

Do you mind posting where did you find it (or at least hint toward the direction, if direct links to such are not allowed on this forum)? That could be useful information for others, too :slight_smile:

Sure , it’s also in this thread :slight_smile:

1 Like

Hello the integration is not working with the latest firmware on xiaomi vacuum 1C. Firmware version : 4.1.8_1118. Any solutions?

After updating firmware my integration also broke. Have not found a solution. I had a feeling I would regret updating the firnware.

same happen to me the issue is with the new token format, you must set it again

reference link https://github.com/Maxmudjon/com.xiaomi-miio/blob/b30ff85e344bd82a503c4bad1073ea96587f0a22/docs/obtain_token.md

Yes, got it working again

Hi Guys,
Please I have an issue with my Dreame Vacuum D9 (dreame.vacuum.p2009) which is dead!! (No interaction, no light, no reaction, …) before that I have switched my Mi Home account from Singapore to French ( because I wanted to link it with my Alexa :frowning: )
It was fully charged and it have requested me to update the firmeware but after that I disovered that the robot is dead and I tried to reset it but no reaction. from that moment I can’t do anything as it is fully Off and no signe of reactvitiy, is like the systeme has been erased or its Soft have been broken due to the firmeware update.
Can you please help me to resolve this issue?
For information, I installed the token extractor and I can see the Vaccum linked in my account Singapore and I can see also its token.
Many thanks for your help and support

I obtained the token through [Token](https://github.com/Maxmudjon/com.xiaomi-miio/blob/b30ff85e344bd82a503c4bad1073ea96587f0a22/docs/obtain_token.md 28), but the same with the token that I get "Error: Unable to discover the device 10.20. 30.86 ", do you have any method to get the new token that works with the latest firmware version?), but the same with the token that I get "Error: Unable to discover the device 10.20. 30.86 ", do you have any method to get the new token that works with the latest firmware version?

Hello,

I have a bricked STYTJ01ZHM - After official OTA update at the XIAOMI app I have got a failure message and Since then the vacuum just blinks when turning on and does nothing.

I’ve found this usfell site for rooting the device and falshing rom for DustBuilder
using with home assitant, but while trying the procedure i recive the message:
" weak clean timestamp counter "
Any idea for bringing the vacuum back to life will be appriciated.
Thanks in advance

Amitai

I have installed the xiaomi_vacuum in HACS.
I added the code in the yaml file

vacuum:
  - platform: xiaomi_vacuum
    host: 192.199.11.xx
    token: 3954xxxxxxxxxxxxxxxxxxxxxx345
    name: BrumeLisa

but i get this error after rebooting.
what iam missing?

xiaomi_vacuum: Error on device update!
20:42:38 – (ERROR) Vacuum (custom integration)
Unable to request properties [{'did': 'waterbox_status', 'siid': 4, 'piid': 6}, {'did': 'total_clean_count', 'siid': 12, 'piid': 3}, {'did': 'total_area', 'siid': 12, 'piid': 4}, {'did': 'dnd_enabled', 'siid': 5, 'piid': 1}, {'did': 'dnd_start_time', 'siid': 5, 'piid': 2}, {'did': 'dnd_stop_time', 'siid': 5, 'piid': 3}, {'did': 'map_view', 'siid': 6, 'piid': 1}, {'did': 'audio_volume', 'siid': 7, 'piid': 1}, {'did': 'audio_language', 'siid': 7, 'piid': 2}, {'did': 'timezone', 'siid': 8, 'piid': 1}]

20:42:38 – (ERROR) Xiaomi Vacuum (custom integration)
Setup of vacuum platform xiaomi_vacuum is taking over 10 seconds.

20:42:38 – (WARNING) Vacuum
Unable to find services.yaml for the xiaomi_vacuum integration

20:42:33 – (WARNING) helpers/service.py - message first occurred at 20:42:32 and shows up 2 times
``

Hi @concentric , I was rebuilding my HA instance and noticed your github repo status as recommending valetudo. Would you mind if I asked why you prefer valetudo and also what method you used to root your vacuum? Your integration has been working great with mine and I’m hesitant to change what isn’t broken. :smiley: Ta kindly.

1 Like

Hey @snowbot.
I switched to valetudo because it is completely local and does not send any data to the cloud.
My integration would interact with the vacuum locally, but would still require setting up with the MI home app as well as an internet connection (otherwise it keeps dropping off the network.)
Having my vacuum on my IOT only no internet vlan is what I preferred.

I used this method to root my vacuum.
Im sure I dont need to say it but use at your own risk.
:slight_smile:

Thanks. I’ll file it under “things to do when i have time” :laughing: