mqtt_vacuum_camera: Proxmox VE: The map fails to update after an unpredictable time interval.

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the problem is already reported

The problem

In a fresh installation of version 1.5.7.1 with the Viomi V7, also known as Mi Robot Vacuum-Mop P, I’m utilizing both ‘Hypfer/lovelace-valetudo-map-card’ and ‘Valetudo Vacuum’s Camera’ in conjunction with ‘lovelace-xiaomi-vacuum-map-card.’ However, I’ve noticed that the map image stops updating pretty randonly(usually within 10 min it stops) when using ‘Valetudo Vacuum’s Camera,’ while the maps from ‘Hypfer/lovelace-valetudo-map-card’ and the Web GUI of Valetudo are functioning as expected.

Toggling any option that restarts the addon in the ‘Configure - Valetudo Camera Options’ workflow gets it working again for a brief period. However, it eventually stops again.

image

What version of an integration has described problem?

1.5.7.1

What was the last working version of an integration?

1.5.7.1

What vacuum model do you have problems with?

Mi Robot Vacuum-Mop P (Viomi v7)

Please firmware installed on your Vacuum.

0047 - Valetudo 2023.12.0

What version of Home Assistant do you use?

2024.1.6

What type of installation are you running?

Home Assistant OS

Camera’s settings.

No response

Logs or Errors shown in the HA snapshots (please enable the Debug Mode)

Updating valetudo_vacuum_camera camera took longer than the scheduled update interval 0:00:03

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 45 (45 by maintainers)

Most upvoted comments

Sorry my late relay @kodbuzz (if you use @ I get notified) … next week I will be aboard for work, and I perfectly understand that we can’t replay immediately… take your time and have a wonderful weekend too. I will keep my ProxMox test instance running and use it to confirm whatever changes will be in the future. Please feel free to open a discussion or issue / proposal at any time and if you wish to contribute to this project, as mentioned… have a look to the translations and commit a jp.json when you can and have time for it, thanks once in again in advance.

@sca075 Hello there, good day! I’ve just submitted two language packs: one for Japanese (jp.json) and another for Taiwanese Mandarin (zh-Hant). I hope I’m not too late. I apologize for not being able to keep up with the topic closely last week, as I was sent to Valencia for work. While it was a wonderful trip overall, I can’t help but wish it was for vacation instead of work.😂

Wishing you a safe and enjoyable journey ahead!👍

@kodbuzz v1.5.8 is now available, hope you will enjoy it at your disposal for any future requirements or ideas. If you wold be so be so kind to translate in Japanese the menus would be really apppriciated. thanks once again for the excellent cooperation.

Sorry for the huge delay, I’ll do my best to address it once I’m back home, starting this coming Sunday. I believe we can figure it out next week. Have a great weekend by thw way!

@kodbuzz https://github.com/sca075/valetudo_vacuum_camera/issues/78 Tests on Promox are passed, I will keep the robot in standby for this time and I still need to enable a couple of thinks like VS code but on issue #78 I did post the link of the procedure I followed for the setup of the VE and also the settings I used to create it… Base Hardware is actually made for OpenSense (Celeron J1900 8GB with 4x GB-LAN) and it connected directly to the main router.

