Comments (10)
@zecoj Thanks a lot for this proposal, it is a cool idea will do it on the next release. If you don't mind, would you star this project please, this helps a lot.
from valetudo_vacuum_camera.
Thanks. Look forward to seeing this feature!
from valetudo_vacuum_camera.
@zecoj so: the implementation of this function will show the battery state when the vacuum is cleaning, moving, idle or error when docked the battery state (that is anyhow available in the card) will be not display (it makes no sense and also it is in order to avoid updates of the image while docked).
Although there will be a battery_state attribute coming our from the camera.
Hope this will meet your requirements, I mean of course it possible to use also the battery state from the vacuum but this should in any cases give an idea of what is the state of the battery in case a snapshot during error condition is taken.
from valetudo_vacuum_camera.
as preview of how it looks ;)
from valetudo_vacuum_camera.
That's awesome! I think there's a good case to have it display the battery when charging: charging/docked in between longer clean for larger houses. I think if you can show the battery when docked if it is less than 100%, that would probably be a good compromise.
from valetudo_vacuum_camera.
@zecoj v1.5.8 is now available, hope you will enjoy it at your disposal for any future requirements or ideas. I will try to improve it in the future release because actually I thought the same ;)
from valetudo_vacuum_camera.
Thanks for this, just tested it out and working as expected!
I still think it's good to show the battery while docked. Like I mentioned, if the vacuum is recharging whilst cleaning, it'll be good to know the battery level to know when it'll start cleaning again.
from valetudo_vacuum_camera.
Thanks for this, just tested it out and working as expected!
I still think it's good to show the battery while docked. Like I mentioned, if the vacuum is recharging whilst cleaning, it'll be good to know the battery level to know when it'll start cleaning again.
I got you point and as workaround for the time be, there is the possibility to use the tile in the card to see the battery level.
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.valetudo_v1_silenttepidstinkbug_camera
calibration_source:
camera: true
entity: vacuum.valetudo_silenttepidstinkbug
vacuum_platform: Hypfer/Valetudo
internal_variables:
topic: valetudo/SilentTepidStinkbug
....
tiles:
- tile_id: battery_level
entity: vacuum.valetudo_silenttepidstinkbug
label: Battery
attribute: battery_level
icon_source: vacuum.valetudo_silenttepidstinkbug.attributes.battery_icon
unit: '%'
....
But as mentioned above (as per the camera need to catch when the vacuum is connected to MQTT and change the label text to docked) it will be possible to to have the Docked/Charging -> Docked (Battery: 100%) transition. I'm confident on your kind understanding, technically the camera suspend the image creation when the vacuum is docked (so the status text become a little more complex).. I would need to move the text refresh in a new thread to do not overload home assistant.. As well if I understand you want to charge the battery and then send the robot to another room for example? this can be done with the automations and the battery level in the camera attributes is updated.
As soon I'm done with it, I will get in contact with you here in GitHub.
from valetudo_vacuum_camera.
does it looks better? ;) next version will have it
from valetudo_vacuum_camera.
And I don't why but also improved the rendering..
from valetudo_vacuum_camera.
Related Issues (20)
- IndexError: list index out of range HOT 13
- Rand256: Auto Zoom and Active Zones HOT 5
- .storage folder valetudo_camera to store the data. HOT 2
- rand256 Vacuums Status Text. HOT 2
- Translate the vacuum text to the current UI language setting. HOT 1
- Rand256 - Problems with Zone and Spot empty coordinates. HOT 19
- migration broken since last release HOT 20
- Incompatible with HA 2024.4.4
- Deprecated alias Home Assistant 2024.5 HOT 8
- ModuleNotFoundError: No module named 'zlib_ng' HOT 5
- Not precise coordinates for rooms while setting up xiaomi card. HOT 6
- Exception in async_message_received HOT 5
- Repeated Disconnected Entries in the Logs.
- RuntimeWarning: coroutine was never awaited HOT 5
- Calibration Offsets Images Aspect Ratios change.
- Can't change Room color HOT 6
- Problem rendering Japanese/Chinese characters in status text. HOT 8
- Support multiple floors HOT 1
- Rand256 Vacuums not rendered. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valetudo_vacuum_camera.