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

Thanks harisma!
This is my configuration:
Image

Anything wrong?

It looks ok. Do you have any errors in home assistant logs?

Hello. Anyone had an issue that the entity disappeared? This is my log: https://paste.ubuntu.com/p/jZhbZzWFsP/
Token ok, ip static and there.

Maybe putting the name of the device in quotes will help. I don’t see any potential mistakes.

My vac got a firmware update today. Now the map looks like this.
Screenshot_20210202_151946_com.xiaomi.smarthome|236x500
Now we can get different areas by default. I guess it will be easier to integrate them to HA.

Glad it didn’t break! :slight_smile:
I dont use the xiaomi app at all.

i have the dreame model, normally the same as 1C , but my map already looked that that
Map naming was not possible, mine was like a, b, c,d …

so what do you mean by “different areas by default” ?

I mean that the vacuum recognizes different rooms-areas. So far I’m not able to devide or merge rooms like some other vacuum.
I hope that since the app has split the house in different rooms-areas, it will be easier to have “zone cleaning” in HA.

ah ok, understand
i think it was already possible on your 1c model, in previous firmware, but was in beta, you needed to enable that beta function
seems now its present :slight_smile:

Thanks, now it’s working!
It was my fault, the token changed and it couldn’t connect to Home Assistant.

Wow. I’m amazed that you’ve got this all working without having had the app in the first place!

Anyone got any ideea about the errors?
https://paste.ubuntu.com/p/GsQzG362dZ/

after receiving these errors in ha, i end up losing the entity after a week lets say. could it be python related?

The HACS Concentricc version its only working with the latest xiaomi firmware 3.5.8_1096 . You can check the issue that i posted on the github page.

Hello, I own a Dreame D9 and I am trying to retrieve the coordinates by following your advice, thank you. I created the 3 directories as shown, I get a file, but I don’t really see any coordinates. Below is what I get.
{“id”:4531,“method”:“action”,“params”:{“did”:“382836526”,“siid”:6,“aiid”:1,“in”:[{“piid”:2,“value”:"{“req_type”:1,“frame_type”:“I”}"}]}}
{“code”:0,“exe_time”:90,“id”:4531,“otlocalts”:1612615913908896,“result”:{“aiid”:1,“code”:0,“did”:“382836526”,“out”:[{“piid”:1,“value”:""},{“piid”:3,“value”:“1736694077/382836526/0”},{“piid”:5,“value”:1612615912477}],“siid”:6}}

Having the same issue. Can’t control my vacuum. I’m with the latest FW.

Go see here

I’m also getting this new line of log for the 1C from the modified app like below. Any chance of getting coordinates/rooms out of it?

2021-02-13 18:12:47 <- {"code":0,"message":"ok","result":[{"siid":2,"did":"383081455","piid":1,"value":40,"code":0},{"siid":2,"did":"383081455","piid":2,"value":1,"code":0},{"siid":18,"did":"383081455","piid":1,"value":6,"code":0},{"siid":18,"did":"383081455","piid":2,"value":3,"code":0},{"siid":18,"did":"383081455","piid":3,"value":"1","code":0},{"siid":18,"did":"383081455","piid":6,"value":2,"code":0},{"siid":18,"did":"383081455","piid":9,"value":0,"code":0},{"siid":18,"did":"383081455","piid":18,"value":1,"code":0},{"siid":22,"did":"383081455","piid":1,"value":0,"code":0}],"id":8107}


SVG image for vacuum-card

I did use the app initially, but removed it I ce the integration was working

2021-03-10 21:54:58 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'xiaomi_vacuum'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'xiaomi_vacuum'

Have you guys seen this warning ?