Please note that I give you a sing as soon we are ready to test it and of course, please do not stress on checking daily here… I will use the @ so that if you use github on mobile you will be notified. Thanks once again for you kind availability… I will update in any cases the progress on this issue (just for tracking 😉. Wish you a beautiful weekend.

finally I got running a proxmox instance and I’m setting up home assistant on it… if all goes well soon we can start to work on it 😉 Edit: the laptop were I installed proximox and try to install home assistant isn’ having the VT setting in BIOS so it fails to start the VE. The laptop has also only 2GB memory (it is not okay as proxmox took the 50% of it) = I need to found a different hardware for this to happen. Wont give up (but I need some time for it).

Firstly, I want to extend my apologies for the delay in getting back to you, it was a tough week for me. and once again, thank you for your continued efforts and commitment to resolving this issue, yyour persistence is truly inspiring. Take your time with it as I’m here as a tester whenever you’re ready to proceed. 😃

okay it was just to better understand… I found an old laptop meanwhile and I will setup proxmox on it… will let you know thanks once again 😃

Good evening, I’ve removed the Valetudo Map Card from both Lovelace and HACS, then got HA restarted, and waited for few minutes and sadly, turned out valetudo_vacuum_camera fails eventually as the debug log looks exactly the same like before. Plus I found the entity of the map data source went unavailable just once the system restarts, and it is stable afterwards.

I’m truly sorry to say that despite efforts, the issue persists with either the most recent commit or v1.5.7. I’m beginning to wonder if my case is unique and unrepresentative. If that’s the case, I wouldn’t want to waste your time further on this matter. I’m incredibly grateful for your consistent attention and help!

It is my pleasure to support you, and I really appreciate your efforts too. There are other users using the VE as you do and I will deeply investigate it (this anyway is going to take time as per I will need to setup an environment for the tests) I’m sorry it didn’t work.

De facto you also confirmed that the rendering of the image happened without to influence Home Assistant (and that is already a progress)

Unfortunately the camera as it is structured is relatively heavy to handle on those environments (I did test it on real hardware instead) therefore I’m considering to use an old laptop to setup one VE and proximos to understand this issue at a deeper level.

I’m really grateful to you for the great support and cooperation demonstrated and especially the time you spent on it… this is the kind of cooperation we really need more than just pointing out “that doesn’t work” … I hope soon to arrive to a tested and surely working solution in the next days will let you know when all is ready

Good morning, sorry for the delay. I just updated to the most recent commit, and I believe I may have some interesting discoveries.

According to the debug log, it appears that the addon suddenly returns only the last valid image and continues to do so. Interestingly, around the same time this behavior started, I noticed that the entity of the map data source, in my case ‘camera.valetudo_desertedpalenightingale_map_data,’ went Unavailable for a very brief period, like 1s, since then, the addon stops updating. I’m unsure if these events are somehow related. ^1 Seems not related.

Here comes the debug log, and screenshots.

2024-02-06 10:38:21.982 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] All obstacle positions: []
2024-02-06 10:38:21.982 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculating the hash of the image.
2024-02-06 10:38:21.982 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Frame number 4
2024-02-06 10:38:21.982 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Estimated Margin of Memory usage: 732.4 MiB
2024-02-06 10:38:21.986 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Available memory: 6679.9 MiB
2024-02-06 10:38:21.986 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Copying the array.
2024-02-06 10:38:22.087 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.utils.draweble] Drawing desertedpalenightingale Robot With Angle: 90.0
2024-02-06 10:38:22.088 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto cropping the image with rotation: 0
2024-02-06 10:38:22.088 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim Box data: (1730, 780, 3354, 2239)
2024-02-06 10:38:22.088 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim image size: (1624, 1459)
2024-02-06 10:38:22.256 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera_processing] desertedpalenightingale: Got 1 elements list..
2024-02-06 10:38:22.256 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Image from Json.
2024-02-06 10:38:22.359 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image update complete
2024-02-06 10:38:22.359 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Adjusted desertedpalenightingale: Frame interval: 0.431
2024-02-06 10:38:22.363 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 24.88%
2024-02-06 10:38:22.363 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.69, 8.95% of Total.
2024-02-06 10:38:23.554 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT
2024-02-06 10:38:24.928 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:25.026 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:27.929 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Camera image data update available: True
2024-02-06 10:38:27.980 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Processing valetudo/DesertedPaleNightingale data from MQTT
2024-02-06 10:38:27.981 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] valetudo/DesertedPaleNightingale: Extracting JSON Complete
2024-02-06 10:38:27.986 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Composing the image for the camera.
2024-02-06 10:38:27.986 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Vacuum JSon ID: b6623a3f-17fe-42ea-a77c-95a383a4e65a at Frame 4.
2024-02-06 10:38:27.987 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got zones: {}
2024-02-06 10:38:27.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got virtual walls: []
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got the points in the json: {'robot_position': [{'__class': 'PointMapEntity', 'metaData': {'angle': 90}, 'points': [2305, 2058], 'type': 'robot_position'}], 'charger_location': [{'__class': 'PointMapEntity', 'metaData': {'angle': 180.03806106373668}, 'points': [1981, 2001], 'type': 'charger_location'}]}
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale Position: [('x', 2305), ('y', 2058), ('angle', 90.0), ('in_room', 'リビングルーム')]
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Charger Position: [('x', 1981), ('y', 2001)] of desertedpalenightingale
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] All obstacle positions: []
2024-02-06 10:38:27.989 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculating the hash of the image.
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Frame number 5
2024-02-06 10:38:27.989 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Estimated Margin of Memory usage: 732.4 MiB
2024-02-06 10:38:27.994 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Available memory: 6682.4 MiB
2024-02-06 10:38:27.994 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Copying the array.
2024-02-06 10:38:28.098 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.utils.draweble] Drawing desertedpalenightingale Robot With Angle: 90.0
2024-02-06 10:38:28.099 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto cropping the image with rotation: 0
2024-02-06 10:38:28.099 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim Box data: (1730, 780, 3354, 2239)
2024-02-06 10:38:28.099 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim image size: (1624, 1459)
2024-02-06 10:38:28.272 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera_processing] desertedpalenightingale: Got 1 elements list..
2024-02-06 10:38:28.273 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Image from Json.
2024-02-06 10:38:28.382 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image update complete
2024-02-06 10:38:28.382 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Adjusted desertedpalenightingale: Frame interval: 0.452
2024-02-06 10:38:28.386 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 24.45%
2024-02-06 10:38:28.386 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.69, 8.93% of Total.
2024-02-06 10:38:29.227 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT
2024-02-06 10:38:30.930 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:31.032 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:33.931 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Camera image data update available: True
2024-02-06 10:38:33.934 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Processing valetudo/DesertedPaleNightingale data from MQTT
2024-02-06 10:38:33.936 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] valetudo/DesertedPaleNightingale: Extracting JSON Complete
2024-02-06 10:38:33.985 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Composing the image for the camera.
2024-02-06 10:38:33.985 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Vacuum JSon ID: fab67dce-4ccf-490d-a734-5df77536d37e at Frame 5.
2024-02-06 10:38:33.986 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got zones: {}
2024-02-06 10:38:33.987 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got virtual walls: []
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got the points in the json: {'robot_position': [{'__class': 'PointMapEntity', 'metaData': {'angle': 81}, 'points': [2363, 2064], 'type': 'robot_position'}], 'charger_location': [{'__class': 'PointMapEntity', 'metaData': {'angle': 180.03806106373668}, 'points': [1981, 2001], 'type': 'charger_location'}]}
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale changed room.. searching..
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale not located in any Room
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale Position: [('x', 2363), ('y', 2064), ('angle', 81.0)]
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Charger Position: [('x', 1981), ('y', 2001)] of desertedpalenightingale
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] All obstacle positions: []
2024-02-06 10:38:33.988 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculating the hash of the image.
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Frame number 0
2024-02-06 10:38:33.988 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Estimated Margin of Memory usage: 732.4 MiB
2024-02-06 10:38:33.991 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Available memory: 6675.5 MiB
2024-02-06 10:38:33.991 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Copying the array.
2024-02-06 10:38:34.102 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.utils.draweble] Drawing desertedpalenightingale Robot With Angle: 81.0
2024-02-06 10:38:34.104 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto cropping the image with rotation: 0
2024-02-06 10:38:34.104 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim Box data: (1730, 780, 3354, 2239)
2024-02-06 10:38:34.104 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim image size: (1624, 1459)
2024-02-06 10:38:34.279 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera_processing] desertedpalenightingale: Got 1 elements list..
2024-02-06 10:38:34.280 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Image from Json.
2024-02-06 10:38:34.389 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image update complete
2024-02-06 10:38:34.389 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Adjusted desertedpalenightingale: Frame interval: 0.458
2024-02-06 10:38:34.394 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 25.48%
2024-02-06 10:38:34.394 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.7, 9.0% of Total.
2024-02-06 10:38:36.932 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:37.031 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:37.032 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT
2024-02-06 10:38:39.933 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:40.030 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:42.934 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:43.028 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:45.934 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:46.028 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:48.936 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:49.040 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:51.937 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:52.031 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:54.938 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:55.035 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:38:57.938 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:38:58.035 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:00.939 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:01.036 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:03.940 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:04.035 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:06.940 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:07.036 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:09.941 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:10.038 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:12.943 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:13.037 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:15.953 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:16.052 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:18.953 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:19.049 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:21.955 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:22.050 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:24.955 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:25.052 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:27.955 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:28.078 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:30.956 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:31.051 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:33.957 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:34.051 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:36.957 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:37.059 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:39.959 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:40.056 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:42.959 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:43.053 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:45.960 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:46.054 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:48.961 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:49.055 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:51.962 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:52.057 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:54.962 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:55.067 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:39:57.963 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:39:58.058 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:00.964 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:01.073 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:03.965 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:04.062 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:06.966 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:07.060 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:09.967 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:10.060 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:12.982 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:13.419 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:15.982 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:16.076 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:18.982 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:19.076 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:21.984 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:22.079 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:24.985 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:25.080 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:27.986 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:28.081 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:30.987 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:31.084 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:33.988 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:34.091 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:36.989 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:37.086 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:39.989 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:40.087 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:42.989 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:43.092 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:45.991 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:46.089 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:48.991 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:49.087 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:51.991 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:52.086 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:54.991 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:55.086 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:40:57.992 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:40:58.084 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:00.993 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:01.094 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:03.994 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:04.101 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:06.995 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:07.094 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:09.996 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:10.095 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:12.998 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:13.093 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:16.025 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:16.165 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:19.025 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:19.120 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:22.049 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:22.147 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:25.050 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:25.144 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:28.050 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:28.144 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:31.051 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:31.172 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:34.051 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:34.146 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:37.051 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:37.145 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:40.052 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:40.172 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:43.053 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:43.146 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:46.053 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:46.149 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:49.054 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:49.150 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:52.055 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:52.151 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:55.057 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:55.152 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:41:58.057 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:41:58.157 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:01.058 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:01.155 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:04.059 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:04.154 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:07.060 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:07.159 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:10.061 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:10.156 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:13.062 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:13.156 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:16.078 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:16.188 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:19.078 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:19.177 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.
2024-02-06 10:42:22.079 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Last Image.
2024-02-06 10:42:22.173 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] No MQTT, or CPU usage too high. Returning not updated image.

