congatudo / Congatudo

Cloud replacement for Conga vacuum robots enabling local-only operation
https://congatudo.cloud
Apache License 2.0
79 stars 24 forks source link

Clean zone in old front doesn't work #6

Closed txitxo0 closed 2 years ago

txitxo0 commented 2 years ago

Describe the bug

Clean zone in old front doesn't work

To Reproduce

Screenshots

image

Vacuum Model

Conga 3090

Valetudo Version

2022.02.0-conga.0.

Expected behavior

Clean the selected zones

Solution direcction

Apparently the endpoint PUT /api/v2/robot/capabilities/ZoneCleaningCapability/presets is deprecated and updated to receive just one id in the endpoint, not an array int he json body PUT /api/v2/robot/capabilities/ZoneCleaningCapability/presets/{id}

There is another endpoint to clean one onr multiple zones with a json body too PUT /api/v2/robot/capabilities/ZoneCleaningCapability/ For more info: /swagger/#/ZoneCleaningCapability/put_api_v2_robot_capabilities_ZoneCleaningCapability

txitxo0 commented 2 years ago

fixed in commit https://github.com/freeconga/Valetudo/commit/4cecd194eb85310576c96c8d84d5ffeff8733df4