Skip to content

Starting independent task from async

Compare
Choose a tag to compare
@sca075 sca075 released this 20 Jan 14:02

Fix:

  • In order to spawn a task that will not block the current async context, we modified the image update as a task on the event loop. This will then be executed in parallel.
  • A new image option is added (but is currently disabled) to export the SVG of the base layer (floor and walls). This is a patch release.

Note:

  • Current implementation can cause home assistant to do not respond when home assistant is running on systems < of Raspberry PI4
  • To solve the above mentioned limitation (unfortunately HAOS will not support OpenCV), we are currently working to implement python multiprocessing that will distribute the load of the image processing across all available cores. Target is v1.6.0.
  • As usual all test passed before releasing this patch.

Thanks for your kind understanding.