image Screenshot 2024-02-06 104038

Update1: There’s also a warning in the log besides debug logs:

/config/custom_components/valetudo_vacuum_camera/camera.py:422: SyntaxWarning: “is not” with a literal. Did you mean “!=”? if self._cpu_percent > 100 and self._shared.vacuum_state is not “cleaning”:

Update2: ^1: Just tested another round, and this time it stops updating while the map data source didn’t go unavailable. So, it seems unlikely that they are related.

Update3: I’m gonna rename all my rooms from Japanese to English to see if there were any issues related to codepage traps.

@kodbuzz, Good morning, just for clarity… it looks the calculation of the CPU usage is the guilty part… as well there is a problem that I need to solve to read the snapshot in the www folder if it is there (as per it can be deleted by option). The camera startup message was coming from the this function. Then now… if you would be so kind to test also the new commits I posted few minutes ago at your convenience… In general it should happen the following:

  • The grey image shouldn’t appear anymore.
  • If the memory is above the 100% then the camera show the last image and reset the cpu count (I need to check the docks of PSUTIL as I use this, I think the number of cores are not computed correctly). Although as temporary this should give us an hint if the camera will work on your VE, better than before (I mean no restart of it necessary). Have a wonderful day, and hope this works 😉

Great! But please don’t push yourself too hard. Wishing you a wonderful night!

