Roborock S7MaxV - HA Integration

I’ve moved the script from [Tester gesucht] Roborock-API to python.
I’ll try to create the integration, but if someone with more experience wants to do it here it is: homeassistant-roborock

11 Likes

Does it work? Do you receive data with it?

HOLY SHIT, this is amazing! THANKS SO MUCH!

I just added the repo to HACS and installed it, restarted HA, added the Roborock integration, input my Roborock username&password, and immediately my vacuum popped up.

As soon as I clicked turn on, the vacuum started.

Right now turn on/off are the only options.

2 Likes

I was able to connect as well and received the same results.

Great work!! Let me know how I can help.

1 Like

Hello,
Do you use the same Login (email address) and password as for the Roborock application?
I try but it gives me every time a connection error message.
Any idea ?

sorry but i can create shedules with my Roborock S7 Pro Ultra…and it seems that there is just a little difference between Vmax and Ultra Pro, so i dont understand why you can not make schedules?.

Because i dont have camera on the 7 Pro Ultra …so its not a problem with Mi Home or Roborock App for my personnal case of course. i understand your.

I dont mind to have updates faster, usually when i want an update i just check if there is a new one, i never check “auto updates” anyway.

Here is the full card first view and 2nd pict is the rooms view if you have create them under Mi Home APP

all entities and settings as in the Roborock app…seems that s missing anything…perhaps i forgot something.

You can’t schedule zones together with rooms in the Xiaomi app. It only works with rooms or everything.

In the Roborock app, you can schedule certain processes under “Programs”, such as Clean dining room + bedroom + desk zone.

Show me where you do that in the Xiaomi app :wink:
I’m unfortunately on the road otherwise I would have shown you a picture.

hello can you share the lovelace code ?

Sure!

the code will give you nothing : you must follow this tutorial to install : https://peyanski.com/home-assistant-roborock-s7-integration-how-to/

i follow “Roborock S7 in Home Assistant – Advanced Method” with " Xiaomi Cloud Map Extractor & Xiaomi Vacuum Map card

This card with the Mihome App for Schedule is all i need, simple things are the best for me, no need to combine zones and room, when i want to clean something, its always the entire room.

and you have the option “Pin and Go” to do some local cleanning.

Enjoy

I did already installed the hacs integration and it is working. But you have already configured a nice lovelace ui therefor i asked for the code :slight_smile:

1 Like

Adding the github in HACS also worked for me! However, it doesnt appear that it’s able to pull the brush/sensor info?

sorry, you are right :wink: this is the card i use : https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

config need to be yours and you need to click on “generate rooms config” in the card option after all is installed (modify dashboard then modify card then generate rooms config)

this what the code look like after “generate rooms config” so dont use my config lol :

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.roborock_vacuum_a62
vacuum_platform: default
title: ''
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - template: vacuum_clean_segment
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:broom
          x: 27325
          'y': 22925
        label:
          text: Bureau Interdit
          x: 27325
          'y': 22925
          offset_y: 35
        outline:
          - - 26900
            - 21150
          - - 27750
            - 21150
          - - 27750
            - 24700
          - - 26900
            - 24700
      - id: '16'
        icon:
          name: mdi:broom
          x: 25450
          'y': 27325
        label:
          text: Sejour
          x: 25450
          'y': 27325
          offset_y: 35
        outline:
          - - 21450
            - 24150
          - - 29450
            - 24150
          - - 29450
            - 30500
          - - 21450
            - 30500
      - id: '17'
        icon:
          name: mdi:broom
          x: 17075
          'y': 20625
        label:
          text: Entree
          x: 17075
          'y': 20625
          offset_y: 35
        outline:
          - - 15600
            - 19450
          - - 18550
            - 19450
          - - 18550
            - 21800
          - - 15600
            - 21800
      - id: '18'
        icon:
          name: mdi:broom
          x: 13525
          'y': 20950
        label:
          text: Couloir
          x: 13525
          'y': 20950
          offset_y: 35
        outline:
          - - 11250
            - 20450
          - - 15800
            - 20450
          - - 15800
            - 21450
          - - 11250
            - 21450
      - id: '19'
        icon:
          name: mdi:broom
          x: 16225
          'y': 24125
        label:
          text: Cuisine
          x: 16225
          'y': 24125
          offset_y: 35
        outline:
          - - 13700
            - 21750
          - - 18750
            - 21750
          - - 18750
            - 26500
          - - 13700
            - 26500
      - id: '20'
        icon:
          name: mdi:broom
          x: 21950
          'y': 24025
        label:
          text: Salon
          x: 21950
          'y': 24025
          offset_y: 35
        outline:
          - - 18600
            - 19800
          - - 25300
            - 19800
          - - 25300
            - 28250
          - - 18600
            - 28250
      - id: '21'
        icon:
          name: mdi:broom
          x: 14550
          'y': 19375
        label:
          text: WC Bas
          x: 14550
          'y': 19375
          offset_y: 35
        outline:
          - - 13200
            - 18350
          - - 15900
            - 18350
          - - 15900
            - 20400
          - - 13200
            - 20400

Enjoy

Are you using roborock app or mihome?

I don’t think that card works if using the roborock app using that new HACS integration, does it?

1 Like

LOL of course i use Mi Home, that the point of this discussion…

Because of this lovely card with all i need it uninstall Roborock App and use Mi Home App because its needed to integrate in HA, no choice.

Or wait for a Roborock App implementation, no other solution at this time…

If I keep the Mi Home app can I use both the old and new HA Roborock integrations in parallel?

I want to wait for the new Roborock integration to be fully featured (including the map card) before I switch to the new Roborock app

It’s definitely making progress. Update today seems to have added map and camera entity:

2 Likes

This hacs integration is working well ! :+1:


Some Sensors missing but i think the code owner will implent this.

yes i think it can work

its @humbertogontijo hacs module?

1 Like