You will have to type it
entity_id: vacuum.robin
zone: '3019,2063,7424,6105'
repeats: 1
You will have to type it
entity_id: vacuum.robin
zone: '3019,2063,7424,6105'
repeats: 1
Awesome!
I have my scripts working and running the automation on the dropdown menu for the zones. So far so good!
Thanks @concentric, you are legend man!
A little bit off topic. I have exposed the scripts to Google Assistant. I then functions as āStart Vacuum Kitchenā With some routines, you can change that to simply go āHey Google, Vacuum Kitchenā
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:
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?