But now I think I know where is the problem 😉 will work on it and let you know soon

@kodbuzz currently working on it and for the most studding a possible solution. I think from the logs and also our conversation…

  • The camera start after reboot or changing an option… and output an image or grey image?
  • After a while it start to reboot… and this happen as soon the first image is completely draw from what I see…
  • I’m going to publish some modification I made, note that some of the value we played around here are back to default. If you will have the time to check and download directly the main as soon the new code is published (will confirm anyhow).

I did some modification in the camera, so that we do not search the screenshot directly but output the last image grabbed… and also some change on the MQTT part, that I’m currently testing. The next message would be to confirm when all it is okay that you can download the main version.

I will remove anyhow this log entry it is a good catch… privacy is high priority for us…

2024-02-05 16:29:13.624 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.camera_processing] I think we found the issue (security ???) then the component restart when the logger output the rooms attributes. I will remove this line and also I will modify any other specious points… Anyway I need to say we are doing quite a good team work here… thanks a lot for this.

no no, I apologize for the confusion, the <REDACTED> mark was made by me. I commented out my room layout information for privacy concerns, from the logs, left a <REDACTED> there as a place holder.

2024-02-05 16:29:13.624 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.camera_processing] <REDACTED> I think we found the issue (security ???) then the component restart when the logger output the rooms attributes. I will remove this line and also I will modify any other specious points… Anyway I need to say we are doing quite a good team work here… thanks a lot for this.

To try to align with your setup, which doesn’t experience map issues, I attempted to assign 8GB of RAM to the HAOS VM in Proxmox VE (32GB in total on the host machine). I tested both Ballooning=0 and Ballooning=1, but unfortunately, the restart loop issue persists. attaching the log:

