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.14k stars 121 forks source link

Cannot change map colors #392

Closed mebitek closed 1 year ago

mebitek commented 1 year ago

Checklist

The problem

I cannot change map colors with dreame.vacuum.p2041o

What version of an integration has described problem?

latest

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

dreame.vacuum.p2041o

What version of Home Assistant do you use?

2023.1.6

What type of installation are you running?

Home Assistant OS

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: 192.168.1.240
    token: token
    username: I_have_shared_my_real_credentials@gmail.com 
    password: I_have_shared_my_real_credentials
    country: "de"
    draw: ['all']
    colors: 
      color_map_outside: [0, 0, 0]
    attributes:
      - calibration_points
      - rooms
      - walls

Errors shown in the HA logs (if applicable)

No response

Additional information

No response

PiotrMachowski commented 1 year ago

Have you tried other colors?

By the way, you might want to change your password

mebitek commented 1 year ago

Yes i tried other colors but nothing changes on the map

PiotrMachowski commented 1 year ago

Have you restarted HA/reloaded Map Extractor after every change?

mebitek commented 1 year ago

Yes sure

PiotrMachowski commented 1 year ago

Is there anything in logs?

Can you show your map image?

Have you changed your password?

mebitek commented 1 year ago

Nothing in logs. Screenshot_20230123-110144_Home Assistant

mebitek commented 1 year ago

This is from my mobile with dark theme but from web outwide area is blue

PiotrMachowski commented 1 year ago

Ok, so the color has been changed, because it is different than the default one:

image

Now you see a background created by the Map Card, it can be changed with map-card-zoomer-background. https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card/discussions/320

mebitek commented 1 year ago

I never get the default one. However I'm able to change some colors but some bit as for example the docker outline color

Screenshot_20230124-152621_Home Assistant

Screenshot_20230124-152659_Home Assistant