-
Notifications
You must be signed in to change notification settings - Fork 6
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
Highlight when the Vacuum is in Error State. #281
Comments
The camera can auto export a snapshot of the image when the vacuum state is "error". A notification can be trigger via Home Assistant automations or scenes. When the error is detected the integration is going to provide also the event to home assistant "valetudo_error": event_type: valetudo_error
data:
entity_id: vacuum.silenttepidstinkbug
error: "{error}"
origin: LOCAL
time_fired: "2024-11-26T18:32:39.959478+00:00"
context:
id: 01JDMVYE8QJE9RHAMXDPWN4Z5J
parent_id: null
user_id: null The robot outer borders colours will change to RED as advised in order to highlight the error condition. |
@carefulcomputer the lidar (dot) in case of official Valetudo by default (hard coded) is rotating 180 deg. as the V1 for example when is docked is reporting the wrong angle.. to make it short no need and thanks again for reporting that in some other vacuums the angle at dock data are correctly reported.. will add an option (rotate 180 at dock) in the image options that should solve the "details" you highlighted. Fell free to add this enhancement issue for tracking (I can do it later after work for you). About making the more prominent as it is just an indication and the real point is to be notified that there is an error during cleaning.. it is possible to create a script to save a snapshot and send it to the mobile when you use the HA app. triggered from the event or even the vacuum state.. I will later update the docs and post the script (that I think should work also for you) that will do this. Is that okay for you? I'm going to covert this to a discussion so that we can keep chat here in a more visible way 😄 okay? Thanks once again for your contribution here. |
the reason I am requesting the bot image to be more prominent is, when robot gets stuck somewhere in house, it takes extra time to find the bot. If the map shows the last location prominently then it will be easy to go and pick up the bot. |
Well the last image is where the vacuum stuck in general should be easy to find it, as well if you enable the automatic snapshots the last image will be in the www folder of home assistant. If you have a look in the docs there is also a script to send the notification via mobile app. |
@sca075 , i agree that last image shows the location. My suggestion slightly different. I am requesting to just make the robot icon/color more prominent (vs. just drawing the red outline ). One example would be to infill the robot icon with another shade of red. |
@carefulcomputer Well.. also if there's no technical reason for this... can do it.. but.. then actually for what reason? There are a lot of way to detect when the vacuum is in trouble, status text, automations that can easily trigger either by event or state of the vacuum.. notifications with the snapshot. Last recorded position is the actual the last image.. But okay can do that the vacuum get Red .. slightly let's say 70%.. to emphasis the error condition. |
@carefulcomputer |
mmm a side point from my side is.. I noticed that you stared and then remove the start from this project.. is there any reason for this? If you start the project this helps me to gain a little more confidence.. for instance help the project to grow also for HACS statistics.. and honestly.. to let me know if I'm doing the right things or not.. |
@sca075 , it must have been a mistake to unstar it. i love this project and the contributors , like you who are highly responsive. just starred it and made sure that it sticks. :) |
Will change the outline to black before the next beta, it looks much better like you drew it 😉👍 |
Description
Reported from @carefulcomputer on Show error in card when vacuum gets stuck or runs into error
Solution
Few suggestions to make it even better (not sure what all is possible)
Provide a slight red tint to whole image (which would indicate the error)
If possible draw a circle or replace robot icon (or enlarge, different color etc) to make location of robot more prominent
Alternatives
No response
Context
Description
Currently when vacuum gets stuck , the card doesn't show any error. So it is hard to know that it got stuck.
Solution
It will be nice for card to show the error and last known position prominently. That will allow for quick rescue of the bot
The text was updated successfully, but these errors were encountered: