PiotrMachowski / Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
MIT License
1.18k stars 124 forks source link

Unable to retrieve map for Roborock 4 #352

Open fire943 opened 2 years ago

fire943 commented 2 years ago

Checklist

The problem

Failing to retrieve map. I am able to control my vacuum using vacuum card.

What version of an integration has described problem?

v2.2.0

What was the last working version of an integration?

v2.2.0

What vacuum model do you have problems with?

roborock.vacuum.s4

What version of Home Assistant do you use?

Home Assistant 2022.10.5

What type of installation are you running?

Home Assistant Supervised

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: xxx.xxx.xx.xx
    token: xxxxxxxxxxxxxxxxxxxxxx
    username: xxxxxx@gmail.com
    password: xxxx
    draw: ['all']
    attributes:
      - calibration_points

Errors shown in the HA logs (if applicable)

Logger: homeassistant.components.camera
Source: helpers/entity_platform.py:796
Integration: Camera (documentation, issues)
First occurred: 12:24:52 AM (64 occurrences)
Last logged: 12:30:37 AM
Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05

Additional information

No response

PiotrMachowski commented 2 years ago

Please provide vacuum model in a "dotted" format. It can be checked using Tokens Extractor

fire943 commented 2 years ago

Please provide vacuum model in a "dotted" format. It can be checked using Tokens Extractor

Done. roborock.vacuum.s4 has been placed in the original post

PiotrMachowski commented 2 years ago

There should be something more in logs

fire943 commented 2 years ago

This error originated from a custom integration.

Logger: custom_components.xiaomi_miot_raw.deps.xiaomi_cloud_new Source: custom_components/xiaomi_miot_raw/deps/xiaomi_cloud_new.py:141 Integration: Xiaomi MIoT (documentation, issues) First occurred: 4:11:23 PM (1 occurrences) Last logged: 4:11:23 PM

Timeout while loading MiCloud device list


This error originated from a custom integration.

Logger: custom_components.xiaomi_cloud_map_extractor.camera Source: custom_components/xiaomi_cloud_map_extractor/camera.py:273 Integration: xiaomi_cloud_map_extractor (documentation, issues) First occurred: 4:11:25 PM (1 occurrences) Last logged: 4:11:25 PM

Got exception while fetching the state: Unable to discover the device 192.168.68.xx

PiotrMachowski commented 2 years ago

Is token and IP the same as in tokens extractor?

fire943 commented 2 years ago

yes. I cut and pasted the token and ip address.

PiotrMachowski commented 2 years ago

Is the vacuum in the same network as HA? Have you tried restarting it?

fire943 commented 2 years ago

It is on the same network. I will restart the network and let you know the results. Thanks

fire943 commented 2 years ago

rebooted the network, double check the token and IP address yet I'm still unable to retrieve the map