2024-02-05 16:28:40.467 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Camera desertedpalenightingale Starting up..
2024-02-05 16:28:50.244 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT
2024-02-05 16:28:50.244 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] valetudo/DesertedPaleNightingale: Received vacuum docked status.
2024-02-05 16:28:50.244 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] valetudo/DesertedPaleNightingale: Received vacuum Error: No error
2024-02-05 16:29:10.814 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Processing valetudo/DesertedPaleNightingale data from MQTT
2024-02-05 16:29:10.816 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] valetudo/DesertedPaleNightingale: Extracting JSON Complete
2024-02-05 16:29:10.858 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Composing the image for the camera.
2024-02-05 16:29:10.858 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Vacuum JSon ID: 70f33eb8-5b42-4789-9a47-d150ba54adc1 at Frame 0.
2024-02-05 16:29:10.863 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got zones: {}
2024-02-05 16:29:10.866 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got virtual walls: []
2024-02-05 16:29:10.868 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Got the points in the json: {'robot_position': [{'__class': 'PointMapEntity', 'metaData': {'angle': 270}, 'points': [1963, 2001], 'type': 'robot_position'}], 'charger_location': [{'__class': 'PointMapEntity', 'metaData': {'angle': 180.006957272999}, 'points': [1978, 2001], 'type': 'charger_location'}]}
2024-02-05 16:29:10.868 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale Position: [('x', 1963), ('y', 2001), ('angle', 270)]
2024-02-05 16:29:10.869 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Charger Position: [('x', 1978), ('y', 2001)] of desertedpalenightingale
2024-02-05 16:29:10.869 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] All obstacle positions: []
2024-02-05 16:29:10.869 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculating the hash of the image.
2024-02-05 16:29:10.869 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Layers to draw: dict_keys(['floor', 'wall', 'segment'])
2024-02-05 16:29:10.869 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Empty image with background color
2024-02-05 16:29:11.010 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Overlapping Layers
2024-02-05 16:29:11.106 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Rooms data extracted!
2024-02-05 16:29:11.107 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale changed room.. searching..
2024-02-05 16:29:11.107 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale is in リビングルーム
2024-02-05 16:29:11.107 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Completed base Layers
2024-02-05 16:29:11.107 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Copying the array.
2024-02-05 16:29:11.154 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Frame number 1
2024-02-05 16:29:11.154 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Estimated Margin of Memory usage: 732.421875 MiB
2024-02-05 16:29:11.204 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Available memory: 6708.2 MiB
2024-02-05 16:29:11.204 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Copying the array.
2024-02-05 16:29:11.908 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT
2024-02-05 16:29:12.453 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.utils.draweble] Drawing desertedpalenightingale Robot With Angle: 90
2024-02-05 16:29:12.464 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto cropping the image with rotation: 0
2024-02-05 16:29:12.465 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Image original size (4000, 4000).
2024-02-05 16:29:13.459 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Found crop max and min values (y,x) (2084, 3204) (930,1880)...
2024-02-05 16:29:13.460 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculated trims coordinates right 3354, bottom 2234, left 1730, up 780.
2024-02-05 16:29:13.460 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Calculated trimmed image width 1624 and height 1454
2024-02-05 16:29:13.460 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim Box data: (1730, 780, 3354, 2234)
2024-02-05 16:29:13.460 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] desertedpalenightingale: Auto Crop and Trim image size: (1624, 1454)
2024-02-05 16:29:13.624 DEBUG (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.camera_processing] <REDACTED>
2024-02-05 16:29:13.624 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.valetudo.hypfer.image_handler] Getting desertedpalenightingale Calibrations points.
2024-02-05 16:29:13.624 INFO (desertedpalenightingale_camera_0) [custom_components.valetudo_vacuum_camera.camera_processing] Suspended the camera data processing for: desertedpalenightingale.
2024-02-05 16:29:13.626 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera_processing] desertedpalenightingale: Got 1 elements list..
2024-02-05 16:29:13.748 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Saved image data from MQTT in desertedpalenightingale.raw!
2024-02-05 16:29:13.766 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Snapshot acquired during docked Vacuum State.
2024-02-05 16:29:13.766 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image update complete
2024-02-05 16:29:13.766 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Adjusted desertedpalenightingale: Frame interval: 2.993
2024-02-05 16:29:13.770 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 26.45%
2024-02-05 16:29:13.770 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.65, 8.36% of Total.
2024-02-05 16:29:40.774 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image
2024-02-05 16:30:10.775 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image
2024-02-05 16:30:10.776 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up ...
2024-02-05 16:30:40.776 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image
2024-02-05 16:30:40.777 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up ...
2024-02-05 16:31:10.778 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image
2024-02-05 16:31:10.779 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up ...

