Skip to content

Map feature and garden size #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from

Conversation

kimzeuner
Copy link
Contributor

@kimzeuner kimzeuner commented May 8, 2025

The easy thing first:
I have added an entity that reports the garden size in m².

Second, i have added an camera entity with the map and also the position of the mower.
The camera entity reports "is_streaming" when the state of the mower is "mowing" and "idle" if the mower is docked.
The map gets downloaded when the mower is docked or after an HA restart.
The position of the mower is updated with "async def refresh_state(self)" so there should not be any additional api calls just for the update of the mower position.

maybe you have some hints/comments on how to make the code better before implementing.

Regards

Edit: I have seen that the position didn`t update as expected so i added a timer (10 seconds) and implemented a update_state(force=true) every 10 seconds.

sander1988 and others added 13 commits July 20, 2024 12:44
develop > master for v5.7.5 release
Fixes to support HA 2024.11 and future versions
added download_map and entity garden_size
added svgutils to requirements
added Entitys camera and garden size
deleted     
@Property
    def frame_interval(self) -> float:
        return 5.0
as it is not needed
Added Timer for map download/refresh and force update state every 10 seconds.
@kimzeuner kimzeuner closed this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants