Thanks Chris75 for the tests and screenshots
Fixes in 1.1.2
1. The map that disappears and then comes back
The Gladys Camera widget takes each new value from the device for the image.
The map was on the mower device: with each new value (battery, status, progress…), the image was replaced by this value, so no map until the next image.
The map is now a separate device: « Luba-VPMBS8RA – Map ».
2. « No image » from time to time
Gladys no longer displays an image older than one hour.
At the base, the mower doesn’t move, so no new image: after one hour, the widget was empty.
The image is now sent at least every 45 minutes.
3. « Return to base » after stopping mowing
When you turn off Mowing, Gladys puts the mower on pause. But the integration was waiting for the mower to confirm the pause.
If you pressed Return to Base right after, it thought the mower was still mowing: simple return, without Stop. The task remained on pause.
Now the pause is taken into account immediately: Return to Base sends Stop then Return, like the app.
And if the mower is already at the base with a task on pause, Return to Base sends only Stop.
If it comes back, can you send me the log? A new line shows what Gladys sent, for example: dock = 1 -> stopAndDock (work mode 19).
4. Zone order
Zones are now mowed in the order you turn on the switches, like in the app.
To change the order: turn off the zones, then turn them back on in the desired order.
The order is kept even after a restart of the integration.
In a scene: turn on the « Zone to mow – … » switches in the desired order, then Mowing.
After the update
- Discovery tab → Update on the mower (the old map is removed from the mower).
- Still in Discovery, add the new device « Luba-VPMBS8RA – Map ».
- On the dashboard, in the Camera widget, choose this new device instead of the mower.
@cicoub13 for info: the Camera widget (updateDeviceStateWebsocket in Camera.jsx) takes any new state of the device for the image, regardless of the function. A camera that has other functions (battery, status…) therefore loses its image with each new value. A filter on the camera/image function would fix this.