Oh no, it turned gray again just now, with the debug log reads:

2024-02-05 14:51:13.210 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Snapshot acquired during docked Vacuum State. 2024-02-05 14:51:13.210 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image update complete 2024-02-05 14:51:13.210 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] Adjusted desertedpalenightingale: Frame interval: 5.724 2024-02-05 14:51:13.255 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 30.25% 2024-02-05 14:51:13.255 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.59, 15.54% of Total. 2024-02-05 14:51:49.809 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT 2024-02-05 14:51:50.643 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] No data from valetudo/DesertedPaleNightingale or vacuum docked 2024-02-05 14:51:50.692 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image not processed. Returning not updated image. 2024-02-05 14:51:50.741 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 0.0% 2024-02-05 14:51:50.741 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.63, 16.39% of Total. 2024-02-05 14:52:50.643 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT 2024-02-05 14:52:50.663 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] No data from valetudo/DesertedPaleNightingale or vacuum docked 2024-02-05 14:52:50.711 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image not processed. Returning not updated image. 2024-02-05 14:52:50.714 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 27.0% 2024-02-05 14:52:50.715 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.61, 16.06% of Total. 2024-02-05 14:53:51.684 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT 2024-02-05 14:53:53.684 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] No data from valetudo/DesertedPaleNightingale or vacuum docked 2024-02-05 14:53:53.732 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image not processed. Returning not updated image. 2024-02-05 14:53:53.735 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 180.3% 2024-02-05 14:53:53.735 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.62, 16.06% of Total. 2024-02-05 14:54:52.427 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT 2024-02-05 14:54:53.723 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] No data from valetudo/DesertedPaleNightingale or vacuum docked 2024-02-05 14:54:53.771 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image not processed. Returning not updated image. 2024-02-05 14:54:53.774 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 27.23% 2024-02-05 14:54:53.774 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.63, 16.42% of Total. 2024-02-05 14:55:53.135 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] Received valetudo/DesertedPaleNightingale image data from MQTT 2024-02-05 14:55:53.929 INFO (MainThread) [custom_components.valetudo_vacuum_camera.valetudo.MQTT.connector] No data from valetudo/DesertedPaleNightingale or vacuum docked 2024-02-05 14:55:53.981 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Image not processed. Returning not updated image. 2024-02-05 14:55:53.985 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale System CPU usage stat: 0.0% 2024-02-05 14:55:53.986 DEBUG (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale Camera Memory usage in GB: 0.62, 16.2% of Total. 2024-02-05 14:55:56.906 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:55:59.850 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:55:59.851 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:02.851 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:56:02.852 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:05.852 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:56:05.853 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:08.852 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:56:08.853 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:11.880 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:56:11.886 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:14.880 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot image 2024-02-05 14:56:14.881 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] desertedpalenightingale: Starting up … 2024-02-05 14:56:17.881 INFO (MainThread) [custom_components.valetudo_vacuum_camera.camera] /config/www/snapshot_desertedpalenightingale.png: searching Snapshot

After installing v1.5.7.2, the map turned completely gray following the initial reboot of HA. However, it returned to normal after restarting the addon. I plan to conduct a few test runs after the local quiet hours conclude, just a few hours, since unfortunately, the elderly woman who lives downstairs is unwell at home. I hope she recovers soon, and I don’t want to disturb her.

btw, just starred this awesome project! 😃

@kodbuzz in few minutes the v1.5.7.2 should be available please let me know if the issue can be closed 😉 p.s. if you are satisfied please start this project 😃

@kodbuzz I did acknowledge this too, but I didn’t get that message (the reason is that the code did slow down due to the use of GC too often). I’m going to release another version in the next minutes (that should be equal to the 1.5.7 but with some CPU and memory safe guard) for another issue I’m trying to understand… on Intel the update of the image is almost same as the one on the vacuum map… the technology used (java is faster than python) is different so yep there could be some delay but no stop on the rendering… please give me a couple of minutes and we should be ready for fixing this 😉