romedtino / simple-wyze-vac

Home Assistant Custom Component for Wyze Vacuum
48 stars 8 forks source link

Image is blank on >1.7.3; Firmware 1.6.202 #56

Closed Mr-HaleYa closed 1 year ago

Mr-HaleYa commented 1 year ago

Describe the bug When I update to any version greater than 1.7.3 the latest image lacks all the details of the last run. it just shows the basic map

To Reproduce Steps to reproduce the behavior:

  1. Go to 1.7.3 and the image is this Home Vacuum_last_map (1)
  2. Go to >1.7.3 and the image is this Home Vacuum_last_map

Simple Wyze Vac Version

Wyze Vacuum Firmware Version

Home Assistant Version

Additional context I've completely uninstalled and reinstalled the integration and hacks download twice restarting in between each action and delegated all references to simple-wyze-vac in the custom-components and www before reinstalling. I'm using 2FA. I've been using your integration since 1.1.2. I've also tried adding my second floor and that did nothing so I removed it and still nothing

romedtino commented 1 year ago

Your map issue should be resolved in this release - https://github.com/romedtino/simple-wyze-vac/releases/tag/1.8.3

Just for background-

The reason why the map no longer has the sweep route is because the older Simple Wyze Vac version would pull the map image from the latest sweep record available. This map would contain the house map and and sweep route. When I updated to the latest version of wyze-sdk, I took advantage of the new get_maps function which can find multiple maps if you have different floors but it doesn't have the sweep route details. I do like seeing the sweep details so for now what it does is:

If there is a sweep record, use the map provided by that. If there is not, look for the active map in the available map list.

Mr-HaleYa commented 1 year ago

Works Perfect! Thank you