Can't integrate my xiaomi vaccum

Hello,

I’m triyng integrate my vaccum xiaomi but i failed…

To get the token i installed the apk v5.4.49 .

{
            "did":"74367490",
            "token":"304b386435435635485a32344c686b4b",
            "longitude":"4.90339250",
            "latitude":"45.81722330",
            "name":"Mi Robot Vacuum",
            "pid":"0",
            "localip":"192.168.0.37",
            "mac":"78:11:DC:80:83:94",
            "ssid":"Degage",
            "bssid":"18:D6:C7:61:93:C9",
            "parent_id":"",
            "parent_model":"",
            "show_mode":1,
            "model":"rockrobo.vacuum.v1",
            "adminFlag":1,
            "shareFlag":0,
            "permitLevel":16,
            "isOnline":true,
            "desc":"Entièrement chargée",
            "extra":{
               "isSetPincode":0,
               "fw_version":"3.5.8_004018",
               "needVerifyCode":0,
               "isPasswordEncrypt":0
            },
            "event":{
               "consumable_item_prop_cache":"{\"filter_work_time\":\"156849\",\"main_brush_work_time\":\"156849\",\"sensor_dirty_time\":\"22546\",\"side_brush_work_time\":\"156849\"}",
               "event.error_code":"{\"timestamp\":1593455294,\"value\":[0]}",
               "event.status":"{\"timestamp\":1593455294,\"value\":[{\"battery\":100,\"clean_area\":0,\"clean_time\":3,\"dnd_enabled\":0,\"error_code\":0,\"fan_power\":60,\"in_cleaning\":0,\"map_present\":0,\"msg_seq\":192,\"msg_ver\":8,\"state\":8}]}",
               "miot_bind_time":"1593361834",
               "prop.fan_power":"60",
               "prop.ota_state":"idle",
               "prop.ota_state_ts":"1593450276",
               "prop.s_mixxx":"{\"StorageKeys_UserSelectedCountryServerCode_74367490_6292117663_MI_3\":\"cn\"}"
            },
            "uid":6292117663,
            "pd_id":85,
            "password":"",
            "p2p_id":"",
            "rssi":-62,
            "family_id":0,
            "reset_flag":0
         },

In my configuration.yaml

vacuum:
  - platform: xiaomi_miio
    host: 192.168.0.37
    token: 304b386435435635485a32344c686b4b

My vaccum has a static IP…

In my entities, my vaccum is unavailable…

What’s the problem ?

Thx.

What model is your vacuum?

You may search on the forum, there’s a lot of post about xiaomi vacuum and how to get the token

Can you ping it

Hi,

I found the token, this is not the problem
It’s Xiaomi Mi Robot.
How to ping it ?

I Just checked on my router, the vaccum is well conected on 192.168.0.37…

Thanks for tour support.

PS : yes i can ping it.

I reseted my robot. It’s now ok :slight_smile:

Thanks

1 Like

Hi, I have problems after update to 0.112. namely xiaomi philips lamp can not be controlled anymore (they work normal in MiHome app). one example

platform: xiaomi_miio
name: wc
host: 192.168.1.143
token: 70a644042bec35ed5d**********
model: philips.light.bulb

any ideas.
thank you.

Maybe you can try this components: