JobHistory Capability #720
Replies: 3 comments 4 replies
-
For reference, here's how those views look like for dreame: And here's roborock: Viomi tbd So a JobSummary could probably contain
and of course
The reason for why Valetudo has no understanding of multiple maps is that we don't really know how the map upload actually works. What I do know is that it receives a bunch of URLs and then sometimes uploads a map to those which - in the current implementation - will always be the current map since we only request that. Semi-OT sidenote: |
Beta Was this translation helpful? Give feedback.
-
That is ultimately where I landed to not over complicate the job history and poll the vacuum as required - it felt like the Roborocks did enough to not be concerned by the added complexity of persistence. On the map discussion, after I did further testing and subsequently found this issue #86 the could be a refinement to the map process based the following functionality:
|
Beta Was this translation helpful? Give feedback.
-
Example JobSummary;
From a Roborock perspective getting the job summary list is reasonably fast but grabbing the map data at the same time will slow the process down. I figured the map should be part of the Job Summary but there is only a need to load if it the map retrieval process is initiated separately. All of the above fit within the current Job structure without modification and seems to work ok, with the only change to allow the Job entity to store any sort of array structure for its child attributes - ErrorJobAttribute, HistoryJobAttribute, StatisticsJobAttribute, etc. There is also the question of lifetime cleaning statistics, these need a structure and can be abbreviated into the job summary structure... |
Beta Was this translation helpful? Give feedback.
-
Discussion around the scope of the PR#669. Currently Valetudo JobHistory capability can show a list of completed cleans. Suggested additional functionality to align with what a Roborock can generate:
To implement:
Thoughts on the merit of this capability before getting distracted with the implementation methodology?
Beta Was this translation helpful? Give feedback.
All reactions