Comments (7)
Thanks for the report @Cellivar I will check the migration process and correct it in a couple of hours.
I think also there is some adjustment done already and the svg_export is a future that somehow is still under development so.. it should be quite easy to fix.
from valetudo_vacuum_camera.
@Cellivar I just tested the migration process from 1.4.8 to 1.5.7.4 (that I'm going to release in a couple of minutes), the config entry 2.1 can be now converted without any problem to 2.2.
From what version did you start the conversion? Also, if you like this project please consider to star it to get always updated on new evolutions ;)
from valetudo_vacuum_camera.
@Cellivar the version v1.5.7.4 is now released. There is now the auto trim function that should simply the setup of the camera on this newer versions. Of course the colour settings can be.. to be redo.. (if the camera was deleted).
In general this fix the migration issue you kindly reported, anyhow I'm at your disposal for anything else and await your kind confirmation.
from valetudo_vacuum_camera.
@Cellivar added to the pre-release check list a test to avoid this in the future. Thanks once again for the hint.
from valetudo_vacuum_camera.
Wow thank you for the really fast fix! I just applied v1.5.7.4
and can confirm that the reported issue is fixed, however I encountered a new problem.
I previously was running Home Assistant with a limit of 756MB of RAM. After updating to the latest version there's a ~1,400MB spike of memory use during startup, then the system settles down to around 780MB. This is what the chart looks like.
I have some extra space in my cluster so I can work around this problem by increasing the limit, but this is a much higher resting state than before. I don't have time this weekend to test further by enabling and disabling things to confirm that it's definitely this integration.
If you have any suggestions on ways I can help you understand what my system is doing I'm very happy to collect more logs or otherwise. I'm a software developer, but I don't write Python code, so I'm not familiar with those tools :)
from valetudo_vacuum_camera.
@Cellivar any help here is appreciated. I do not know from what version you updated so I can't make a comparison.
Recently I added a couple of new functions (auto-cropping is one of them) and also I wrote a function to check in what room is the robot (those are the biggest change).
The auto trimming of the image as the robot position check at startup uses a little more memory than before but the memory should free after that (except for the buffered base image that isn't redrawn in case the LiDAR detects "new walls").
On the v1.5.8 I plan to keep the memory constant to the minimum after the camera boot(this is what I'm actually checking with the new introduction of the memory limit)
This checks the size of NP array multiplied the number of steps to complete the image (as I'm not sure if Numpy is actually freeing the memory). In reality I'm deleting all unnecessary arrays on the draw functions) that I had to write by my own as per home assistant OS do not support OpenCV.
Any logs from the Camera and details of system where you run HA would be helpful to warrant that this project goes ahead improving. Would you be so kind to open a discussion so that we can trace this please 😉
from valetudo_vacuum_camera.
Camera Memory usage in GB: 0.63, 8.24% of Total. (I have to Camera's on the PI4 and this need to be so 1.2GB peak max on my test environment).
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
- PROXMOX: Memory shortage error -> Rendered image froze HOT 33
- Invalid Calibration Error with any version above 1.5.7.1 HOT 7
- Battery level in the "Vacuum Status" text HOT 10
- 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.