Thats cool.
With regards to the Entity dropdown did you copy accros the services .yaml file from the repo?
That where all that stuff is defined
Yeah
Same here.
TBH the chinese probably know everything about me anyways soā¦
RESIST!
Actually, I have an adblocker running AND Iāve set the internal ads to be off within the app and ads still show up in the mihome app on my phone.
Iām also slight nervous what the camera at the top of the unit sees.
I recently also set up a script to drop connectivity for my kidsā devices. Will probably do the same for the vac once Iāve tested that it doesnāt make noises in protest. Iād let it connect only before a scheduled run and shut off the connection during bedtime.
@concentric, I didnāt copy the services.yaml file open. Looking at it now, but it doesnāt look like I need it, as I am running a script for every zone:
vacuum_bedrooms:
alias: Vacuum Bedrooms
sequence:
- service: xiaomi_vacuum.vacuum_clean_zone
data:
entity_id: vacuum.xxxx
zone: 869,9541,7345,-2771
repeats: 1
- service: notify.telegram_xxx
data:
message: XXX has started to Vacuum Bedrooms
That works perfectly.
The services.yaml file defines the details/example datain the devtools.
The service should work without it
@concentric Hereās a random idea if youāre so inclined. I have a couple of rugs on an area with floorboards. When I want to mop with the 1C, I use the xiaomi app, set the two rugs as restricted zones, then use the zone cleaning to clean the area. After the mop, I remove those two restricted zones so that the vacuum runs over them during its normal clean.
It would be ideal to be able to send a command to the vac to add/subtract the zones.
From my mijia logs, it looks like it uses siid: 23, aiid: 2, and adds the zones to the ārectā array with piid: 4
{āidā:8162,āmethodā:āactionā,āparamsā:{ādidā:ā2xxxxxxx6ā,āsiidā:23,āaiidā:2,āinā:[{āpiidā:4,āvalueā:"{āvwā:{ālineā:[],ārectā:[[3601,11900,4577,12939],[2411,13338,3782,14364],[3548,1585,4625,2845],[1969,-3080,5545,-1792],[-3744,4892,-1875,6716]],āmopā:[]}}"}]}}, did 2xxxxxx6, stamp 16xxxxxx78,timeout 2000
Hey
Im just in the middle of exams and a bit busy right now.
Hopefully in January i will have sime time to look at it.
Good luck with your exams dude!
worked like a charm, thanks for the integration !
Hey, I am also interested in this dreamed F9
Can you define also no-go zones? Is it working now with HA? This is a clone of the mio mop essential , right?
Hiā¦ I made some changes to miio so that the cleaning time and the area appear properly. Zone cleaning works like charm. A big thank you to concentric again!
Hello, I have the integration and is working fine. now iām trying to add the cleaning zone but iām not able to extract it, do you have any procedure to get the coordinate
Hi @snowbot how do you get the mijia logs, i want to do some test with the coordinate but i donāt fun a way to get it.
download modified app
Yes, I use a samsung galaxy and my logs are in /android/data/com.xiaomi.smarthome I think their location would vary depending on your phone. A clue would be to search for āxiaomiā and look for files that have been recently updatrd.
EDIT: Working!! was bad tokenā¦ help me this: Xiaomi Cloud Tokens Extractor
Hi, can some one help me integrate Xiaomi Vacuum mop 1C? i did use:
vacuum:
- platform: xiaomi_vacuum
host:
token: āā
name:
but not see vacuum nowhere. Thank you and sorry for my english
EDIT: from putty
miiocli device --ip 192.168.0.110 --token 58xxxxxxxxxxxxxxxxxxxxxxxxxxxxx64 info
ERROR:miio.miioprotocol:Got error when receiving: timed out
Error: No response from the device
maybe bad token? i take from " Method 4a - Packet Sender Tool"
Seems your device is not reachable? Can you ping it?
Working nowā¦ was bad tokenā¦ Packet Sender Tool is badā¦ Xiaomi Cloud Tokens Extractor help me
guys, is there an easy way to extract the zones without that modified app?
i was also look at those log files like in that com.anddroid.xiaomi folder, but seems that log file is encrypted?
is it the file in folder android\data\com.xiaomi.smarthome\files\logs\app\miia_log_v3ā¦ ?
ot even better, isnt it possible to use rooms?
My app isnāt modified. Itās straight from the play store and my android phone isnāt jailbroken either.
My log files arenāt encrypted at all. Try looking around the folders as there are quite a few different folders. Look for log files which are named day by day.
My app doesnāt have a room option, so Iāve simply written scripts that clean zones correlating to rooms. You can even set how many times to clean the zone. Itās been working beautifully for me.